This is the readme file for the R package created for Assignment 3.2R.2. It contains function make_art. The function generates a random artistic plot using geom_point (ggplot2) and viridis colours. The function takes an optional seed argument, which sets the seed for local variables.
Use the package devtools to install the Assignment32RPackage2XAV package.
install.packages("devtools")
library(devtools)
install_github("Xanthippi-A/Assignment32RPackage2XAV")
library(Assignment32RPackage2XAV)make_art(seed)Optional number vector defining a seed. The seed is used when sampling for local variables.
## Generate an image with a user defined seed
make_art(555)
## Generate an image using a random seed
make_art()