Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

print.profileModel

Printing ‘profileModel’ objects


Description

Print method for objects of class profileModel.

Usage

## S3 method for class 'profileModel'
print(x, print.fit = FALSE,  ...)

Arguments

x

a "profileModel" object.

print.fit

logical indicating whether the fitted object supplied in profileModel should be printed. The default value is FALSE.

...

additional arguments to print.

Details

This is the print method for objects inheriting from class "profileModel".

Author(s)

Ioannis Kosmidis <email: ioannis.kosmidis@warwick.ac.uk>

See Also

Examples

## 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

profileModel

Profiling Inference Functions for Various Model Classes

v0.6.1
GPL (>= 2)
Authors
Ioannis Kosmidis [aut, cre] (<https://orcid.org/0000-0003-1556-0302>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.