ez.maxnp: maximize np by checking recursively various variable...

View source: R/stats.R

ez.maxnpR Documentation

maximize np by checking recursively various variable combinations (PCA trick)

Description

maximize np by checking recursively various variable combinations (PCA trick)

Usage

ez.maxnp(
  df,
  targetVar = NULL,
  fixedVars = NULL,
  point.size = 10,
  point.shape = 16,
  lab.size = 18,
  text.size = 16
)

Arguments

targetVar

a single outcome var, will calculate its mean in each completed subsamples

fixedVars

vars you must have remained. (does not matter if it includes targetVar or not)

Value

returns a new data frame


jerryzhujian9/zmisc documentation built on March 9, 2024, 12:49 a.m.