print.nordpred: Prints a nordpred object

Description Usage Arguments Value Note for S-plus Author(s) References See Also Examples

Description

print.nordpred prints the observed and predicted number of cases in a nordpred object

Usage

1
2
## S3 method for class 'nordpred'
print(x, digits = 1, ...)

Arguments

x

An object of class nordpred (see nordpred.object)

digits

Specifies the number of digits in the tabulation

...

ignored

Value

object of class nordpred (see nordpred.object).

Note for S-plus

Powerlink is made via a special modification in S-PLUS. This works fine for the point estimates, but the variance estimates found via the glm-objects are wrong. For variance estimates, we would rather recommend using R.

Author(s)

Harald Fekjaer and Bjorn Moller (Cancer Registry of Norway)

References

See Also

Other nordpred: is.nordpred.estimate, nordpred.estimate; is.nordpred, nordpred; nordpred.estimate.object; nordpred.getpred; nordpred.object; nordpred.prediction; plot.nordpred; print.nordpred.estimate; summary.nordpred

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
# data (Colon cancer for Norwegian males)
indata

# Create dataset with observed and predicted population
inpop <- cbind(inpop1, inpop2)

# Fit model & predict new incidence:
res <- nordpred(indata, inpop, startestage = 5, startuseage = 6,
     cuttrend = c(0, .25, .5, .75, .75))
res2 <- nordpred(indata, inpop, startestage = 5, startuseage = 6,
     cuttrend = c(0, .25, .5, .75, .75), linkfunc = 'poisson')

# Print / get results:
print(res)
nordpred.getpred(res)
summary(res, printpred = FALSE)

haraldwf/nordpred documentation built on May 17, 2019, 2:41 p.m.