nknots: knots

Description Usage Arguments Value Examples

Description

Get the number of knots used for the fit

Usage

1
2
3
4
5
6
7
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

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

tradeSeq documentation built on Nov. 8, 2020, 7:51 p.m.