File: Predict.Rd

package info (click to toggle)
r-cran-modeltools 0.2-23-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 184 kB
  • sloc: sh: 39; makefile: 2
file content (36 lines) | stat: -rw-r--r-- 770 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
\name{Predict}
\alias{Predict}
\title{ Model Predictions }
\description{

    A function for predictions from the results of various model 
    fitting functions.

}
\usage{
Predict(object, ...)
}
\arguments{
  \item{object}{ a model object for which prediction is desired. }
  \item{\dots}{ additional arguments affecting the predictions produced. }
}
\details{

  A somewhat improved version of \code{\link[stats]{predict}} for models
  fitted with objects of class \code{\link{StatModel-class}}.

}
\value{
  
  Should return a vector of the same type as the response variable specified
  for fitting \code{object}.

}
\examples{

df <- data.frame(x = runif(10), y = rnorm(10))
mf <- dpp(linearModel, y ~ x, data = df)
Predict(fit(linearModel, mf))

}
\keyword{misc}