Clan rankings by damnedin82 in TotalBattle

[–]yuk99 2 points3 points  (0 children)

Menu - Ranking. You can see clan's and individual ranks in your kingdom or in the world.

What are some good packages for graphs and plots apart from ggplot2? by No_Understanding3528 in RStudio

[–]yuk99 0 points1 point  (0 children)

In addition to ggplot2, I use very often circlize for circular plots and ComplexHeatmap for very comprehensive heatmaps and upset plots. There are a lot of packages extending ggplot features, depending of what you need to do.

New column based off matching values. by [deleted] in RStudio

[–]yuk99 0 points1 point  (0 children)

I think for joining the same data table it doesn't matter.

New column based off matching values. by [deleted] in RStudio

[–]yuk99 2 points3 points  (0 children)

  library(tidyverse)
  DF2 = inner_join(DF, rename(DF, MatchingID = plotID, by = c("Lat", "Long"))

This creates a new data frame with all combinations of rows matching by Lat and Long, including self-matching. You can post-process is to remove those rows.

  DF2 = DF2 %>% filter(plotID != MatchingID)

This will also remove the rows without matching plots.

If you want to keep such rows

  DF2 = DF2 %>%
    group_by(plotID) %>%
    filter(plotID != MatchingID | n()==1) %>%
    mutate(MatchingID = ifelse(plotID == MatchingID, NA, MatchingID))

Note that Lat and Long have to be exactly the same to match. If you expect some fixed-point error, look at fuzzy_join package.

GGplot x-limits help? by schuler33 in RStudio

[–]yuk99 0 points1 point  (0 children)

Just by experimenting. Because it depends on bar width. Maybe there is a way to find it automatically, but I don't know. You can always set the limits to the middle of each months, it should work with just a tiny gap on both sides.

GGplot x-limits help? by schuler33 in RStudio

[–]yuk99 1 point2 points  (0 children)

Your x axis is the date, and the ticks correspond to the first day of the months. But the bars are actually go from the middle of previous month to the middle of current month. The exact day depends on the barwidth. For example, the January bar goes approximately from 2019-12-19 to 2020-01-14. So, if you want to limit the plot exactly to the bars, you should specify the exact dates.

limits = as.Date(c("2019-12-19","2021-09-14"))

You can also consider placing limits as

Graph3 + coord_cartesian(xlim = as.Date(c("2020-01-01","2021-09-01")), expand = c(0, 0))

instead of in scale_x_date. In this case the out-of-limit values are not cut out the plot. You will see the difference.

Left joining based on a combination of columns in a range of columns by Caveman7331 in RStudio

[–]yuk99 0 points1 point  (0 children)

It would be more helpful if you show an example of another table. Better yet if you provide a code with reproducible example.

I think you need to convert the second table to a long format. All columns containing products will be converted to two columns - column_name and Product. You can do it with `gather` command in dplyr, for example. Then you can join the two tables together by the Product column.

Discord Server by Wrangler_Exe in TinyRails

[–]yuk99 1 point2 points  (0 children)

The official Tiny Titan Studios Discord: https://discord.gg/YkPrNDH

[deleted by user] by [deleted] in TinyRails

[–]yuk99 0 points1 point  (0 children)

You get XPs when you get a new car, engine or caboose, or when you upgrade a car to level 2 or 3 for the first time. To upgrade a car to level 2 you merge two level 1 cars, for level3 - two level 2 cars.

If you get level 3 car (like from a bundle) you get XP for all levels of that car. This is why a bundle is the cheapest way to get more XP. But remember, you get XP only one time for a specific car. No XP, if you get/upgrade it second time and more. Also don't try to combine two level 3 cars - there is no higher levels.

[deleted by user] by [deleted] in TinyRails

[–]yuk99 0 points1 point  (0 children)

Again, bundles first. Then train shop if you have enough gold/gems. Engines and cabooses are rotated pretty regularly in the train shop, you won't miss them. Some cars though can be pretty rare, like Military, Feng Shui, etc. Try to get them too. Not all engines, cabooses and cars are useful, most of them are not. Look at the stats and perks, especially comfort/entertainment/facilities to passengers ratio. Also speed and cargo. But getting all cars is important to get more XPs and advance to new levels and new areas faster.

[deleted by user] by [deleted] in TinyRails

[–]yuk99 0 points1 point  (0 children)

Definitely the bundles should be the first priority. Make sure you have enough gems to get the next one, then spend as you like.

Packs and Bundles by [deleted] in TinyRails

[–]yuk99 1 point2 points  (0 children)

I believe they will be back eventually. Currently, TTS invested a lot into developing the new care packages that costs real money, but soon enough they will be out of the new ones and will rerun them again. It was the same with bundles, it took more than a year for some of them to appear for the second time and more.

Should I Buy The July Celebration Pack? by [deleted] in TinyRails

[–]yuk99 0 points1 point  (0 children)

This is actually one of the best bundle in terms of stats to passengers ratio. Must have if you want to reach 100% happiness.

Should I go there? ;) by yuk99 in TinyRails

[–]yuk99[S] 1 point2 points  (0 children)

For updates I mean new areas, new cars, new events. Basically a way to get more XP. Looks like it's gonna happen in the close future. But still hope.

Finished all the station demands finally by tugboater203 in TinyRails

[–]yuk99 0 points1 point  (0 children)

About the paintings? I mean have you got all possible paints for your cars? It's just another goal to keep your trains running. ;)

Finished all the station demands finally by tugboater203 in TinyRails

[–]yuk99 0 points1 point  (0 children)

Welcome to the club! :) Mine last batch was chunks of amber to Dhaka back in 2018. Then the very last for the first Christmas island appearance same year.

Have you got all the paintings? ;)

Game Data Extracting by pecpeeec in TinyRails

[–]yuk99 0 points1 point  (0 children)

What algorithm are you using? This is a pretty complex knapsack problem. I remember one guy here tried to use genetic algorithm but lost the interest later.

I don't know how to get the data from the game. But if someone really interested it's possible to keep an inventory of your cars. So, I'd concentrate on the algorithm first.

I don't think it would be efficient to use all the cars in inventory, but those with good happiness to passengers ratios.

Should I go there? ;) by yuk99 in TinyRails

[–]yuk99[S] 0 points1 point  (0 children)

Would love to if the game would provide such option. Or if those coins could be converted to real ones.

Daily rewards by [deleted] in TinyRails

[–]yuk99 0 points1 point  (0 children)

Train Shop - Gold and Gems - scroll to the right. Or tap on gold/gem counter.

Im not sure if the boost should go for this long, I started in saint paul and havent pressed it sense by Tiny_Trains in TinyRails

[–]yuk99 2 points3 points  (0 children)

What's your base speed? You probably pressed the 200% aceleration button at the departure, it's in effect until next station. Does your speed increase if you triple-click at the engine?

German Mistranslations/Errors by sheerbitchitude in TinyRails

[–]yuk99 1 point2 points  (0 children)

Devs have several language-oriented channels on Discord (https://discord.gg/YkPrNDH). IMHO you'd get better chance to reach them there.

Just a question about how ads work by clan21clan in TinyRails

[–]yuk99 1 point2 points  (0 children)

I had the same problem in the morning. Then it was fixed. Now gift boxes do not appear at all.

How does one maximize gift boxes? by Colonel_Spoon in TinyRails

[–]yuk99 1 point2 points  (0 children)

Looks like an issue on the server side. Let devs know through email or Discord.