Hello all!
I want to make a barplot with ggplot2.
I want to view in the same chart the semn values (significant values
(pointer over 50)). I try this code, but only for pointer values.
ggplot(data, aes(x = Year, y = pointer))   + geom_bar(stat="identity")

please help me with this problem.


I use this data:
Year variable pointer variable semn
1 1901 neg 0.00 sneg NA
2 1902 neg 0.00 sneg NA
3 1903 neg 0.00 sneg NA
4 1904 neg 0.00 sneg NA
5 1905 neg -100.00 sneg -100.00
6 1906 neg -100.00 sneg -100.00
7 1907 neg -50.00 sneg NA
8 1908 neg -66.67 sneg -66.67
9 1909 neg 0.00 sneg NA
10 1910 neg -66.67 sneg -66.67
112 1901 poz 0.00 spoz NA
113 1902 poz 100.00 spoz 100.00
114 1903 poz 100.00 spoz 100.00
115 1904 poz 0.00 spoz NA
116 1905 poz 0.00 spoz NA
117 1906 poz 0.00 spoz NA
118 1907 poz 50.00 spoz NA
119 1908 poz 33.33 spoz NA
120 1909 poz 33.33 spoz NA
121 1910 poz 33.33 spoz NA



Thank you very much!

-- 
---
Catalin-Constantin ROIBU
Lecturer PhD, Forestry engineer
Forestry Faculty of Suceava
Str. Universitatii no. 13, Suceava, 720229, Romania
office phone     +4 0230 52 29 78, ext. 531
mobile phone   +4 0745 53 18 01
                       +4 0766 71 76 58
FAX:                +4 0230 52 16 64
silvic.usv.ro

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to