lset.ldat: Set values is an ldat object

Description Usage Arguments Details

View source: R/lset_ldat.R

Description

Set values is an ldat object

Usage

1
2
## S3 method for class 'ldat'
lset(x, index = NULL, values, range = NULL, ...)

Arguments

x

an object of type ldat

index

a numeric of logical vector with indices at which the values should be set.

values

a vector with new values.

range

a numeric vector of length 2 specifying a range of elements to select. Specify either index or range.

...

ignored.

Details

When values is a vector the values are assigned to each column in x. Otherwise, vectors is assumed to be a list or data.frame of the same length as x. Each element of values is assigned to the corresponding element of x.


ldat documentation built on March 26, 2020, 7:59 p.m.

Related to lset.ldat in ldat...