Learn R Programming

Temporal (version 0.3.0.1)

rLogNormal: 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)

Value

Data.frame including the observation time and status.

Arguments

n

Sample size.

m

Location.

s

Scale.

p

Expected censoring proportion.