Learn R Programming

CDF.PSIdekick (version 1.2)

badCDF: Make a straight-line faux CDF.

Description

Creates a placeholder CDF (a uniform straight line) for demonatration.

Usage

badCDF(range, gran, ...)

Arguments

range
A vector length 2 containing user-specified min and max to truncate the universe to
gran
The smallest unit of measurement in the data (one [year] for a list of ages)
...
Optionally add additional parameters. This is primarily used to allow automated execution of varied diagnostic functions.

Value

A fake CDF for demonstration only.

Examples

Run this code
badCDF(c(1,50), 1)

Run the code above in your browser using DataLab