Description Usage Arguments Value Warning See Also
These functions allow converting models that inherit from the
tskrr
and
tskrrTune
class into each other,
keeping track of whether the model is homogeneous or heterogeneous.
The dots argument allows specifying values for possible extra slots
when converting from tskrr
to tskrrTune
.
More information on these slots can be found
on the help page of tskrrTune
.
These functions are not exported.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | as_tuned(x, ...)
as_tskrr(x, ...)
## S4 method for signature 'tskrrHomogeneous'
as_tuned(x, ...)
## S4 method for signature 'tskrrHeterogeneous'
as_tuned(x, ...)
## S4 method for signature 'tskrrTune'
as_tskrr(x)
## S4 method for signature 'tskrrImpute'
as_tskrr(x)
## S4 method for signature 'tskrr'
as_tskrr(x)
|
x |
a model of class |
... |
values for the extra slots defined by
the class |
For as_tuned
:
a tskrrTune
object of
the proper class (homogeneous or heterogeneous)
For as_tskrr
: an object of class
tskrrHomogeneous
or
tskrrHeterogeneous
depending
on whether the original object was homogeneous or heterogeneous.
This functions do NOT tune a model. they are used internally to make the connection between both types in the methods.
tune
for actually tuning a model.
tskrrTune
for
names and possible values of the slots passed through
...
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.