Learn R Programming

ForCausality (version 0.1.0)

Pain_df: Chronic Pain Clinical Trial Data

Description

This dataset, Pain_df, is a data frame containing clinical trial data for chronic pain treatments. The trial compared active treatment versus placebo across different clinical centers and diagnoses. The dataset consists of 193 observations and 4 variables. Some observations may contain missing values.

Usage

data(Pain_df)

Arguments

Format

A data frame with 193 observations and 4 variables:

treat

Treatment group (factor: active vs placebo)

response

Response outcome (factor)

center

Clinical trial center (factor)

diagnosis

Diagnosis category (factor)

Details

The dataset name has been kept as 'Pain_df' to avoid confusion with other datasets in the R ecosystem. This naming convention helps distinguish this dataset as part of the ForCausality package and assists users in identifying its specific characteristics. The suffix 'df' indicates that the dataset is a data frame. The original content has not been modified in any way.