episode_fusion: Apply function strategy

View source: R/episode_fusion.R

episode_fusionR Documentation

Apply function strategy

Description

Internal function to apply a fusion strategy of variables of the same episode (of each participant)

Usage

episode_fusion(strategy, weekly, episode.column, ...)

Arguments

strategy

fusion_strategy structure, created by episode_strategy

weekly

weekly data with "episode" column

episode.column

character string name of column containing episode

...

other arguments (not used)

Value

data.frame() one row by person_id, episode, with selected value for each variable registred in strategy

See Also

Other episodes: episode_build(), episode_compute(), episode_design(), episode_fusion.simple_strategy(), episode_fusion.worst_strategy(), episode_fusion_strategy(), episode_prepare_data(), episode_select_participants(), episode_strategy()


cturbelin/ifnBase documentation built on Nov. 5, 2023, 12:54 p.m.