Description Usage Arguments Value Examples
This is a function for computing the mean value of a faculty over all semesters.
1 2 3 4 5 | faculty_mean(faculty_nr, download, FacData)
## Default method:
faculty_mean(faculty_nr, download=FALSE, FacData=NA)
|
faculty_nr |
A numeric value corresponding to a certain faculty. See the function faculty_data to get all faculty numbers. |
download |
Logical. If TRUE the corresponding data is downloaded and used for computing the faculty mean value. If False the faculty data has to be provided using the function faculty_down in the first place. |
FacData |
A List containing the faculty data. Typically produced by the function faculty_down. |
The Return is an object of class "fac_mean" and contains the mean value of the faculty and the faculty-name.
1 2 3 4 5 6 | # Computing the mean for the economic faculty without providing any data in advance
faculty_mean(12, download = TRUE)
# Downloading the data for economic faculty using the faculty_down-function
economic_data <- faculty_down(12)
faculty_mean(12, download = FALSE, FacData = economic_data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.