setData | R Documentation |
Sets the objects slot @data and slot @key_name and makes sure that the key variable exists and is valid.
setData(object, ...)
## S4 method for signature 'AnalysisAspect'
setData(
object,
data,
key_name = NULL,
key_prefix = "id",
meta_names = character(0),
verbose = TRUE
)
## S4 method for signature 'Analysis'
setData(
object,
data,
key_name = NULL,
key_prefix = "id",
meta_names = character(0),
verbose = TRUE
)
object |
Any object for whose class a method has been defined. |
verbose |
Logical. If set to TRUE informative messages regarding the computational progress will be printed. (Warning messages will always be printed.) |
If key_name
is NULL the key variable is constructed
as a combination of the input data.frames rownames and the string
provided with key_prefix
. If the the datas rownames are NULL
or contain "" the rownumbers are used instead. The newly constructed
key variable is named data_ids.
The input object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.