Skip to contents

Convenient wrapper for p_state_visit.

Usage

p_state_visit_per_subject(pd, state_name, t = NULL)

Arguments

pd

A PathData object.

state_name

Name of the state (character).

t

The given time. If NULL, is set to max(pd$get_path_df()$time).

Value

A data frame

See also

Other PathData summary functions: p_state_visit()