Learn R Programming

SPAtest (version 3.1.2)

ScoreTest_wSaddleApprox_NULL_Model: Preparing the null model

Description

Prepares the null model object SA_NULL to be used in ScoreTest_SPA based on the outcome and the covariates.

Usage

ScoreTest_wSaddleApprox_NULL_Model(formula, data=NULL)

Arguments

formula

An object of class "formula" (as used in the function "glm").

data

An optional data frame, list or environment containing the variables in the model.

Value

ScoreTest_wSaddleApprox_NULL_Model returns an object of class SA_NULL.

See Also

ScoreTest_SPA

ScoreTest_SPA_wMeta

Examples

Run this code
# NOT RUN {
ScoreTest_wSaddleApprox_NULL_Model(formula, data=NULL)
# }

Run the code above in your browser using DataLab