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 [email protected] a different action is performed to get the data frame:

f

The named [email protected] function is used without argument.

d

The named [email protected] data frame is used.

t

The named [email protected] file is read with read.table.

c

The named [email protected] file is read with read.csv.

c2

The named [email protected] 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 31, 2017, 1:45 a.m.