pSIR: Partial Sliced Inverse Regression

Description Usage Arguments Value

View source: R/suffDimReduct2.R

Description

Partial Sliced Inverse Regression

Usage

1
2
3
4
5
6
7
8
pSIR(
  fo,
  cat.fo,
  data,
  slices = 6,
  rank = "all",
  ytype = c("numeric", "categorical")
)

Arguments

fo

model formula

cat.fo

a formula of the form "~categorical" with no left hand side, with the name of the categorical predictor over which partial subspaces will be integrated.

data

a data frame

slices

the number of slices into which the response variable should be split. defaults to 5. for categorical response variables the maximum allowed is the number of response levels minus one. if set above this, it is silently adjusted.

rank

the desired number of sufficient predictors to return. the default is "all".

ytype

either numeric or categorical

Value

an sdr object


abnormally-distributed/cvreg documentation built on May 3, 2020, 3:45 p.m.