hello,
i can't figure out how to set position of panels of my stripplot -
i`d like the panels of one level of the factor stage (nr. of panels within
each stage, A: 12, B: 12, C: 12, D: 4, each panel representing a site) to be
in one column, with A to D from left to right and with descending site.nr at
each row.
like:
A1 B1 C1 D1
A2 B2 .. ..
A3 .. ..
..
how is this achieved?
any help with this would be greatly appreciated.
yours,
kay
my code:
library(lattice)
stripplot(jitter(log(rich+1),0.1) ~ as.factor(gap) | site, data=richness,
groups = plot,
strip = strip.custom(strip.names = c(F,T)),
ylab="log(Richness)",
type = c("p", "a"),col=1,
scales = list(y=list(cex=c(rep(0.5,39))),x = list(rot
90,labels=c("Surr.","Gap"))))
my data:
stage site plot gap rich
A A12 A12SW 0 0
A A11 A11NO 0 2
A A11 A11NW 0 3
A A11 A11SO 0 2
A A11 A11SW 0 2
A A12 A12NO 0 1
A A12 A12NW 0 2
A A12 A12SO 0 1
A A14 A14NO 0 1
A A14 A14NW 0 1
A A14 A14SO 0 1
A A14 A14SW 0 0
A A15 A15NO 0 1
A A15 A15NW 0 3
A A15 A15SO 0 3
A A15 A15SW 0 3
A A16 A16NW 0 1
A A17 A17NO 0 2
A A17 A17NW 0 3
A A17 A17SO 0 7
A A17 A17SW 0 4
A A18 A18NW 0 2
A A18 A18SO 0 1
A A18 A18SW 0 3
A A19 A19NO 0 2
A A19 A19NW 0 2
A A19 A19SO 0 2
A A19 A19SW 0 2
A A20 A20NO 0 3
A A20 A20NW 0 4
A A20 A20SO 0 1
A A20 A20SW 0 1
A A5 A5NO 0 2
A A5 A5NW 0 1
A A5 A5SO 0 3
A A5 A5SW 0 1
A A7 A7NO 0 1
A A7 A7NW 0 2
A A7 A7SO 0 0
A A7 A7SW 0 0
A A8 A8NO 0 3
A A8 A8NW 0 1
A A8 A8SO 0 0
A A8 A8SW 0 1
B B1 B1NO 0 3
B B1 B1O 0 2
B B1 B1SW 0 3
B B12 B12NO 0 5
B B12 B12NW 0 6
B B12 B12SO 0 7
B B12 B12SW 0 2
B B13 B13NO 0 5
B B13 B13NW 0 8
B B13 B13SO 0 10
B B13 B13SW 0 10
B B14 B14NO 0 9
B B14 B14NW 0 3
B B14 B14SO 0 9
B B14 B14SW 0 6
B B15 B15NO 0 2
B B15 B15NW 0 5
B B15 B15SO 0 1
B B15 B15SW 0 6
B B17 B17NW 0 8
B B17 B17SW 0 7
B B18 B18NO 0 7
B B18 B18NW 0 2
B B18 B18SO 0 6
B B18 B18SW 0 7
B B2 B2NO 0 5
B B2 B2NW 0 3
B B2 B2SO 0 2
B B2 B2SW 0 3
B B4 B4NO 0 9
B B4 B4NW 0 9
B B4 B4SO 0 9
B B4 B4SW 0 9
B B7 B7NO 0 5
B B7 B7NW 0 7
B B7 B7SO 0 4
B B7 B7SW 0 2
B B8 B8NO 0 8
B B8 B8NW 0 4
B B8 B8SW 0 8
B B9 B9NO 0 5
B B9 B9NW 0 8
B B9 B9SO 0 5
B B9 B9SW 0 3
C C1 C1NO 0 7
C C1 C1NW 0 6
C C1 C1SO 0 7
C C1 C1SW 0 8
C C10 C10NO 0 6
C C10 C10NW 0 7
C C10 C10SO 0 5
C C10 C10SW 0 6
C C11 C11NO 0 10
C C11 C11NW 0 10
C C11 C11SO 0 15
C C11 C11SW 0 10
C C15 C15NO 0 11
C C15 C15NW 0 5
C C15 C15SO 0 10
C C15 C15SW 0 6
C C17 C17NW 0 7
C C17 C17SO 0 7
C C17 C17SW 0 10
C C18 C18NO 0 7
C C18 C18NW 0 11
C C18 C18SO 0 6
C C18 C18SW 0 4
C C19 C19NO 0 4
C C19 C19SW 0 6
C C2 C2NO 0 5
C C2 C2NW 0 6
C C2 C2SO 0 5
C C2 C2SW 0 5
C C20 C20NO 0 8
C C20 C20NW 0 5
C C20 C20SO 0 5
C C20 C20SW 0 7
C C3 C3NO 0 5
C C3 C3NW 0 9
C C3 C3SO 0 8
C C3 C3SW 0 6
C C4 C4NO 0 9
C C4 C4NW 0 3
C C4 C4SO 0 4
C C4 C4SW 0 8
C C6 C6NO 0 9
C C6 C6SO 0 7
C C6 C6SW 0 10
C C6 C6W 0 9
D D1 D1NO 0 9
D D1 D1SO 0 12
D D4 D4NO 0 10
D D4 D4NW 0 12
D D4 D4SO 0 12
D D4 D4SW 0 13
D D7 D7NO 0 11
D D7 D7NW 0 9
D D7 D7SO 0 9
D D7 D7SW 0 9
A A12 A12SW 1 0
A A11 A11NO 1 2
A A11 A11NW 1 1
A A11 A11SO 1 4
A A11 A11SW 1 2
A A12 A12NO 1 2
A A12 A12NW 1 1
A A12 A12SO 1 1
A A14 A14NO 1 1
A A14 A14NW 1 1
A A14 A14SO 1 1
A A14 A14SW 1 1
A A15 A15NO 1 1
A A15 A15NW 1 2
A A15 A15SO 1 2
A A15 A15SW 1 3
A A16 A16NW 1 1
A A17 A17NO 1 7
A A17 A17NW 1 4
A A17 A17SO 1 2
A A17 A17SW 1 4
A A18 A18NW 1 2
A A18 A18SO 1 2
A A18 A18SW 1 3
A A19 A19NO 1 1
A A19 A19NW 1 3
A A19 A19SO 1 1
A A19 A19SW 1 1
A A20 A20NO 1 1
A A20 A20NW 1 2
A A20 A20SO 1 2
A A20 A20SW 1 3
A A5 A5NO 1 2
A A5 A5NW 1 1
A A5 A5SO 1 2
A A5 A5SW 1 1
A A7 A7NO 1 1
A A7 A7NW 1 2
A A7 A7SO 1 2
A A7 A7SW 1 0
A A8 A8NO 1 3
A A8 A8NW 1 2
A A8 A8SO 1 2
A A8 A8SW 1 3
B B1 B1NO 1 1
B B1 B1O 1 2
B B1 B1SW 1 2
B B12 B12NO 1 4
B B12 B12NW 1 5
B B12 B12SO 1 4
B B12 B12SW 1 5
B B13 B13NO 1 7
B B13 B13NW 1 6
B B13 B13SO 1 4
B B13 B13SW 1 9
B B14 B14NO 1 5
B B14 B14NW 1 2
B B14 B14SO 1 2
B B14 B14SW 1 0
B B15 B15NO 1 3
B B15 B15NW 1 6
B B15 B15SO 1 1
B B15 B15SW 1 4
B B17 B17NW 1 3
B B17 B17SW 1 3
B B18 B18NO 1 4
B B18 B18NW 1 2
B B18 B18SO 1 5
B B18 B18SW 1 7
B B2 B2NO 1 4
B B2 B2NW 1 2
B B2 B2SO 1 1
B B2 B2SW 1 1
B B4 B4NO 1 5
B B4 B4NW 1 4
B B4 B4SO 1 4
B B4 B4SW 1 4
B B7 B7NO 1 1
B B7 B7NW 1 2
B B7 B7SO 1 1
B B7 B7SW 1 2
B B8 B8NO 1 6
B B8 B8NW 1 5
B B8 B8SW 1 10
B B9 B9NO 1 1
B B9 B9NW 1 4
B B9 B9SO 1 4
B B9 B9SW 1 1
C C1 C1NO 1 3
C C1 C1NW 1 5
C C1 C1SO 1 4
C C1 C1SW 1 4
C C10 C10NO 1 4
C C10 C10NW 1 4
C C10 C10SO 1 4
C C10 C10SW 1 3
C C11 C11NO 1 3
C C11 C11NW 1 5
C C11 C11SO 1 9
C C11 C11SW 1 4
C C15 C15NO 1 5
C C15 C15NW 1 6
C C15 C15SO 1 7
C C15 C15SW 1 4
C C17 C17NW 1 5
C C17 C17SO 1 4
C C17 C17SW 1 7
C C18 C18NO 1 4
C C18 C18NW 1 6
C C18 C18SO 1 5
C C18 C18SW 1 2
C C19 C19NO 1 3
C C19 C19SW 1 2
C C2 C2NO 1 6
C C2 C2NW 1 1
C C2 C2SO 1 4
C C2 C2SW 1 5
C C20 C20NO 1 6
C C20 C20NW 1 3
C C20 C20SO 1 5
C C20 C20SW 1 4
C C3 C3NO 1 4
C C3 C3NW 1 3
C C3 C3SO 1 2
C C3 C3SW 1 4
C C4 C4NO 1 1
C C4 C4NW 1 4
C C4 C4SO 1 3
C C4 C4SW 1 4
C C6 C6NO 1 3
C C6 C6SO 1 6
C C6 C6SW 1 2
C C6 C6W 1 9
D D1 D1NO 1 8
D D1 D1SO 1 10
D D4 D4NO 1 5
D D4 D4NW 1 7
D D4 D4SO 1 10
D D4 D4SW 1 7
D D7 D7NO 1 7
D D7 D7NW 1 4
D D7 D7SO 1 5
D D7 D7SW 1 5
-----
------------------------
Kay Cichini
Postgraduate student
Institute of Botany
Univ. of Innsbruck
------------------------
--
View this message in context:
http://r.789695.n4.nabble.com/stripplot-lattice-tp2232908p2232908.html
Sent from the R help mailing list archive at Nabble.com.