do.get.medians: Internal function for subclasses to get medians of the...

do.get.mediansR Documentation

Internal function for subclasses to get medians of the variables in a distribution

Description

This function is provided to be overriden by developers. End users should instead call get.medians

Usage

do.get.medians(dist, n.sim)

Arguments

dist

An object of class Distribution or a subclass

n.sim

If the values are to be calculated by random sample generation, how many random samples to generate

Details

The wrapper get.medians takes care of formatting the return value and generating warnings for any improper variables

Value

A numeric vector with a median for each variable in the distribution


tfojo1/distributions documentation built on July 27, 2024, 3:29 p.m.