View source: R/plot.vimp.rfcca.R

plot.vimp.rfcca | R Documentation |

Plots variable importance measures (VIMP) for subject-related z-variables for training data.

## S3 method for class 'rfcca' plot.vimp(x, sort = TRUE, ndisp = NULL, ...)

`x` |
An object of class (rfcca,grow) or (rfcca,predict). |

`sort` |
Should the z-variables be sorted according to their variable
importance measures in the plot? The default is |

`ndisp` |
Number of z-variables to display in the plot. If |

`...` |
Optional arguments to be passed to other methods. |

Invisibly, the variable importance measures that were plotted.

`vimp.rfcca`

## load generated example data data(data, package = "RFCCA") set.seed(2345) ## train rfcca rfcca.obj <- rfcca(X = data$X, Y = data$Y, Z = data$Z, ntree = 100, importance = TRUE) ## plot vimp plot.vimp(rfcca.obj)

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.