print.predict.stratafit: Prints a short summary for the 'predict.stratafit()'...

Description Usage Arguments Value Examples

View source: R/print.predict.stratafit.R

Description

This function uses the object that is output from predict.stratafit() of class predict.stratafit..

Usage

1
2
## S3 method for class 'predict.stratafit'
print(x, digits = max(3L, getOption("digits") - 3L), ...)

Arguments

x

is a prediction object generated from predict.stratafit()

digits

is the number of digits to be displayed in the model output

...

further arguments passed to or from other methods.

Value

a list with

Examples

1
2
3
4
5
6
data(exampledataset) ## load a toy data set
exampledataset$strata <- c(rep("A", 19), rep("B", 21))
strataobj <- stratafit(formula = counts ~ pred1 + pred2,
 data = exampledataset, stratacol = "strata",
xcoordcol = 'xcoords', ycoordcol = 'ycoords', areacol = 'areavar')
predict(strataobj)

sptotal documentation built on July 6, 2021, 5:07 p.m.