Hello,
i use ggplot to plot some measures including CIs as horizontal errorbars. I get
an error when the scale limits are narrower than the boundaries of the error
bar and hence the CIs are not plotted.
library(ggplot2)
df - data.frame(resp=c(1,2), k=c(1,2), se=c(1,2))
ggplot(df,
Fischer, Felix Felix.Fischer at charite.de writes:
Hello,
i use ggplot to plot some measures including CIs as horizontal
errorbars. I get an error when the scale
limits are narrower than the boundaries of the error bar and
hence the CIs are not plotted.
library(ggplot2)
df -
Dear Ben,
great, works fine! I guess, the error occurs because data outside the scale
limits is thrown away as stated in ?coord_cartesian .
Thanks,
Felix
From: Ben Bolker
bbolker_at_gmail.commailto:bbolker_at_gmail.com?Subject=Re:%20[R]%20break%20error%20bars%20in%20ggplot2
Date: Tue, 15
3 matches
Mail list logo