Description Usage Arguments Value Examples
View source: R/kfold_xval_charts.R
A graphic for visualising the true class and the predicted class of samples in all groups for all cross-validation folds.
1 | kfoldxcv_grid(factor_name, level, ...)
|
factor_name |
(character) The name of a sample-meta column to use. |
level |
(character) The level/group to plot. |
... |
Additional slots and values passed to |
A kfoldxcv_grid
object.
1 2 3 4 5 6 7 | D = iris_DatasetExperiment()
I = kfold_xval(factor_name='Species') *
(mean_centre() + PLSDA(factor_name='Species'))
I = run(I,D,balanced_accuracy())
C = kfoldxcv_grid(factor_name='Species',level='setosa')
chart_plot(C,I)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.