Learn R Programming

QurvE (version 1.1.1)

summary.gcFitSpline: Generic summary function for gcFitSpline objects

Description

Generic summary function for gcFitSpline objects

Usage

# S3 method for gcFitSpline
summary(object, ...)

Value

A dataframe with parameters extracted from the nonparametric fit.

Arguments

object

object of class gcFitSpline

...

Additional arguments. This has currently no effect and is only meant to fulfill the requirements of a generic function.

Examples

Run this code
# Create random growth dataset
rnd.dataset <- rdm.data(d = 35, mu = 0.8, A = 5, label = 'Test1')

# Extract time and growth data for single sample
time <- rnd.dataset$time[1,]
data <- rnd.dataset$data[1,-(1:3)] # Remove identifier columns

# Perform linear fit
TestFit <- growth.gcFitSpline(time, data, gcID = 'TestFit',
                 control = growth.control(fit.opt = 's'))

summary(TestFit)

Run the code above in your browser using DataLab