Description Usage Arguments Value Note Author(s) Examples
A helper function converting a behaviorstream dataframe into a list split by a grouping factor (e.g., Video ID or Target ID). The resulting dataset is to be used by the recounter function
1 2 | split_df <- group_splitter(data,behaviorstream,"behavior","consequence",
group = "group", actor = "actor")
|
data |
A dataframe or tibble |
behaviorstream |
A column representing the observation stream. Contains actor behaviors and environmental (or partner) consequences |
behavior |
A character string indicating the target behavior to be reinforced |
consequence |
A character string indicating the environmental consequence acting as a reinforcer |
group |
A column representing the variable used to group observation |
actor |
An optional argument indicating the column containing the actor ID |
missing_data |
An optional argument specifying if missing observations have been removed |
contingency |
An optional argument indicating if reinforcers must be contingent or contiguous to target behaviors |
Returns a list of dataframes defined by grouping object
Only data and group are used arguments. Version 2 will omit all other arguments (intended for the recounting function)
James DeLaney
1 | group_splitter(two_person_picture,BEH, "x","A",group = "VIDELT", actor = "TAR")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.