create: utility function to create a object with new set of attributes
Description
utility function to create a object with new set of attributes
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