locel_conversion_rate
Conversion rate from
Returns the fraction of
if no
source_type to target_type via O2O, restricted to targets touched by activity.Returns the fraction of
source_type objects that have at least one outgoing O2O edge to atarget_type object related (via E2O) to some event of the given event type. Returns 0.0if no
source_type objects exist.fn locel_conversion_rate(ocel*: SlimLinkedOCEL, activity*: String, source_type*: String, target_type*: String) → f64
Arguments
Returns
import r4pm
ocel = r4pm.import_item('SlimLinkedOCEL','path/to/file')
res = r4pm.bindings.locel_conversion_rate(ocel, 'example', 'example', 'example')