You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Geom_density, geom_barplot, geom_histogram and geom_barplot all support aes weight. Stat_ellipse() doesnt support.
I figured out that data[rep(data$rownumber,data$weight),] is a workaround, but that doesnt work too well(or at all) when weights are large. Scaling the weights could work, but then it would lose the accuracy of original data.
Would it be possible to add stat_ellipse() to suppport weight aesthetics?
The text was updated successfully, but these errors were encountered:
I'm not familiar with the theory behind these data ellipses, but would this be as simple as passing weights to the stats::cov.wt()/MASS::cov.trob() functions in the lines below?
Geom_density, geom_barplot, geom_histogram and geom_barplot all support aes weight. Stat_ellipse() doesnt support.
I figured out that data[rep(data$rownumber,data$weight),] is a workaround, but that doesnt work too well(or at all) when weights are large. Scaling the weights could work, but then it would lose the accuracy of original data.
Would it be possible to add stat_ellipse() to suppport weight aesthetics?
The text was updated successfully, but these errors were encountered: