addObjectAttrs {psichomics} | R Documentation

## Set attributes to an object

### Description

Set attributes to an object

### Usage

    addObjectAttrs(object, ..., replace = TRUE)

### Arguments

`object` | Object
`...` | Named parameters to convert to attributes
`replace` | Boolean: replace an attribute if already set?

### Value

Object with attributes set

### Examples

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

[Package psichomics version 1.16.0 Index]