Description Usage Arguments Value See Also Examples
View source: R/generate_plot.R
This function plots previously created data.
1 2 3 4 5 6 7 8 | generate_plot(
df,
file_name,
polar,
filetype,
color = "black",
background_color = "white"
)
|
df |
the data frame created with 'generate_data()' |
file_name |
filetype of the final image. Default is 'png', for other options see the 'devics' argument in 'gggplot::gsave()' |
polar |
do you want to use a polar coordinate system? The default is a cartesian coordinate system. |
filetype |
set the file type for the image |
color |
color of the points. default is black |
background_color |
background color of the plaut. default is white. |
a png file
generate_data
where the data is created
1 | generate_plot(df, file_name, polar = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.