This Rpackage analyses the scores of students from the course "Introduction to Physics", by defining the average score registered as well as the median and the mode but also more detailed statistical parameters as standard deviation, skewnees and kurtosis. It provides a plot of score occurrences. Moreover it defines empirical distribution to fit the data.
#install the R package "devtools"
devtools::install_github('unimi-dse/b07f851f')
#Load Rmidterm package
require(Rmidterm)
Use the following function to plot scores frequencies and grades with different colors
#get plot
gradePlot()
Use the following function to get a report with the average and median score registered as well as the mode
#get basic statistic report
gradesAnalysis()
Use the following function to get a more detailed statistic report
#get detailed statistic report
descriptiveStats()
Use the following function to get empirical distribution to fit data
#get empirical distribution
gradesEmpDistr()
This package contains three more exported functions, which can be used to retrieve average, mode and median singularly
R
averageScore()
This function computes the average score
R
medianScore()
This function computes the median score
R
modeScore()
This function computes the mode score
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.