feat {oscar}R Documentation

Return named vector of feature indices with a given k that are non-zero

Description

Return named vector of feature indices with a given k that are non-zero

Return named vector of feature indices with a given k that are non-zero

Usage

feat(object, k)

## S4 method for signature 'oscar'
feat(object, k)

Arguments

object

Fit oscar S4-object

k

Cardinality 'k' to extract non-zero features at

Value

Vector of feature indices at cardinality 'k'

Vector of feature indices at cardinality 'k'


[Package oscar version 1.2.1 Index]