Description Usage Arguments Value Examples
Extracts model coefficients beta and delta
1 2 | ## S3 method for class 'PSM'
coef(object)
|
object |
an object of class 'PSM' returned by PartialSplines function |
a list containing the coefficients
1 2 3 4 5 6 | x <- data.frame(x = rnorm(100))
tx <- rnorm(100)
eps <- rnorm(100)
y <- x[,1] + tx^4 + eps
psm <- PartialSplines(y, x, tx)
coef(psm)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.