Learn R Programming

pridit (version 1.1.0)

test: Test dataset for PRIDIT analysis

Description

A sample dataset containing health quality metrics for 5 healthcare providers, used to demonstrate the PRIDIT scoring methodology.

Usage

test

Arguments

Format

A data frame with 5 rows and 4 variables:

ID

Character. Unique identifier for each healthcare provider (A through E)

Smoking_cessation

Numeric. Smoking cessation counseling rate (0.85-1.0)

ACE_Inhibitor

Numeric. ACE inhibitor prescription rate (0.90-1.0)

Proper_Antibiotic

Numeric. Proper antibiotic usage rate (0.98-1.0)

Examples

Run this code
data(test)
head(test)

# Calculate PRIDIT scores
ridit_scores <- ridit(test)
weights <- PRIDITweight(ridit_scores)
final_scores <- PRIDITscore(ridit_scores, test$ID, weights)

Run the code above in your browser using DataLab