Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Вивчайте Challenge: Export and Share Your Work | Reporting and Communicating Insights
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
Visualization and Reporting with R

bookChallenge: Export and Share Your Work

Завдання

Swipe to start coding

Create a visualization using ggplot2 with a dataset of your choice (for example, use the built-in iris dataset or another dataset you prefer).

  • Build any plot using ggplot2 and assign it to the variable p;
  • Export your plot to a PNG file named custom_plot.png with a width of 5 inches, height of 4 inches, and resolution of 250 dpi;
  • Export your plot to a PDF file named custom_plot.pdf with a width of 5 inches and height of 4 inches;
  • Ensure both files are created in your working directory.

Рішення

Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 3. Розділ 6
single

single

Запитати АІ

expand

Запитати АІ

ChatGPT

Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат

close

bookChallenge: Export and Share Your Work

Свайпніть щоб показати меню

Завдання

Swipe to start coding

Create a visualization using ggplot2 with a dataset of your choice (for example, use the built-in iris dataset or another dataset you prefer).

  • Build any plot using ggplot2 and assign it to the variable p;
  • Export your plot to a PNG file named custom_plot.png with a width of 5 inches, height of 4 inches, and resolution of 250 dpi;
  • Export your plot to a PDF file named custom_plot.pdf with a width of 5 inches and height of 4 inches;
  • Ensure both files are created in your working directory.

Рішення

Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 3. Розділ 6
single

single

some-alt