print.bc.mean.sd: Print method for objects of class "bc.mean.sd"

View source: R/print.bc.mean.sd.R

print.bc.mean.sdR Documentation

Print method for objects of class "bc.mean.sd"

Description

Print method for objects of class "bc.mean.sd".

Usage

## S3 method for class 'bc.mean.sd'
print(x, ...)

Arguments

x

object of class "bc.mean.sd".

...

other arguments.

Value

No value is returned.

See Also

bc.mean.sd

Examples

## Generate S2 summary data
set.seed(1)
n <- 100
x <- stats::rlnorm(n, 2.5, 1)
quants <- stats::quantile(x, probs = c(0.25, 0.5, 0.75))
obs.mean <- mean(x)
obs.sd <- stats::sd(x)

## Estimate the sample mean and standard deviation using the BC method
res <- bc.mean.sd(q1.val = quants[1], med.val = quants[2],
    q3.val = quants[3], n = n)
print(res)


estmeansd documentation built on May 29, 2024, 7:11 a.m.