data_picture_stream: Thesis Picture Data

Description Usage Format Examples

Description

An example dataset to illustrate how reinforcement detection may appear in a one person observation stream. This is based on the single person example in James DeLaney's masters thesis 'Detecting Reinforcement Patterns in the Stream of Observations'.

Usage

1
data("picture_stream")

Format

A data frame with 25 observations on the following 3 variables.

VIDELT

A numeric vector indicating the observational episode

TAR

A character vector indicating the actor being observed

BEH

A character vector indicating the behavior is target ('o'), reinforcer ('A') or behavioral non-target ('x')

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
picture_stream

# Overall Probabilities
#$descriptive_statistics$prob_tar_uncorrected
#[1] 0.56

#$descriptive_statistics$prob_tar_corrected
#[1] 0.6363636

## Recounted Single Data Frame

recounted_picture<-recounter(picture_stream,BEH,"o","A","TAR"
)$recounted_data_frame

## Recounted Contingency Table Stats
recounted_picture_tables <- tables_recount_table(recounted_picture)

#$output_list$avg_prob
#     B_NT       B_T      A_NT       A_T
#0.6348039 0.3651961 0.2684524 0.7315476

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