likert
likert copied to clipboard
plyr not loaded prior to using ddply in plot bar w/ percents
when plot.percents=TRUE
I get error: Error in ddply(results[results$value > 0, ], .(Item), transform, pos = cumsum(value) - : could not find function "ddply"
This is coming from here, I think just putting plyr::ddply
in there would fix the problem:
https://github.com/jbryer/likert/blob/a7cb925596dd67977a15d9912e3c4783467e8c1e/R/plot.likert.bar.r#L299
This is just to say that @mjsobrep is absolutely right. I've just made those changes to a cloned repo, and used that in place of the official dev release of the library and it resolves the issue. See here: https://github.com/jbryer/likert/compare/master...kidwellj:likert:master