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

ggdistribution #166

Open
dax44 opened this issue May 17, 2017 · 3 comments
Open

ggdistribution #166

dax44 opened this issue May 17, 2017 · 3 comments

Comments

@dax44
Copy link

dax44 commented May 17, 2017

Why
ggdistribution(ppois, seq(0, 30), lambda = 20)
gives me continous function?

@sinhrks
Copy link
Owner

sinhrks commented May 23, 2017

Thx for the report. It is caused by the line is drawned with geon line or ribbon. It should use step for discrete distributions.

p <- p + geom_factory(geom_ribbon, object, colour = colour,

PR is appreciated:)

@lselzer
Copy link
Contributor

lselzer commented Jul 3, 2017

If it plots the probability of a discrete distribution then it should be points or a thin line. And I have an issue with the percentage in the Y axis with the pdf of continous distribution as it seems to imply that this is a probability.

Anyway, do you guys think it would be possible to infer if its a discrete distribution otherwise than checking the call?

@terrytangyuan
Copy link
Collaborator

@lselzer I think we'll have to check the call to infer whether it's discrete or not since results from stats does not give that information to us directly.

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

No branches or pull requests

3 participants