pmarg: Compute CDF of marginal model

View source: R/margins.R

pmargR Documentation

Compute CDF of marginal model

Description

Compute the cumulative distribution function of the marginal model.

Usage

pmarg(x, q)

Arguments

x

an object of class margin.

q

vector of values at which CDF should be computed.

Value

A vector of values for the CDF.

Examples

margmod <- margin("norm", pars = c(mean = 0, sd = 1))
pmarg(margmod, c(-2, 0, 2))

tscopula documentation built on May 7, 2022, 5:06 p.m.