row.names | TSLD | STDY | Lower | Median | Upper | |
|---|---|---|---|---|---|---|
| 1 | 1 | 0.5 | 1052 | 1.19641540 | 3.3838900 | 9.0630550 |
| 2 | 6 | 1.0 | 1052 | 4.12836550 | 9.0883050 | 20.9402550 |
| 3 | 21 | 2.0 | 1052 | 10.40936150 | 20.7429000 | 38.2269500 |
| 4 | 31 | 3.0 | 1052 | 13.81247000 | 25.8043500 | 49.5525400 |
| 5 | 41 | 4.0 | 1052 | 14.38124900 | 30.5491500 | 52.0644200 |
| 6 | 51 | 5.0 | 1052 | 17.26439500 | 32.7088500 | 53.5060900 |
| 7 | 56 | 6.0 | 1052 | 15.36085500 | 30.2970500 | 58.9952550 |
| 8 | 61 | 8.0 | 1052 | 12.89921400 | 27.6986500 | 48.2900400 |
| 9 | 11 | 10.0 | 1052 | 13.02331000 | 24.0000000 | 43.8901450 |
| 10 | 16 | 12.0 | 1052 | 8.75698750 | 18.6719500 | 35.6992900 |
| 11 | 26 | 24.0 | 1052 | 1.28438195 | 4.0495450 | 13.1873085 |
| 12 | 36 | 36.0 | 1052 | -0.01262037 | 0.7028475 | 3.4038680 |
| 13 | 46 | 48.0 | 1052 | -0.04845877 | 0.2221467 | 0.8821970 |
| 14 | 2 | 0.5 | 1053 | 1.53637560 | 3.3497100 | 7.5664380 |
| 15 | 7 | 1.0 | 1053 | 4.06748750 | 8.7932550 | 20.1453500 |
| 16 | 22 | 2.0 | 1053 | 9.25480000 | 19.4430000 | 36.8088850 |
row.names | ID | STDY | SSM | TSLD | DOSE | CONC | |
|---|---|---|---|---|---|---|---|
| 1 | 12030 | 52001 | 1052 | 0 | 0.50 | 100 | 6.490 |
| 2 | 12031 | 52001 | 1052 | 0 | 1.00 | 100 | 23.300 |
| 3 | 12032 | 52001 | 1052 | 0 | 2.00 | 100 | 47.500 |
| 4 | 12033 | 52001 | 1052 | 0 | 3.00 | 100 | 62.600 |
| 5 | 12034 | 52001 | 1052 | 0 | 4.00 | 100 | 72.500 |
| 6 | 12035 | 52001 | 1052 | 0 | 5.00 | 100 | 50.600 |
| 7 | 12036 | 52001 | 1052 | 0 | 6.00 | 100 | 42.300 |
| 8 | 12037 | 52001 | 1052 | 0 | 8.00 | 100 | 56.700 |
| 9 | 12038 | 52001 | 1052 | 0 | 10.00 | 100 | 36.500 |
| 10 | 12039 | 52001 | 1052 | 0 | 12.00 | 100 | 22.900 |
| 11 | 12040 | 52001 | 1052 | 0 | 24.00 | 100 | 2.730 |
| 12 | 12041 | 52001 | 1052 | 0 | 36.00 | 100 | 0.443 |
| 13 | 12045 | 52001 | 1052 | 0 | 0.50 | 100 | 4.760 |
| 14 | 12046 | 52001 | 1052 | 0 | 1.00 | 100 | 23.800 |
| 15 | 12047 | 52001 | 1052 | 0 | 2.00 | 100 | 41.600 |
| 16 | 12048 | 52001 | 1052 | 0 | 3.00 | 100 | 55.200 |
| 17 | 12049 | 52001 | 1052 | 0 | 4.00 | 100 | 65.200 |
| 18 | 12050 | 52001 | 1052 | 0 | 5.00 | 100 | 70.100 |
| 19 | 12051 | 52001 | 1052 | 0 | 6.00 | 100 | 61.900 |
| 20 | 12052 | 52001 | 1052 | 0 | 8.00 | 100 | 45.300 |
Dear users,
I am using ggplot2 version 0.8.9 and I am encountering an error message "Error in eval(expr, envir, enclos) : object 'Lower' not found" with the following code to draw a graph with ribbons and points,
ggplot(qSum,aes(x=TSLD,ymin=Lower,ymax=Upper))+geom_ribbon(alpha=0.5,fill="blue")+
geom_point(data=nmData2,aes(TSLD,CONC))+
facet_wrap(~STDY,scales = "free")
The weird thing is that if remove the geom_point line, it works and the code is able to draw ribbons:
ggplot(qSum,aes(x=TSLD,ymin=Lower,ymax=Upper))+geom_ribbon(alpha=0.5,fill="blue")+
#geom_point(data=nmData2,aes(TSLD,CONC))+
facet_wrap(~STDY,scales = "free")
It was also confirmed that without geom_ribbon, the code for geom_points also works. Can anyone help to figure out what is the problem here. Thanks in advance!
qSum data looks like this
--
You received this message because you are subscribed to the ggplot2 mailing list.
Please provide a reproducible example: https://github.com/hadley/devtools/wiki/Reproducibility
To post: email ggp...@googlegroups.com
To unsubscribe: email ggplot2+u...@googlegroups.com
More options: http://groups.google.com/group/ggplot2