aboutsummaryrefslogtreecommitdiff
path: root/man/print.sparsestep.Rd
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2016-02-10 20:19:51 -0500
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2016-02-10 20:19:51 -0500
commit6c3d2ff1cb9e7bd3bf1426e1ec4cecd0891ea089 (patch)
tree0cf43714e1252ae833e473dc6beed6ddad953663 /man/print.sparsestep.Rd
parentadded authors and dependencies (diff)
downloadsparsestep-6c3d2ff1cb9e7bd3bf1426e1ec4cecd0891ea089.tar.gz
sparsestep-6c3d2ff1cb9e7bd3bf1426e1ec4cecd0891ea089.zip
bugfixes, documentation improvements, and generic function agreement
Diffstat (limited to 'man/print.sparsestep.Rd')
-rw-r--r--man/print.sparsestep.Rd15
1 files changed, 8 insertions, 7 deletions
diff --git a/man/print.sparsestep.Rd b/man/print.sparsestep.Rd
index ec09981..7e3d9bb 100644
--- a/man/print.sparsestep.Rd
+++ b/man/print.sparsestep.Rd
@@ -5,19 +5,20 @@
\alias{print.sparsestep}
\title{Print the fitted SparseStep model}
\usage{
-\method{print}{sparsestep}(obj, ...)
+\method{print}{sparsestep}(x, ...)
}
\arguments{
-\item{obj}{a "sparsestep" object to print}
+\item{x}{a "sparsestep" object to print}
+
+\item{...}{further argument are ignored}
}
\description{
Prints a short text of a fitted SparseStep model
}
\examples{
-data(diabetes)
-attach(diabetes)
-object <- sparsestep(x, y)
-print(object)
-detach(diabetes)
+x <- matrix(rnorm(100*20), 100, 20)
+y <- rnorm(100)
+fit <- sparsestep(x, y)
+print(fit)
}