Learn R Programming

secuTrialR (version 1.1.1)

get_participants: Retrieves participants present in secuTrialdata

Description

Given a secuTrialdata object, this function simply returns a list of participants. Information included are participant IDs and corresponding study centre information, if available.

Usage

get_participants(dat)

Value

data.frame containing participants present in dat

Arguments

dat

secuTrialdata object containing participant IDs and centre information

Examples

Run this code

path <- system.file("extdata", "sT_exports", "exp_opt",
                    "s_export_CSV-xls_CTU05_all_info.zip",
                    package = "secuTrialR")
sT_export <- read_secuTrial(path)

# show participants
participants <- get_participants(sT_export)

Run the code above in your browser using DataLab