Learn R Programming

RDS (version 0.9-9)

read.rdsat: Import data from the 'RDSAT' format as an rds.data.frame

Description

This function imports RDSAT data files as rds.data.frame objects.

Usage

read.rdsat(file, delim = c("", "\t", " ", ","), N = NULL)

Arguments

file

the name of the file which the data are to be read from. If it does not contain an _absolute_ path, the file name is _relative_ to the current working directory, 'getwd()'. Tilde-expansion is performed where supported. As from R 2.10.0 this can be a compressed file (see 'file')

delim

The seperator defining columns. <auto> will guess the delimitor based on the file.

N

The population size (Optional).

Examples

Run this code
fn <- paste0(path.package("RDS"),"/extdata/nyjazz.rdsat")
rd <- read.rdsat(fn)
plot(rd)

Run the code above in your browser using DataLab