read.table2 {jmuOutlier}R Documentation

Reads Tables from Author's Website

Description

Performs read.table of dataset without typing the URL.

Usage

 read.table2(file.name, course.num=course.number, na.strings=".", ...) 

Arguments

file.name

The file name in character format without the URL.

course.num

The course number in character or numeric format, where course.number is a global variable.

na.strings

Character vector. Elements of this vector are to be interpreted as missing NA values.

...

Optional arguments to be passed to the read.table function.

Details

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.

Author(s)

Steven T. Garren, James Madison University, Harrisonburg, Virginia, USA

See Also

read.table and scan2

Examples

# 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 )

[Package jmuOutlier version 2.2 Index]