get_objective: Get objective function from data and susiF object

get_objectiveR Documentation

Get objective function from data and susiF object

Description

Get objective function from data and susiF object

Usage

get_objective(obj, Y, X, D, C, indx_lst, ...)

## S3 method for class 'susiF'
get_objective(obj, Y, X, D, C, indx_lst, ...)

Arguments

obj

a susiF object defined by init_susiF_obj function

Y

Matrix of outcomes

X

matrix of covariate

D

matrix of wavelet D coefficients from the original input data (Y)

C

vector of wavelet scaling coefficient from the original input data (Y)

indx_lst

list generated by gen_wavelet_indx for the given level of resolution

Value

objective function value


stephenslab/susiF.alpha documentation built on March 1, 2025, 4:28 p.m.