summary.nordpred: Makes a summary of a nordpred object

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

Description

summary.nordpred uses a nordpred object (see nordpred.object) to summarize the information

Usage

1
2
3
## S3 method for class 'nordpred'
summary(object, printpred = TRUE, printcall = FALSE,
  digits = 1, ...)

Arguments

object

An object of class nordpred (see nordpred.object)

printpred

Indicates whether to print the observed and predicted number of cases

printcall

Indicates whether to print the function call

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; print.nordpred

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
# 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.