rLogNormal {Temporal}R Documentation

Simulation from the Log-Normal Distribution

Description

Generates log-normal event times with location parameter \mu and scale parameter \sigma. See FitLogNormal for the parameterization. If a censoring proportion p is provided, the event times are subject to non-informative random right censoring.

Usage

rLogNormal(n, m = 0, s = 1, p = 0)

Arguments

n

Sample size.

m

Location.

s

Scale.

p

Expected censoring proportion.

Value

Data.frame including the observation time and status.


[Package Temporal version 0.3.0.1 Index]