sub-subset-.decorated: Assign Element of Decorated

Description Usage Arguments Value See Also Examples

Description

Assigns element of decorated, retaining attributes.

Usage

1
2
## S3 replacement method for class 'decorated'
x[[...]] <- value

Arguments

x

decorated

...

passed to next method

Value

decorated

See Also

Other decorated: [.decorated(), [<-.decorated(), [[.decorated(), names<-.decorated()

Examples

1
2
3
4
a <- as_decorated(as.list(setNames(letters[1:3], LETTERS[1:3])))
a[[2]]
a[[2]] <- 'c'
class(a)

yamlet documentation built on July 19, 2021, 1:06 a.m.