Skip to contents

This function creates an object of class InitialEstimate that contains initial parameter estimates for a model Theta(). The estimates can be passed to the function as a single numeric value or as a vector of length three containing lower bound, estimate, and upper bound. If multiple sets of estimates are required, they can be passed as additional arguments, each separated by commas.

Usage

InitialEstimate(Initial = numeric(), ...)

Arguments

Initial

Numeric. Initial estimate for the model parameter.

...

Additional initial estimate(s) for the model parameter.

Value

An object of class InitialEstimate.

See also

Functions used for Theta specification: Theta(), create_ModelPD(), create_ModelPK(), modify_Theta()

Examples

InitialEstimate(1)
#> $Lower
#> [1] NA
#> 
#> $Estimate
#> [1] 1
#> 
#> $Upper
#> [1] NA
#> 
#> attr(,"class")
#> [1] "InitialEstimate"
InitialEstimate(c(0, 1, Inf), c(-Inf, 2, 10))
#> $Lower
#> [1]    0 -Inf
#> 
#> $Estimate
#> [1] 1 2
#> 
#> $Upper
#> [1] Inf  10
#> 
#> attr(,"class")
#> [1] "InitialEstimate"