soprobMarkovOrd {Hmisc} | R Documentation |

## soprobMarkovOrd

### Description

State Occupancy Probabilities for First-Order Markov Ordinal Model

### Usage

```
soprobMarkovOrd(y, times, initial, absorb = NULL, intercepts, g, ...)
```

### Arguments

`y` |
a vector of possible y values in order (numeric, character, factor) |

`times` |
vector of measurement times |

`initial` |
initial value of |

`absorb` |
vector of absorbing states, a subset of |

`intercepts` |
vector of intercepts in the proportional odds model, with length one less than the length of |

`g` |
a user-specified function of three or more arguments which in order are |

`...` |
additional arguments to pass to |

### Value

matrix with rows corresponding to times and columns corresponding to states, with values equal to exact state occupancy probabilities

### Author(s)

Frank Harrell

### See Also

https://hbiostat.org/R/Hmisc/markov/

*Hmisc*version 5.1-3 Index]