combiner: Combiner

Description Usage Arguments Value

Description

This function creates a new code using observations of two chosen behavior codes from the behavior stream

Usage

1
combiner(data, behaviorstream,code1,code2)

Arguments

data

A dataframe or a tibble

behaviorstream

A character vector representing the observation stream. Contains actor behaviors and environmental (or partner) consequences

code 1

A character indicating the first code to be combined. The new code uses code 1.

code 2

A character indiciating the second code to be combined

Value

Returns a tibble where indices in behaviorstream corresponding to code 1 and code 2 are now replaced with code1


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