hesim-dev / hesim

Health economic simulation modeling and decision analysis
https://hesim-dev.github.io/hesim/
62 stars 16 forks source link

mstate3_exdata does not appear to be exported in hesim namespace #31

Closed mattsecrest closed 3 years ago

mattsecrest commented 3 years ago

The following call results in an error:

> library(hesim)
> head(hesim::mstate3_exdata)
Error: 'mstate3_exdata' is not an exported object from 'namespace:hesim'

Other example datasets appear exported correcty:

> library(hesim)
> head(hesim::psm4_exdata)
$survival
    female      age strategy_id endpoint1_time endpoint1_status endpoint2_time endpoint2_status endpoint3_time endpoint3_status
1        0 48.65752           1    1.026593764                1     1.51828907                1    2.466163310                1
2        0 56.28412           2    0.039327159                1     0.68155334                1    0.929929830                1
3        1 81.87736           3    0.116159577                1     2.87861592                1    0.811593760                1
4        1 54.17499           1    0.296956719                1     0.84374573                0    0.843745733                0
5        0 50.91772           2    0.798601727                1     1.60147167                1    2.873984842                0

FYI 👍

dincerti commented 3 years ago

This was due to using an older version of hesim prior to the existence of this dataset.