MRPModel-method-log_lik: Create inputs for leave-one-out cross-validation

MRPModel-method-log_likR Documentation

Create inputs for leave-one-out cross-validation

Description

The ⁠$log_lik()⁠ method of an MRPModel object runs Stan's standalone generated quantities and extracts log-likelihood values for leave-one-out cross-validation. This method is called by the ⁠$compare_models()⁠ method of an MRPWorkflow object and does not need to be called directly by users.

Usage

log_lik()

Value

A data.frame object containing log-likelihood values.


shinymrp documentation built on Dec. 4, 2025, 5:07 p.m.