Function to assign multiple slots to a S4 object
create(x, what, attrs = NULL, overwrite_attributes = FALSE, ...)
x | an underlying R object of a new object |
---|---|
attrs | attributes of a new object |
overwrite_attributes | overwrite attributes of the input object, if |
exceptions | slots to ignore |
value | a list of attributes extracted by attributes() |