i. Create a stat_pkg.R file within parentdir/R as follows: #' A Simple Statistical Package #' #' This package allows you to calculate the mean, median & standard deviation of a sample dataset. #' @param x numeric vector. #' @keywords stat_pkg #' @export #' @examples #' stat_pkg(x) stat_pkg <- function(x){ mu <- mean(x); med <- median(x); std <- sd(x); cat("Mean = ", mu, "\n", "Median = ", med, "\n", "Standard deviation = ", std, "\n"); }