Pharmacoecon.me
Pharmacoecon.me
Home
Posts
Publications
Contact
Posts
Matching: Propensity & Direct
Matching with {MatchIt} Many observational studies that are published try to balance the demographic and clinical characteristics that …
Last updated on Dec 12, 2021
6 min read
MatchIt
Bar chart with confidence intervals
Publication-ready bar chart with {ggplot2} I haven’t posted anything useful in a while so I decided to make a post that will hopefully …
Last updated on Nov 22, 2021
4 min read
ggplot
Generating publication ready tables with {gtsummary} and {flextable}
Publication-ready tables with {gtsummary} and {flextable} So, I’ve been using R for a while now and I haven’t really found a good …
Last updated on May 4, 2021
13 min read
R
,
gtsummary
,
flextable
tidymodels vs mlr3
Comparison of packages for prediction: {tidymodels} vs. {mlr3} So I wrote a lot of prediction code for my dissertation using {caret} …
Last updated on May 1, 2021
16 min read
R
,
machine learning
,
mlr3
,
tidymodels
Sample Size Calculation with R Extended
Sample Size Caluclation in R… Extended! This is an extension from a post I saw here. When thinking about study designs for a trial that …
Last updated on Apr 29, 2021
4 min read
Sample Size
,
Power
,
R
Tidy evaluation
Tidy evaluation… extended! This is an extension from a post I saw here. There are several instances when I want to be able to use …
Last updated on Apr 22, 2021
3 min read
R
,
tidy
,
evaluation
Timeline Graph
Timeline graphs… extended! So, I was checking a few online forums and I found someone asking about replicating a timeline graph and I …
Last updated on Apr 18, 2021
5 min read
R
,
timelinegraph
,
ggplot
Resolving blogdown error issue
Problem: Error when compiling Hugo using ‘Academic’ template It’s been a while since I’ve updated my website and I sorta expected that …
Last updated on Feb 27, 2021
1 min read
hugo
,
blodown
{caret} custom function implementation
Problem: Optimal Probability Threshold It’s been a while! I’m writing this post for a couple of reasons. I don’t want to only be …
Last updated on Apr 12, 2020
13 min read
R
,
predictive modeling
,
caret
Tidy simulation!
Simulations? But… why? When I was taking classess at University of Colorado Anschutz Medical Campus, I was one of those guys that was …
Last updated on Jan 18, 2020
4 min read
R
,
simulation
»
Cite
×