get8daf: returns the data frame associated to a /daf/

Description Usage Arguments Details Value

View source: R/f1.rbsb2.code.r

Description

Returns the data frame associated to a /daf/. The row numbers can be choosen with wh.

Usage

1
get8daf(daf, wh=0, strict=FALSE, check=TRUE)

Arguments

daf

The /daf/ to be read.

wh

numeric giving the numbers of the observations to be read. Zero means all observations.

strict

When TRUE a fatal error is issued if some asked observations does not exist. If not the present ones are returned.

check

Must the /daf/ object be checked?

Details

According to daf@what a different action is performed to get the data frame:

f

The named daf@valu function is used without argument.

d

The named daf@valu data frame is used.

t

The named daf@valu file is read with read.table.

c

The named daf@valu file is read with read.csv.

c2

The named daf@valu file is read with read.csv2.

For t, c or c2 cases, header=TRUE and comment.char='#'.

Value

a data frame


rbsb documentation built on May 2, 2019, 4:41 p.m.

Related to get8daf in rbsb...