tps_g {clustra} | R Documentation |
bam
.Fits a thin plate spline to a single group (one list element) in data with
bam
. Uses data from only one group rather than a
zero weights approach. Zero weights would result in
incorrect crossvalidation sampling.
tps_g(g, data, maxdf, nthreads)
g |
Integer group number. |
data |
A list of group-separated data using lapply with
|
maxdf |
See |
nthreads |
Controls |
Returns an object of class "gam". See bam
value.
If group data has zero rows, NULL is returned instead.