standardize_treatment_assigments: Make two treatments consistently assigned to either treatment...

Description Usage Arguments Value

View source: R/synergy.R

Description

Will raise an error if there are more than two unique treatments in the dataset. Applied across all hours and plate IDs.

Usage

1
standardize_treatment_assigments(D, treatment_1, treatment_2)

Arguments

D

dataset

treatment_1

String corresponding to the treatment to ensure is in the "treatment" column

treatment_2

String corresponding to the treatment to ensure is in the "treatment_2" column

Value

A dataset with the same values as the dataset passed in as a parameter, but the treatment column will always be vehicle for treatment 1 or the value passed for treatment_1, and the treatment_2 column will always be the vehicle for treatment 2 or the value passed for treatment_2.


DavidQuigley/HTDoseResponseCurve documentation built on Jan. 23, 2021, 5:10 a.m.