I everybody !
I need some help for my little research project this summer. I make a bait trial to measured the capture rate of the small indian mongoose among five different bait. My set up is composed of 15 traps and I want to collect data during 15 days. I want to make a rotation of the bait everyday to make sure that the capture rate according to the different bait type be due to a dietary preference. So, if i have 15 traps and 5 bait types, I want to have 3 traps of each bait everyday. The problem is the following : I find some code on the internet for the "randomized block design", but I don't figured out how to translate that to my situation.
For example, I tried this code :
trt = letters[1:5] # I have 5 treatments (5 bait types)
design.lsd(trt=treatment, r=15)
and the result is the following :
$sketch
[,1] [,2] [,3] [,4] [,5]
[1,] "d" "e" "b" "c" "a"
[2,] "a" "b" "d" "e" "c"
[3,] "b" "c" "e" "a" "d"
[4,] "e" "a" "c" "d" "b"
[5,] "c" "d" "a" "b" "e"
$book
plots row col treatment
1 101 1 1 d
2 102 1 2 e
3 103 1 3 b
4 104 1 4 c
5 105 1 5 a
6 201 2 1 a
7 202 2 2 b
8 203 2 3 d
9 204 2 4 e
10 205 2 5 c
11 301 3 1 b
12 302 3 2 c
13 303 3 3 e
14 304 3 4 a
15 305 3 5 d
16 401 4 1 e
17 402 4 2 a
18 403 4 3 c
19 404 4 4 d
20 405 4 5 b
21 501 5 1 c
22 502 5 2 d
23 503 5 3 a
24 504 5 4 b
25 505 5 5 e
So, I think it's a good start because I randomized my bait types for each traps for everyday, but I search something like that :
Days
Trap 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
1 A
2 C
3 B
4 D
5 E
6 B
7 E
8 A
9 D
10 C
11 C
12 A
13 E
14 B
15 D
I show one colomn to show what kind of table I want to make
I hope that my question was clear and thanks a lot for your help !