Set values is an ldat object
# S3 method for ldat
lset(x, index = NULL, values, range = NULL, ...)
an object of type ldat
a numeric of logical vector with indices at which the values should be set.
a vector with new values.
a numeric vector of length 2 specifying a range of elements
to select. Specify either index
or range
.
ignored.
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
.