Small utilities for ragged objects
ragged.Rd
Small utilities for ragged objects. Modify the elements of raggedCoef objects, extract them as a vector.
Arguments
- rag
the
raggedCoef
object to be modified.- v
vector of values to replace the old ones.
- x
a
raggedCoef
object.
Details
An error will occur if the length of v
is not equal to
sum(rag@p)
.
rag_modify
is, in a sense, the inverse of ragged2vec
.