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

View source: R/data-import.R

read.rdsatR Documentation

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("<auto>", "\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

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

RDS documentation built on Sept. 11, 2024, 8:13 p.m.