Learn R Programming

rvinecopulib (version 1.0.0.1.0)

margin_family_protocol: Margin-family fitting protocol

Description

Margin families describe how a candidate is fitted. Implementations provide fit_margin() and margin_info() methods. Their margin_info() result must contain family_name and types. Every fitter receives the observations, observation weights, and requested variable type. It must either use the weights or reject them.

Usage

fit_margin(family, x, weights = numeric(), type = "c")

Value

fit_margin() returns a fitted margin.

Arguments

family

a margin-family specification.

x

observed values.

weights

observation weights, or numeric().

type

requested variable type.