Statistics with R
- When encounter "Error: could not find function"
- We can install the related package
install.packages("thePackage") - Load the required package
library(thePackage) - If not sure which package is related to the function, use
help.search("some.function")or??some.functionorRSiteSearch("some.function") - Common library used
library(UsingR)library(reshape)library(ggplot2)library(manipulate)
- Sample Data
- http://archive.ics.uci.edu/ml/datasets.html
Comments