Thanks for the comment. Before the video I had not used geom_path() and geom_step(), so I learn quite a bit in the creation and I am glad that other people find it useful.
You can always add geom_text() with specific x- and y-values and whatever label = "example" you wish. I recommend using the base functions which.max() and which.min(). So if you have two vectors with y_values as dates and x_values you want to find the min and max you could do: + geom_text(mapping(aes(x=min(x_values), y=y_values[which.min(x_values)]), label = "this is the minimum"), and then repeat the same for max values.
They don't know how much content you covered. Amazing
Well thank you. And I already have ideas for the next 30 videos :) We will see what the future brings.
Very nice work
Thanks
Thanks for the comment. Before the video I had not used geom_path() and geom_step(), so I learn quite a bit in the creation and I am glad that other people find it useful.
Nice video. But how to label the max and the min values in the line plot?
You can always add geom_text() with specific x- and y-values and whatever label = "example" you wish. I recommend using the base functions which.max() and which.min(). So if you have two vectors with y_values as dates and x_values you want to find the min and max you could do:
+ geom_text(mapping(aes(x=min(x_values), y=y_values[which.min(x_values)]), label = "this is the minimum"),
and then repeat the same for max values.
Sir put more vedio regulaely
That's the plan! At least weekly uploads this year. Hopefully even more in the future.