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 plotly plot_ly
#'
ScoreDensityForStudent <- function(){

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

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

  return(p)

}
unimi-dse/c34a5d0e documentation built on Feb. 16, 2020, 5:45 a.m.