If you want to download the R code from this video you can do this here in my free skool community: www.skool.com/data-analysis-with-r-6607/classroom/daa88316?md=ec775c430e6644c39bb567e32a6ae7b8
Excellent question because it is easy to answer :) You can use the png() function from the grDevices package. Try ?png() You can specify the width, height, res (resolution) and filename there. For example: png(file = "C:/Documents/radarchart.png, width = 1920, height=1080, res =180); radarchart(data);dev.off() With the png() function the empty png-file is created and you basically fill it with your chart as you are used to automatically. the dev.off() closes and saves the file. Give it a try!
he data must be given as dataframe. The data must be given as dataframe. The data must be given as dataframe. The data must be given as dataframe. The data must be given as dataframe. The data must be given as dataframe- pleaase help me fix it
Use the str() function on your data object, like "str(my_data)" and tell me what it says. It probably is not a data.frame. But you can turn it into a data.frame with the "as.data.frame(my_data)" or simply "data.frame(my_data)" functions.
If you want to download the R code from this video you can do this here in my free skool community:
www.skool.com/data-analysis-with-r-6607/classroom/daa88316?md=ec775c430e6644c39bb567e32a6ae7b8
Best video on the topic. Ultra helpful. Thanks for the amazing content
This is really helpful, thank you very much!
Hi Victor, glad to hear that. Comments like yours are a great motivation for me to continue and produce more videos.
Thanks for the video. Is there any way to move the positions of the variables labels? long names do not fit well.
Thanks bro!! How could you export png using foreach or a similar function? Cheers from Mexico!
Excellent question because it is easy to answer :)
You can use the png() function from the grDevices package. Try ?png()
You can specify the width, height, res (resolution) and filename there. For example:
png(file = "C:/Documents/radarchart.png, width = 1920, height=1080, res =180); radarchart(data);dev.off()
With the png() function the empty png-file is created and you basically fill it with your chart as you are used to automatically. the dev.off() closes and saves the file. Give it a try!
@@TheDataDigest
It really helped~~~ thank you
Glad to hear that!
he data must be given as dataframe.
The data must be given as dataframe.
The data must be given as dataframe.
The data must be given as dataframe.
The data must be given as dataframe.
The data must be given as dataframe- pleaase help me fix it
Use the str() function on your data object, like "str(my_data)" and tell me what it says. It probably is not a data.frame. But you can turn it into a data.frame with the "as.data.frame(my_data)" or simply "data.frame(my_data)" functions.