Learn R Programming

openCR (version 2.2.6)

miscellaneous: Data Manipulation

Description

Miscellaneous functions

Usage

primarysessions(intervals)
secondarysessions(intervals)

Value

primarysessions --

Integer vector with the number of the primary session to which each secondary session belongs.

secondarysessions --

Integer vector with secondary sessions numbered sequentially within primary sessions.

Arguments

intervals

numeric vector of intervals for time between secondary sessions a of robust design

Details

These functions are used internally.

Examples

Run this code

int <- intervals(join(ovenCH))
primary <- primarysessions(int)
primary

# number of secondary sessions per primary
table(primary) 

# secondary session numbers
secondarysessions(int)

Run the code above in your browser using DataLab