R/ScoreDensityForStudent.R

Defines functions ScoreDensityForStudent

Documented in ScoreDensityForStudent

#' ScoreDensityForStudent
#'
#' This function reads the data into the dataframe and calculates the mean, the variance, the min/max score for every student
#' @return plot of the score density for every student
#' @export
#' @importFrom utils read.csv
#' @importFrom plotly plot_ly
#'
ScoreDensityForStudent <- function(){

  DfDSE <- MyPackage::mydata
  Students<-unique(DfDSE$Student)

  p <- plot_ly(ggplot2::diamonds, y = ~DfDSE$Score, color = ~DfDSE$Student, type = "box")

  return(p)

}
CorradoDeFusco/RPackage documentation built on Feb. 16, 2020, 4:38 a.m.