Skip to contents

Generic summary function for gcFitModel objects

Usage

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

Arguments

object

object of class gcFitModel

...

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

Value

A dataframe with parameters extracted from the growth model fit.

Examples

# 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 parametric fit
TestFit <- growth.gcFitModel(time, data, gcID = 'TestFit',
                 control = growth.control(fit.opt = 'm'))
#> --> Try to fit model logistic
#> ....... OK
#> --> Try to fit model richards
#> ....... OK
#> --> Try to fit model gompertz
#> ....... OK
#> --> Try to fit model gompertz.exp
#> ... ERROR in nls(). For further information see help(growth.gcFitModel)
#> --> Try to fit model huang
#> .......... OK
#> --> Try to fit model baranyi
#> ........ OK
#> 
#> Best fitting model: ~baranyi

summary(TestFit)
#>            mu.model          tD.model     lambda.model          A.model
#> 1 0.806206890647964 0.859763403910936 4.73143981745605 4.78467533252001
#>           dY.model     A.orig.model    dY.orig.model  integral.model
#> 1 4.78391090967853 6.12366963668052 6.11899035244033 77.872912849589
#>   parameter_nu.model parameter_alpha.model parameter_t_shift.model
#> 1               <NA>                  <NA>                    <NA>
#>     parameter_y0.model         stdmu.model    stdlambda.model
#> 1 0.000743167936056631 0.00254008480808641 0.0153688775054034
#>            stdA.model         RMSE.model reliable_fit.model  ci90.mu.model.lo
#> 1 0.00237383340124977 0.0152121974695025               TRUE 0.802028451138662
#>    ci90.mu.model.up ci90.lambda.model.lo ci90.lambda.model.up  ci90.A.model.lo
#> 1 0.810385330157266     4.70615801395966     4.75672162095244 4.78077037657495
#>    ci90.A.model.up  ci95.mu.model.lo  ci95.mu.model.up ci95.lambda.model.lo
#> 1 4.78858028846506 0.801228324424114 0.811185456871813     4.70131681754546
#>   ci95.lambda.model.up  ci95.A.model.lo  ci95.A.model.up
#> 1     4.76156281736664 4.78002261905356 4.78932804598646