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("gauss", pars = c(mu = 0, sigma = 1))
pmarg(margmod, c(-2, 0, 2))

tscopula documentation built on May 29, 2024, 5:53 a.m.