Description Usage Arguments Details Author(s) See Also Examples
Performs read.table of dataset without typing the URL.
1 | read.table2(file.name, course.num=course.number, na.strings=".", ...)
|
file.name |
The file name in character format without the URL. |
course.num |
The course number in character or numeric format, where |
na.strings |
Character vector. Elements of this vector are to be interpreted as missing |
... |
Optional arguments to be passed to the |
The datasets are available on the author's website, http://educ.jmu.edu/~garrenst.
The global variable course.number
may be entered as the value of the second argument, course.num
, in function read.table2
.
Steven T. Garren, James Madison University, Harrisonburg, Virginia, USA
read.table
and scan2
1 2 3 4 5 | # The following two commands, when uncommented, are equivalent.
# read.table2( "ex6.1.txt", 321, header=TRUE )
# read.table( "http://educ.jmu.edu/~garrenst/math321.dir/datasets/ex6.1.txt", header=TRUE )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.