draw: Draw 'n' response vectors from a fitted model for a...

Description Usage Arguments Value Methods (by class)

View source: R/draw.R

Description

Draw n response vectors from a fitted model for a population

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
## S3 method for class 'betareg'
draw(m, x = stats::model.frame(m), B, ...)

## S3 method for class 'crch'
draw(m, x = stats::model.frame(m), B, ...)

draw(m, x, B, ...)

## S3 method for class 'glm'
draw(m, x = stats::model.frame(m), B, ...)

## S3 method for class 'svymnlogit'
draw(m, x = stats::model.frame(m), B, ...)

## S3 method for class 'svyolr'
draw(m, x, B, ...)

Arguments

m

the model.

x

data.frame. The population of interest.

B

matrix. A set of plausible coefficient vectors generated via consider.

...

other arguments to weights or to methods.

Value

a vector of responses.

Methods (by class)


deepfriar/gilez documentation built on Dec. 19, 2021, 10:09 p.m.