group_split_recounter: group_split_recounter

Description Usage Arguments Note Examples

View source: R/funs.R

Description

Applies the recounter to a dataset split by a grouping variable (see group_splitter). The purpose is to recount observations for each level of a grouping factor

Usage

1
group_split_recounter(data,"behaviorstream","behavior","consequence","actor" )

Arguments

dataframe

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

Note

Function sources Recounter5 (a non-tidyverse friendly legacy version of the recounter)

Examples

1
2
test<-group_splitter(two_person_picture,BEH, "x","A",group = "VIDELT", actor = "TAR")
group_split_recounter(test,behaviorstream = "BEH","x","A",actor = "TAR")

delaneyj1786/REINFORCINATOR documentation built on Jan. 14, 2022, 3:47 a.m.