# NOT RUN {
library(dplyr)
data(g2016)
transmute(g2016,
st,
ddc = ddc(mu = pct_djt_voters,
muhat = cces_pct_djt_vv,
N = tot_votes,
n = cces_n_vv))
# }
Run the code above in your browser using DataLab