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
value
a list of attributes extracted by attributes()