Learn R Programming

quanteda (version 2.1.2)

create: Function to assign multiple slots to a S4 object

Description

Function to assign multiple slots to a S4 object

Usage

create(x, what, attrs = NULL, overwrite_attributes = FALSE, ...)

Arguments

x

an underlying R object of a new object

attrs

attributes of a new object

overwrite_attributes

overwrite attributes of the input object, if TRUE

exceptions

slots to ignore

value

a list of attributes extracted by attributes()