reportOR: REPORTING THE RESULTS

Description Usage Arguments Value Examples

View source: R/reportOR.R

Description

Prints the results of fitOR().

Usage

1
reportOR(fit,dd,ci)

Arguments

fit

list containing output of fitOR()

dd

data frame used to fit the models

ci

confidence level (default 0.95)

Value

Prints the deviances of the null, F- and H-models, the LR-test, the odds ratio, standard error of log(OR) and confidence intervals based on parameters of the H- and F-models.

Examples

1
2
3
4
5
6
## generate data
dd <- simData(50,2,1.5,123)
## fit the models
fit <- fitOR(dd)
## report the results
reportOR(fit,dd,0.95)

partialOR documentation built on May 29, 2017, 2:03 p.m.

Search within the partialOR package
Search all R packages, documentation and source code