print.pcgen: Print Method for pcgen Objects

Description Usage Arguments Value Examples

View source: R/pcensmix.R

Description

This function prints the progressive censored data generated by the S3 class pcgen.

Usage

1
2
## S3 method for class 'pcgen'
print(x, ...)

Arguments

x

object of class pcgen.

...

optional arguments to pass by.

Value

This function uses the generic function print to print the dataset of class "pcgen" in a nice format.

Examples

1
2
3
4
5
## Generate a two component normal mixture data,
Pdat <- pcgen(r = 80, p = 0.3, data = mixgen(N = 100, dist1 = 'norm',
              dist2 = 'norm', control = list(12, 2, 14, 4, 0.3)))
# and print it.
print(Pdat)

pcensmix documentation built on May 2, 2019, 1:10 p.m.