renewalCoefList {Countr} | R Documentation |

## Split a vector using the prefixes of the names for grouping

### Description

Split a vector using the prefixes of the names for grouping.

### Usage

```
renewalCoefList(coef)
```

### Arguments

`coef` |
a named vector |

### Details

The names of the coefficients of renewal regression models are prefixed with
the names of the parameters to which they refer. This function splits such
vectors into a list with one component for each parameter. For example, for a
Weibull renewal regression model this will create a list with components
`"scale"`

and `"shape"`

.

This is a convenience function allowing users to manipulate the coefficients
related to a parameter more easily. `renewalCoef`

can convert
this list back to a vector.

### See Also

[Package

*Countr*version 3.5.8 Index]