design,GenoGAMDataSet-method {GenoGAM} | R Documentation

## Access the `design` slot

### Description

The `design` slot contains the `formula` object which is used to fit the model

### Usage

    ## S4 method for signature 'GenoGAMDataSet'
    design(object)

    ## S4 replacement method for signature 'GenoGAMDataSet,ANY'
    design(object) <- value

### Arguments

`object` | A GenoGAMDataSet object.
`value` | A `formula` object

### Value

A `formula` object

### Author(s)

Georg Stricker georg.stricker@in.tum.de

### Examples

    ggd <- makeTestGenoGAMDataSet()
    design(ggd)
    design(ggd) <- ~1

[Package GenoGAM version 1.8.0 Index]