Last chance! 50% off unlimited learning
Sale ends in
Adds attributes(x)[["seriesname"]]
attribute to a
data.frame
.
seriesname(x, name)
A data.frame
to add a seriesname
attribute (i.e., attributes(x)[["seriesname"]]
)
A name to assign to attributes(x)[["seriesname"]]
.
Returns a data.frame
with a
attributes(x)[["seriesname"]]
assigned.
# NOT RUN {
seriesname(mtcars, "Cars")
attributes(seriesname(mtcars, "Cars"))
# }
Run the code above in your browser using DataLab