Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plyr not loaded prior to using ddply in plot bar w/ percents #114

Open
mjsobrep opened this issue Oct 1, 2020 · 1 comment
Open

plyr not loaded prior to using ddply in plot bar w/ percents #114

mjsobrep opened this issue Oct 1, 2020 · 1 comment

Comments

@mjsobrep
Copy link

mjsobrep commented Oct 1, 2020

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:

lpercentpos <- ddply(results[results$value > 0,], .(Item), transform,

@kidwellj
Copy link

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: master...kidwellj:likert:master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants