View source: R/predict.psFit.R
predict.psFit | R Documentation |
psFit
S3 predict method for an object of class psFit
## S3 method for class 'psFit'
predict(
object,
newdata,
interval = c("none", "prof", "wald"),
level = 0.95,
...
)
object |
an object of class |
newdata |
an optional vector of integers at which to calculate
|
interval |
either |
level |
the level of a confidence interval. Ignored if |
... |
other arguments passed to |
either a named vector of fitted probabilities, or a data.frame
with columns predicted
, lower
, and upper
and the row
names set to show what terms are being calculatd
data(Psurveys)
roux = Psurveys$roux
fit = fitDist(roux)
predict(fit, interval = "prof")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.