get_penalty: Extract a MRF penalty matrix

get_penaltyR Documentation

Extract a MRF penalty matrix

Description

Extract a MRF penalty matrix

Usage

get_penalty(penalty, ...)

## S3 method for class 'mrf_penalty'
get_penalty(penalty, ...)

Arguments

penalty

an R object from which to extract the MRF penalty matrix.

...

arguments passed to other methods.

Value

A penalty matrix of class "matrix".


eric-pedersen/MRFtools documentation built on Jan. 28, 2024, 2:13 a.m.