mf.perm.resid: The residual from linear model (mf.resid) and the permuted...

Description Usage Arguments

Description

The residual from linear model (mf.resid) and the permuted one (mf.perm.resid).

Usage

1
2
mf.perm.resid(data = data_long.vs.Jnt, n.perm = 500,
  model = my.model, var = "Visit")

Arguments

data

A dataframe with column of (to be imput to mf.resid function as data_long.vs.Jnt argument)

n.perm

The number of permuted data.

model

A formula for lm() function to calculate residuals.

var

A character vector to specify the categorical variate to differring the residuals.


mrmtshmp/PermResid documentation built on Nov. 4, 2019, 7:35 p.m.