find_subjects_placebo_obs: Find placebo subjects with positive DV

View source: R/diagnostics.R

find_subjects_placebo_obsR Documentation

Find placebo subjects with positive DV

Description

The data is filtered according to is.placebo & condition, along with EVID==0 (to only query observations) and the unique subject IDs satisfying all conditions are returned. Condition may be a compound test, such as "DV>0 & CMT==2".

Usage

find_subjects_placebo_obs(.data, is.placebo, condition = "DV>0",
  ID = "ID")

Arguments

.data

a data.frame or tbl object

is.placebo

An R expression, as character, that is used to determine if a subject is a placebo subject.

condition

An R expression, as character, that is tested for the placebo subjects.

ID

A character value giving the column containing subject IDs

Value

a single column tbl with unique IDs for placebo subjects meeting the criteria


qPharmetra/PMDatR documentation built on April 7, 2024, 5:42 p.m.