set_groups: Set ScreenR groups

set_groupsR Documentation

Set ScreenR groups

Description

Set function for the groups of the ScreenR object

Usage

set_groups(object, groups)

## S4 method for signature 'screenr_object'
set_groups(object, groups)

Arguments

object

The ScreenR object obtained using the create_screenr_object

groups

The treatment and control groups

Value

The ScreenR object containing the group field

Examples

object <- get0("object", envir = asNamespace("ScreenR"))
groups <- get_groups(object)
set_groups(object, groups)

EmanuelSoda/ScreenR documentation built on Sept. 29, 2023, 12:33 a.m.