-
Notifications
You must be signed in to change notification settings - Fork 90
/
Copy pathtidy._elnet.Rd
37 lines (31 loc) · 1.06 KB
/
tidy._elnet.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
33
34
35
36
37
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tidy_glmnet.R
\name{tidy._elnet}
\alias{tidy._elnet}
\alias{tidy._lognet}
\alias{tidy._multnet}
\alias{tidy._fishnet}
\alias{tidy._coxnet}
\title{tidy methods for glmnet models}
\usage{
\method{tidy}{`_elnet`}(x, penalty = NULL, ...)
\method{tidy}{`_lognet`}(x, penalty = NULL, ...)
\method{tidy}{`_multnet`}(x, penalty = NULL, ...)
\method{tidy}{`_fishnet`}(x, penalty = NULL, ...)
\method{tidy}{`_coxnet`}(x, penalty = NULL, ...)
}
\arguments{
\item{x}{A fitted parsnip model that used the \code{glmnet} engine.}
\item{penalty}{A \emph{single} numeric value. If none is given, the value specified
in the model specification is used.}
\item{...}{Not used}
}
\value{
A tibble with columns \code{term}, \code{estimate}, and \code{penalty}. When a
multinomial mode is used, an additional \code{class} column is included.
}
\description{
\code{tidy()} methods for the various \code{glmnet} models that return the coefficients
for the specific penalty value used by the parsnip model fit.
}
\keyword{internal}