Functions
Text File Installation Instructions
The "functions.txt" file contains a number of R functions that we have written to calculate certain entities not easily found in R. For example, there is a function to calculate the mode, population variance, the average deviation, skewness and kurtosis along with their respective standard errors, etc.
The file should be copied onto your hard drive. If you are using a PC, we recommend that you create a folder named "R" on your C drive. Then you can load the functions and make them available using the command:
source("c:/R/functions.txt")
at the beginning of your script.
Download
Note: To save the file below, please right click on the link and choose 'Save Target As' or 'Save Link As' depending on your browser. Clicking on the link itself may cause the file to open, without being saved.