printscheme: Provide Experimental Scheme

Description Usage Arguments Details Value Examples

View source: R/managephase.R

Description

printscheme() returns a data frame of concurrent experimental contingencies with variables describing them.

Usage

1
printscheme(A, sorted = T, sep = "x")

Arguments

A

data frame

sorted

logical. indicates whether a contingency label should consist of sorted values

sep

character. a separator used in a contingency label

Details

An experimental task consists of subsequent changes of reward probabilisty to corner assignment (contingency). Here the total set of data-driven contingencies are stored in a single data frame.

Value

data frame

contingency

number of contingency <int>

'1/2/3/4'

corners reward proabilities <dbl>

start

time of first visit made under the contingency <dttm>

end

time od last visit made under the contingency <dttm>

duration

difference in time between start and end <difftime>

label

label of the contingency

Examples

1

jmjablons/icager documentation built on Aug. 19, 2020, 8:10 p.m.