This vignette contains a brief overview of the package created 'AssignmentR' as required by the MAP536 course. The package itself contains the various functions that we covered thoroughout the course so far.
This package includes the following functions:
The draw_a_name
function allows the user to plot the number of babies born in a given year with a specified name and gender in France. The data used in this package comes from the package 'prenoms', the creator of this package do not claim ownership of the the aforementioned package.
Similar to the function above, this function allows the user to plot the same graph for multiple names in the same graph, however, it should be noted that the gender argument has been dropped in this function. See example below:
library(AssignmentR) draw_names(c("Diane", "Vincent"))
#library(AssignmentR) #draw_names(c("Diane", "Vincent"))
The multi_excel function allows the user to read all the sheets in an excel file with the extention .xls or .xlsx.
Example:
#multi_excel ("../directory/to/file.xlsx")
This function allows the user to load all the file with the extension .csv in a specified folder.
Example:
#my_csv_reader("../directory/to/folder")
This function allows the user to save a data frame objective in a specified location in the .csv format.
Example:
#save_as_csv("../directory/to/output/file.csv")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.