Thanks for your great response and good to hear that the video helped you out! May you want to subscribe the channel to be better prepared next time ;)
Thank you so much. This video was very helpful. Can I just ask, how did you load up your dataset with the x and y column in R?, I tried it and it didn’t work for me. I’m very new to R and I want to know as much as possible. Thanks.
Hi Ifeanyi, thanks a lot for the kind words, glad you like my tutorials! Regarding your question: You can create this data set by running the first lines of code, i.e. data <- data.frame(x = LETTERS[1:5], # Create example data y = c(4, 2, 7, 3, 5)) Afterwards, the new data set with x and y has been created. Regards, Joachim
Hey Maher, thanks for the interesting question! Unfortunately, I have no experience with the filled.contour function yet, but this might be an interesting topic for a future tutorial.
I think the simplest way to do this is to specify six different colors using a hex color code picker (see here: htmlcolorcodes.com/color-picker/). This way, you can use slightly darker colors to create a shading effect. Regards, Joachim
@@StatisticsGlobe thank u for the tip; I was thinking there might be a solution to use regardless of the number of colours, it would self generate if it needs more
Maybe it could be useful to you to create your own range of colors using colorRampPalette? Have a look here for more details: statisticsglobe.com/create-color-range-between-two-colors-in-r
THANK YOU! I was almost dead trying to change colors of particular bars and thank god i saw your video! You are awesome!
Thanks for your great response and good to hear that the video helped you out! May you want to subscribe the channel to be better prepared next time ;)
Thank you for this video! This is exactly what I was looking for. My plot looks so much better 🥲
Glad it was helpful Ruby, thanks for the comment!
Thank you so much. This video was very helpful. Can I just ask, how did you load up your dataset with the x and y column in R?, I tried it and it didn’t work for me.
I’m very new to R and I want to know as much as possible. Thanks.
Hi Ifeanyi, thanks a lot for the kind words, glad you like my tutorials! Regarding your question: You can create this data set by running the first lines of code, i.e.
data <- data.frame(x = LETTERS[1:5], # Create example data
y = c(4, 2, 7, 3, 5))
Afterwards, the new data set with x and y has been created. Regards, Joachim
Hi, How to specify a nonlinear colorbar with equal spaces using filled.contour function?
Hey Maher, thanks for the interesting question! Unfortunately, I have no experience with the filled.contour function yet, but this might be an interesting topic for a future tutorial.
@@StatisticsGlobe Thanks. I've been searching, but no luck finding an answer to that 🙂. It would be great if you can help soon.
now if you provided in this function 3 colours and you have say 6 bars; is there a way to let are make different shades of the provided colours?
I think the simplest way to do this is to specify six different colors using a hex color code picker (see here: htmlcolorcodes.com/color-picker/). This way, you can use slightly darker colors to create a shading effect. Regards, Joachim
@@StatisticsGlobe thank u for the tip; I was thinking there might be a solution to use regardless of the number of colours, it would self generate if it needs more
Maybe it could be useful to you to create your own range of colors using colorRampPalette? Have a look here for more details: statisticsglobe.com/create-color-range-between-two-colors-in-r
I am using red for red colour in bar graph fill, but its not coming red, kindly help
Hello,
Could you please share your code with us?
Regards,
Cansu