Description Usage Arguments Details Value See Also Examples

View source: R/makeIntWeight.R

This function creates a survival object from bin counts, these data cannot be right censored. There is a separate function for the right censored bins. It also returns normalized bin weights.

1 | ```
makeIntWeight(ints, hb, trans = NULL)
``` |

`ints` |
a (non-empty) numeric matrix containing the bin end points, there must be as many rows as length(hb) and the lower bin should be on the left. |

`hb` |
a (non-empty) numeric vector of bin heights. |

`trans` |
an optional function to transform the bins. |

Creates a survival object. FIXME - reference to survival package and Surv function.

Returns an object of class "Surv" and normalizde bin weights.

FIXME - reference to survival package and Surv function.

1 | ```
#not run, internal function
``` |

```
Loading required package: gamlss
Loading required package: splines
Loading required package: gamlss.data
Loading required package: gamlss.dist
Loading required package: MASS
Loading required package: nlme
Loading required package: parallel
********** GAMLSS Version 5.0-2 **********
For more on GAMLSS look at http://www.gamlss.org/
Type gamlssNews() to see new features/changes/bug fixes.
Loading required package: gamlss.cens
Loading required package: survival
```

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.