docs/functions/get.features.md

get.features

Get features from a SPEARobject.

Description

Get features from a SPEARobject.

Usage

get.features(
  rank = "probability",
  factors = NULL,
  datasets = NULL,
  coefficient.cutoff = 0,
  probability.cutoff = 0.95,
  correlation = "none"
)

Arguments

Argument |Description ------------- |---------------- rank | How to rank features? Defaults to "probability" (joint.probability) followed by projection.coefficient. Can also be "coefficient" (only projection.coefficient magnitude). factors | Which factors to return features for? Accepts integers (i.e. factors = c(1,2,4) or factors = 1) Defaults to NULL (all). datasets | Which datasets? Check names via names(SPEARobject$data$train$Xlist). Defaults to NULL (all) coefficient.cutoff | What projection.coefficient value to use as the cutoff? Defaults to 0 probability.cutoff | What joint.probability value to use as the cutoff? Defaults to .95 correlation | Return columns with factor score correlations? Accepts "spearman", "pearson", "kendall", or "none" (default)



jgygi/SPEAR documentation built on July 5, 2023, 5:35 p.m.