rilmDS.b {dsBetaTest}R Documentation

Generates matrices for the sum of squares

Description

This function creates matrices having elements the sum of squares that will be used on random intercept linear model method.

Usage

rilmDS.b(..., yvar)

Arguments

...,

any explanatory variables

yvar,

the outcome variable

Details

This function returns a list with four elements. The first is the length of a variable's vector when we remove from the data frame any rows with NAs.

Value

(i) the number of complete cases, (ii) the sum of squares of explanatory variables, (iii) the sum of products of each explanatory variable with the outcome variable, and (iv) the sum of squares of the outcome variable

Author(s)

Avraam D; Jones EM; van den Heuvel ER


[Package dsBetaTest version 0.2.0 ]