blob: 336d7057d72d6c287fa5c4f3331d0778b63f7dd6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#' @title Print the fitted SparseStep model
#'
#' @description Prints a short text of a fitted SparseStep model
#'
#' @param obj a "sparsestep" object to print
#'
#' @export
#'
#' @aliases print
#'
#' @examples
#' data(diabetes)
#' attach(diabetes)
#' object <- sparsestep(x, y)
#' print(object)
#' detach(diabetes)
#'
print.sparsestep <- function(obj, ...)
{
cat("\nCall:\n")
dput(obj$call)
cat("Lambda:", obj$lambda, "\n")
invisible(obj)
}
|