getTopFeatures {PDATK} | R Documentation

## Get the Top Predictive Features from an S4 Object

### Description

Get the Top Predictive Features from an S4 Object

### Usage

    getTopFeatures(object, ...)

### Arguments

`object` | An `S4` object to get top scoring features from.
`...` | Allow additional parameters to be defined for this generic.

### Value

A `character` vector of top predictive features.

### Examples

    data(sampleTrainedPCOSPmodel)

    # Get the top features
    topFeatures <- getTopFeatures(sampleTrainedPCOSPmodel, numModels=2)

[Package PDATK version 1.2.0 Index]