Description Usage Arguments Details Value Author(s) See Also Examples

Compute a (weighted empirical) cumulative distribution function for survey or population data. For survey data, sample weights are taken into account.

1 |

`x` |
a numeric vector. |

`weights` |
an optional numeric vector containing sample weights. |

`approx` |
a logical indicating whether an approximation of the cumulative distribution function should be computed. |

`n` |
a single integer value; if |

Sample weights are taken into account by adjusting the step height. To be
precise, the weighted step height for an observation is defined as its
weight divided by the sum of all weights*.*

If requested, the approximation is performed using the function
`approx`

.

A list of class `"spCdf"`

with the following components:

`x` |
a numeric vector containing the |

`y` |
a
numeric vector containing the |

`approx` |
a logical indicating whether the coordinates represent an approximation. |

Andreas Alfons and Stefan Kraft

1 2 3 |

simPop documentation built on May 20, 2017, 1:11 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.