CourseData.Rd
Wrapper for didactical datasets used in statistic courses.
CourseData(name, url = NULL, header = TRUE, sep = ";", ...)
the name of the file, usually without extension.
a url where the data reside, should have the form "http://www.mysite.net/data/"
. Defaults to the data folder on my site.
a logical value indicating whether the file contains the names of the variables as its first line. If missing, the value is determined from the file format: header is set to TRUE
if and only if the first row contains one fewer field than the number of columns.
the field separator character. Values on each line of the file are separated by this character. Default is - unlike in read.table
- ";" instead of 'white space'.
the dots are sent to read.table
.
A data.frame
containing a representation of the data in the file.
if (FALSE) { # \dontrun{
d.farm <- CourseData("farmer")
} # }