Description Usage Arguments Value Examples
This is a function for computing the mean values for each exam date per semester over all or some chosen semesters.
1 2 3 4 5 | date_compare(faculty_nr, module_nr, semester_vector, download, FacData)
## Default method:
date_compare(faculty_nr, module_nr, semester_vector="all", download=FALSE, FacData=NA)
|
faculty_nr |
A numeric value corresponding to a certain faculty. See the function faculty_data to get all faculty numbers. |
module_nr |
A numeric value corresponding to a certain module. See the function list_modules to get all module numbers |
semester_vector |
A character vector vector containing the semester names in the form "WSYY/YY" for winter semester and "SoSeYY" for summer semester (e.g. semester_vector <- c("WS17/18", "SoSe18"). By default all semesters are considered. |
download |
Logical. If TRUE the corresponding data is downloaded and used for computing the mean values for each exam date per semester. If False the faculty data has to be provided using the function faculty_down in the first place. |
FacData |
FacData A List containing the faculty or module data. Typically produced by the function faculty_down. |
The Return is an object of class "date_compare" and contains the information of the number exam date (Date 1, Date 2, etc.) of the chosen module and the mean values of the corresponding dates over the chosen semesters.
1 2 3 4 5 6 7 8 9 10 11 12 | # Compute the mean values for the different exam dates within a semester for the introductory
# course in statistics at the economic faculty over all semesters.
faculty_data() # the required faculty-number is 12
list_modules(12) # the required module-number is 109
# Computing the mean for the economic faculty without providing any data in advance
date_compare(faculty_nr = 12, module_nr = 109, download = TRUE)
# Downloading the data for economic faculty using the faculty_down-function
economic_data <- faculty_down(12)
date_compare(faculty_nr = 12, module_nr = 109, download = FALSE, FacData = economic_data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.