Learn R Programming

cascsim (version 0.4)

sampleMean: Calculate the mean of 100000 sampled values from the distribution.

Description

Calculate the mean of 100000 sampled values from the distribution.

Usage

sampleMean(object, ...)

# S4 method for Distribution sampleMean(object)

Arguments

object

A Distribution Object

...

Additional function arguments

Examples

Run this code
# NOT RUN {
xLognormal <- new("Lognormal",p1=2,p2=3)
sampleMean(xLognormal)
# }

Run the code above in your browser using DataLab