R: Preparing the null model

ScoreTest_wSaddleApprox_NULL_Model {SPAtest} | R Documentation

## 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`.

### Author(s)

Rounak Dey, deyrnk@umich.edu

### See Also

`ScoreTest_SPA`

### Examples

    ## Not run:
    ScoreTest_wSaddleApprox_NULL_Model(formula, data=NULL)

    ## End(Not run)

[Package SPAtest version 2.0.2 Index]