Description Usage Arguments Value Examples
This functions extracts the fitted predictions from a
tskrr
object or an object
inheriting from that class. The xnet
package provides an S4 generic for the function
fitted
from the package stats
,
and a method for tskrr
objects.
1 2 3 4 5 6 7 8 9 10 11 |
object |
an object for which the extraction of model fitted values is meaningful. |
labels |
a logical value indicating whether the labels should be shown. Defaults to TRUE |
... |
arguments passed to or from other methods. |
a numeric matrix with the predictions
1 2 3 4 | data(drugtarget)
mod <- tskrr(drugTargetInteraction, targetSim, drugSim)
pred <- fitted(mod)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.