Description Usage Arguments Details Author(s) See Also Examples
View source: R/print.profileModel.R
Print method for objects of class profileModel
.
1 2 |
x |
a |
print.fit |
logical indicating whether the fitted object supplied
in |
... |
additional arguments to |
This is the print
method for objects inheriting from class
"profileModel"
.
Ioannis Kosmidis <email: ioannis.kosmidis@warwick.ac.uk>
1 2 3 4 5 6 7 8 9 10 11 | ## Begin Example
y <- c(1,1,0,0)
x1 <- c(1,0,1,0)
x2 <- c(1,1,0,0)
prof1 <- profileModel(glm(y ~ x1 + x2, family = binomial),
objective = "ordinaryDeviance",
grid.bounds = rep(c(-1,1),3))
print(prof1)
prof2 <- update(prof1, quantile = qchisq(0.95,1), grid.bounds=NULL)
print(prof2, print.fit = TRUE)
## End Example
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.