create: Function to assign multiple slots to a S4 object

Description Usage Arguments

View source: R/utils.R

Description

Function to assign multiple slots to a S4 object

Usage

1
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()


koheiw/quanteda.core documentation built on Sept. 21, 2020, 3:44 p.m.