Explain how to save graphs in R?
Answer / Hirdesh Kumar Bharti
Graphs can be saved in R using the pdf(), jpeg(), png() and postscript() functions to specify the output format. For example, to save a plot as a PNG file, use: png('my_plot.png') before plotting, then dev.off() after finishing.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain how to generate lists in r?
What are r matrices and r matrices functions?
Explain how R programming applied to the real world?
What is the recycling of elements in a vector? Give an example.
What are the steps involved in building and evaluating a linear regression model in r?
What are statistical and programming features of R?
What is inheritance in s3 class?
What is recycling of elements in an r vector? Give an example.
What is principal component analysis and how can you create a pca model in r?
Give an example of 'dreaded for loop'?
What is correlation? How would you measure correlation in r?
What is the function in r?