Rogue Scholar Beiträge

language
Veröffentlicht in rOpenSci - open tools for open science

I really enjoy using targets for all of my data analysis projects, especially because it helps me structure all of the projects nicely in the same folder.For targets projects, I often produce several figures using ggplot2.However, there are no formal recommendations for saving ggplot2 objects (as opposed to static images) in a targets workflow.

Veröffentlicht in rOpenSci - open tools for open science
Autor Matt Sundquist

Editor’s note: This is a guest post by Matt Sundquist from Plot.ly. Ggplotly and Plotly’s R API let you make ggplot2 plots, add py$ggplotly(), and make your plots interactive, online, and drawn with D3. Let’s make some.1. Getting Started and Examples Here is Fisher’s iris data.library("ggplot2")ggiris <- qplot(Petal.Width, Sepal.Length, data = iris, color = Species)print(ggiris) Let’s make it in Plotly.