methods | R Documentation |
This page lists the main methods for class "palasso".
## 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", ...)
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
|
By default, the function predict
returns
the linear predictor (type="link"
).
Consider predicting the response (type="response"
).
Use palasso to fit the paired lasso.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.