Skip to contents

Method for returning coefficients of a fitted suffpcr object

Usage

# S3 method for suffpcr
coef(object, i = NULL, d = NULL, ...)

Arguments

object

a suffpcr object, created by suffpcr()

i

optional vector of lambda indices to retrieve

d

optional vector of d indices to retrieve

...

ignored

Value

a (sparse) matrix of coefficients. Each column corresponds to one lambda x d estimate