For each subject, compute probability of visiting a given state at least once before given time
p_state_visit_per_subject.RdConvenient wrapper for p_state_visit.
Arguments
- pd
A
PathDataobject.- state_name
Name of the state (character).
- t
The given time. If
NULL, is set tomax(pd$get_path_df()$time).
See also
Other PathData summary functions:
p_state_visit()