# cumulative.table

From sur v1.0.0
by Daphna Harel

##### Cumulative Percentage Table

Returns as a named vector the cumulative percentage frequency distribution of a variable `x`

at each unique value.

##### Usage

`cumulative.table(x)`

##### Arguments

- x
object containing data for a single variable.

##### Details

If `x`

contains `NA`

values (missing data), the cumulative percentage table will not reach 100. The table will end with the cumulative percentage of non-missing data within the object; the value remaining after subtracting this value from 100 represents the percentage of `NA`

values within the object.

##### Value

A named numeric vector containing cumulative percentage frequencies, named by unique values of `x`

and ordered numerically or alphabetically by name.

##### See Also

##### Examples

```
# NOT RUN {
# using variable without NA values
cumulative.table(NELS$famsize)
# using variable with NA values
cumulative.table(NELS$parmarl8)
# }
```

*Documentation reproduced from package sur, version 1.0.0, License: GPL (>= 2)*

### Community examples

Looks like there are no examples yet.