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

The precedence of partial name matching over the ellipses #1485

ecoRoland opened this Issue Jan 13, 2016 · 0 comments


None yet
1 participant

ecoRoland commented Jan 13, 2016

This leads to trouble when trying to pass n to stat_density2d in geom_density2d.

df <- data.frame(x=runif(100),y=runif(100))
ggplot(df,aes(x,y)) + geom_density2d(stat='density2d', n = 100) 
#Error: is.logical(na.rm) is not TRUE

ggplot(df,aes(x,y)) + geom_density2d(stat='density2d', na.rm = TRUE, n = 100) 

Reported here:

@hadley hadley closed this in 28f8ae4 Jan 25, 2016

@lock lock bot locked as resolved and limited conversation to collaborators Jun 19, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.