Get the number of knots used for the fit

nknots(models, ...)

# S4 method for SingleCellExperiment
nknots(models)

# S4 method for 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)
#> [1] 5