Evans Codjoe
2025-09-19
- Accepts weight in pounds
- Adjusts for age, gender, frequency, and concentration
- Calculates total daily dose, dose per administration, and volume per dose
- Displays results and a visual bar chart
- Clinically relevant and beginner-friendly
- Helps users understand weight-based dosing
- Can be expanded for pediatric logic or max dose limits
- Useful for students, clinicians, and caregivers
# Sample dosage calculation
weight_lbs <- 154
weight_kg <- weight_lbs * 0.453592
dose_mg <- weight_kg * 15 # Paracetamol
dose_mg
## [1] 1047.798
## Sample Dosage vs. Weight Plot
weight_lbs <- seq(50, 250, by = 10)
weight_kg <- weight_lbs * 0.453592
dose_mg <- weight_kg * 15 # Paracetamol
plot(weight_lbs, dose_mg, type = "l", col = "blue", lwd = 2,
xlab = "Weight (lbs)", ylab = "Dosage (mg)",
main = "Paracetamol Dosage by Weight")
Ready to explore the Medication Dosage Calculator? Use the links below to interact with the app, view the source code, and revisit this presentation.
🌐 Live App: https://emajor.shinyapps.io/MedDosageApp/
💻 GitHub Repo: https://github.com/Emajor1/MedDosage-App
Thank you for viewing! This app was designed to make clinical dosing safer, simpler, and more accessible