
Last chance! 50% off unlimited learning
Sale ends in
The names
function provide a transparent way to access the names of
the parts regardless of the shape of the dataset or data item.
# S3 method for acomp
names(x)
# S3 method for rcomp
names(x)
# S3 method for aplus
names(x)
# S3 method for rplus
names(x)
# S3 method for rmult
names(x)
# S3 method for ccomp
names(x)
# S3 method for acomp
names(x) <- value
# S3 method for rcomp
names(x) <- value
# S3 method for aplus
names(x) <- value
# S3 method for rplus
names(x) <- value
# S3 method for rmult
names(x) <- value
# S3 method for ccomp
names(x) <- value
an amount/amount dataset
the new names of the parts
a character vector giving the names of the parts
# NOT RUN {
data(SimulatedAmounts)
tmp <- acomp(sa.lognormals)
names(tmp)
names(tmp) <- c("x","y","z")
tmp
# }
Run the code above in your browser using DataLab