nknots {tradeSeq} | R Documentation

## knots

### Description

Get the number of knots used for the fit

### Usage

    nknots(models, ...)

    ## S4 method for signature 'SingleCellExperiment'
    nknots(models)

    ## S4 method for signature 'list'
    nknots(models)

### Arguments

`models` | The fitted GAMs, typically the output from `fitGAM`.
`...` | parameters including:

### Value

A numeric, the number of nknots

### Examples

    data(gamList, package = "tradeSeq")
    nknots(gamList)

[Package tradeSeq version 1.3.13 Index]