addObjectAttrs: Set attributes to an object

Description Usage Arguments Value Examples

Description

Set attributes to an object

Usage

1

Arguments

object

Object

...

Named parameters to convert to attributes

replace

Boolean: replace an attribute if already set?

Value

Object with attributes set

Examples

1
2
ll <- list(a="hey", b="there")
psichomics:::addObjectAttrs(ll, "words"=2, "language"="English")

psichomics documentation built on Nov. 8, 2020, 5:44 p.m.