Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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("<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

Respondent-Driven Sampling

v0.9-3
LGPL-2.1
Authors
Mark S. Handcock [aut, cre], Krista J. Gile [aut], Ian E. Fellows [aut], W. Whipple Neely [aut]
Initial release
2021-03-11

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.