-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathpredict.FSR.Rd
32 lines (27 loc) · 966 Bytes
/
predict.FSR.Rd
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
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/FSR_methods.R
\name{predict.FSR}
\alias{predict.FSR}
\title{predict.FSR}
\usage{
\method{predict}{FSR}(object, newdata, model_to_use = NULL,
standardize = NULL, noisy = TRUE, ...)
}
\arguments{
\item{object}{FSR output. Predictions will be made based on object$best_formula unless model_to_use is provided (as an integer).}
\item{newdata}{New Xdata.}
\item{model_to_use}{Integer optionally indicating a model to use if object$best_formula is not selected. Example: model_to_use = 3 will use object$models$formula[3].}
\item{standardize}{Logical--standardize numeric variables? (If NULL, the default, bypasses and decides based on object$standardize.)}
\item{noisy}{Display output?}
\item{...}{ignore}
}
\value{
y_hat (predictions using chosen model estimates).
}
\description{
predict.FSR
}
\examples{
out <- FSR(mtcars[1:30,])
forecast <- predict(out, mtcars[31:nrow(mtcars),])
}