coef.graper {graper}R Documentation

Get estimated coefficients from a graper object

Description

Function to obtain estimated coefficients from a fitted graper model.

Usage

## S3 method for class 'graper'
coef(object, include_intercept = TRUE, ...)

Arguments

object

fitted graper model as obtained from graper

include_intercept

whether to include the estimated intercept value in the output

...

other arguments

Value

1-Column matrix of estimated coefficients.

Examples

# create data
dat <- makeExampleData()
fit <- graper(dat$X, dat$y, dat$annot)
coef(fit)

[Package graper version 1.0.0 Index]