Skip to content

Commit

Permalink
document model classes
Browse files Browse the repository at this point in the history
  • Loading branch information
leeper committed Feb 10, 2017
1 parent dd9fbc5 commit a511ca4
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 0 deletions.
1 change: 1 addition & 0 deletions R/prediction.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#' \item \dQuote{Arima}, see \code{\link[stats]{arima}}
#' \item \dQuote{arima0}, see \code{\link[stats]{arima0}}
#' \item \dQuote{betareg}, see \code{\link[betareg]{betareg}}
#' \item \dQuote{clm}, see \code{\link[ordinal]{clm}}
#' \item \dQuote{coxph}, see \code{\link[survival]{coxph}}
#' \item \dQuote{crch}, see \code{\link[crch]{crch}}
#' \item \dQuote{gam}, see \code{\link[gam]{gam}}
Expand Down
26 changes: 26 additions & 0 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,32 @@ head(p)

The output always contains the original data (i.e., either data found using the `find_data()` function or passed to the `data` argument to `prediction()`). This makes it much simpler to pass predictions to, e.g., further summary or plotting functions.

## Supported model classes

The currently supported model classes are:

- "lm" from `stats::lm()`
- "glm" from `stats::glm()`, `MASS::glm.nb()`, `glmx::glmx()`, `glmx::hetglm()`
- "ar" from `stats::ar()`
- "Arima" from `stats::arima()`
- "arima0" from `stats::arima0()`
- "betareg" from `betareg::betareg()`
- "clm" from `ordinal::clm()`
- "coxph" from `survival::coxph()`
- "crch" from `crch::crch()`
- "gam" from `gam::gam()`
- "gls" from `nlme::gls()`
- "hxlr" from `crch::hxlr()`
- "ivreg" from `AER::ivreg()`
- "loess" from `stats::loess()`
- "nls" from `stats::nls()`
- "polr" from `MASS::polr()`
- "rq" from `quantreg::rq()`
- "selection" from `sampleSelection::selection()`
- "survreg" from `survival::survreg()`
- "svm" from `e1071::svm()`
- "svyglm" from `survey::svyglm()`

## Requirements and Installation

[![CRAN](http://www.r-pkg.org/badges/version/prediction)](https://cran.r-project.org/package=prediction)
Expand Down
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,32 @@ head(p)

The output always contains the original data (i.e., either data found using the `find_data()` function or passed to the `data` argument to `prediction()`). This makes it much simpler to pass predictions to, e.g., further summary or plotting functions.

## Supported model classes

The currently supported model classes are:

- "lm" from `stats::lm()`
- "glm" from `stats::glm()`, `MASS::glm.nb()`, `glmx::glmx()`, `glmx::hetglm()`
- "ar" from `stats::ar()`
- "Arima" from `stats::arima()`
- "arima0" from `stats::arima0()`
- "betareg" from `betareg::betareg()`
- "clm" from `ordinal::clm()`
- "coxph" from `survival::coxph()`
- "crch" from `crch::crch()`
- "gam" from `gam::gam()`
- "gls" from `nlme::gls()`
- "hxlr" from `crch::hxlr()`
- "ivreg" from `AER::ivreg()`
- "loess" from `stats::loess()`
- "nls" from `stats::nls()`
- "polr" from `MASS::polr()`
- "rq" from `quantreg::rq()`
- "selection" from `sampleSelection::selection()`
- "survreg" from `survival::survreg()`
- "svm" from `e1071::svm()`
- "svyglm" from `survey::svyglm()`

## Requirements and Installation

[![CRAN](http://www.r-pkg.org/badges/version/prediction)](https://cran.r-project.org/package=prediction)
Expand Down
1 change: 1 addition & 0 deletions man/prediction.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a511ca4

Please sign in to comment.