πŸ“Š R Programming
Q. If I want to save a plot to a PDF file, which of the following is a correct way of doing that?
  • (A) Construct the plot on the screen device and then copy it to a PDF file with dev.copy2pdf()
  • (B) Construct the plot on the PNG device with png(), then copy it to a PDF with dev.copy2pdf()
  • (C) Open the PostScript device with postscript(), construct the plot, then close the device with dev.off()
  • (D) Open the screen device with quartz(), construct the plot, and then close the device with dev.off()
πŸ’¬ Discuss
βœ… Correct Answer: (A) Construct the plot on the screen device and then copy it to a PDF file with dev.copy2pdf()

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
87
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
90%
Success Rate