aboutsummaryrefslogtreecommitdiff
path: root/man/print.sparsestep.Rd
diff options
context:
space:
mode:
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)
}