rLogNormal: Simulation from the Log-Normal Distribution

View source: R/DataGen.R

rLogNormalR 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.


Temporal documentation built on Sept. 24, 2023, 1:06 a.m.