Description Usage Arguments Value See Also Examples
Function which extracts the estimated model coefficients from an object of class "OEFPIL"
.
1 2 |
object |
an object of class |
... |
other arguments. |
A named vector of estimated model coefficients extracted from an "OEFPIL"
object.
1 2 3 4 5 6 7 8 9 10 11 12 13 | ##Creating a data file (using steam data from MASS library)
library(MASS)
steamdata <- steam
colnames(steamdata) <- c("x","y")
startsteam <- list(b1 = 5, b2 = 8, b3 = 200)
k <- nrow(steamdata)
CM <- diag(rep(0.1,2*k))
##Creating an OEFPIL object
st1 <- OEFPIL(steamdata, y ~ b1 * 10^(b2 * x/ (b3 + x)), startsteam, CM, useNLS = FALSE)
##Use of coef function
coef(st1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.