aboutsummaryrefslogtreecommitdiff
path: root/man/coef.sparsestep.Rd
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2016-02-10 22:31:02 -0500
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2016-02-10 22:31:02 -0500
commitdc4814a034040502e0ebe28f1baf22af6635b86d (patch)
tree78a318ff4c8ada2f5bf439b431bb115221b90856 /man/coef.sparsestep.Rd
parentadded main package docs to git (diff)
downloadsparsestep-dc4814a034040502e0ebe28f1baf22af6635b86d.tar.gz
sparsestep-dc4814a034040502e0ebe28f1baf22af6635b86d.zip
add docs to git
Diffstat (limited to 'man/coef.sparsestep.Rd')
-rw-r--r--man/coef.sparsestep.Rd29
1 files changed, 29 insertions, 0 deletions
diff --git a/man/coef.sparsestep.Rd b/man/coef.sparsestep.Rd
new file mode 100644
index 0000000..578b75c
--- /dev/null
+++ b/man/coef.sparsestep.Rd
@@ -0,0 +1,29 @@
+% Generated by roxygen2 (4.1.1): do not edit by hand
+% Please edit documentation in R/coef.sparsestep.R
+\name{coef.sparsestep}
+\alias{coef}
+\alias{coef.sparsestep}
+\title{Get the coefficients of a fitted SparseStep model}
+\usage{
+\method{coef}{sparsestep}(object, ...)
+}
+\arguments{
+\item{object}{a \code{sparsestep} object}
+
+\item{\dots}{further argument are ignored}
+}
+\value{
+The coefficients of the SparseStep model (i.e. the betas). If the
+model was fitted with an intercept this will be the first value in the
+resulting vector.
+}
+\description{
+Returns the coefficients of the SparseStep model.
+}
+\examples{
+x <- matrix(rnorm(100*20), 100, 20)
+y <- rnorm(100)
+fit <- sparsestep(x, y)
+coef(fit)
+}
+