getLmeResiduals: getLmeResiduals

Description Usage Arguments Value

View source: R/varianceExplained.R

Description

Returns the residuals of x explained by each variable (column of m) using mixed models.

Usage

1
getLmeResiduals(x, m, form, variables = NULL)

Arguments

x

a numeric vector (expression values to be explained)

m

a data.frame with rows corresponding to each value of x, and columns indicating the values of explanatory variables.

form

Specify the formula to use (required).

variables

Character vector containing the names of the variables, in the order in which they should be returned. If NULL, 'colnames(m)' is used.

Value

a numeric vector of squared residuals.


plger/iPSCpoweR documentation built on Feb. 2, 2022, 1:37 a.m.