CourseData | R Documentation |
Wrapper for didactical datasets used in statistic courses.
CourseData(name, url = NULL, header = TRUE, sep = ";", ...)
name |
the name of the file, usually without extension. |
url |
a url where the data reside, should have the form |
header |
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 |
sep |
the field separator character. Values on each line of the file are separated by this character. Default is - unlike in |
... |
the dots are sent to |
A data.frame
containing a representation of the data in the file.
Andri Signorell <andri@signorell.net>
read.table
## Not run:
d.farm <- CourseData("farmer")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.