Learn R Programming

pempi (version 1.0.0)

print.cpreval_sim: Print (simulated) sample

Description

Simple print function for the cpreval_sim objects

Usage

# S3 method for cpreval_sim
print(x, ...)

Value

Prints object

Arguments

x

A cpreval_sim object

...

Further arguments passed to or from other methods

Author

Stephane Guerrier

Examples

Run this code
# Samples without measurement error
sim_Rs(theta = 3/100, pi0 = 1/100, n = 1500, seed = 18)

# With measurement error
sim_Rs(theta = 3/100, pi0 = 1/100, n = 1500, alpha0 = 0,
alpha = 0.01, beta = 0.05, seed = 18)

Run the code above in your browser using DataLab