methods {palasso} | R Documentation |
Methods for class "palasso"
Description
This page lists the main methods for class "palasso".
Usage
## S3 method for class 'palasso'
predict(object, newdata, model = "paired", s = "lambda.min", max = NULL, ...)
## S3 method for class 'palasso'
coef(object, model = "paired", s = "lambda.min", max = NULL, ...)
## S3 method for class 'palasso'
weights(object, model = "paired", max = NULL, ...)
## S3 method for class 'palasso'
fitted(object, model = "paired", s = "lambda.min", max = NULL, ...)
## S3 method for class 'palasso'
residuals(object, model = "paired", s = "lambda.min", max = NULL, ...)
## S3 method for class 'palasso'
deviance(object, model = "paired", max = NULL, ...)
## S3 method for class 'palasso'
logLik(object, model = "paired", max = NULL, ...)
## S3 method for class 'palasso'
summary(object, model = "paired", ...)
Arguments
object |
palasso object |
newdata |
covariates:
list of matrices, each with |
model |
character |
s |
penalty parameter:
character |
max |
maximum number of non-zero coefficients,
positive integer,
or |
... |
further arguments for
|
Details
By default, the function predict
returns
the linear predictor (type="link"
).
Consider predicting the response (type="response"
).
See Also
Use palasso to fit the paired lasso.
[Package palasso version 0.0.9 Index]