-
-
Notifications
You must be signed in to change notification settings - Fork 112
/
Dplyr-shrub-volume-data-basics-R.txt
64 lines (58 loc) · 1.78 KB
/
Dplyr-shrub-volume-data-basics-R.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[1] "site" "experiment" "length" "width" "height"
'data.frame': 12 obs. of 5 variables:
$ site : int 1 1 1 2 2 2 3 3 3 4 ...
$ experiment: int 1 2 3 1 2 3 1 2 3 1 ...
$ length : num 2.2 2.1 2.7 3 3.1 2.5 1.9 1.1 3.5 2.9 ...
$ width : num 1.3 2.2 1.5 4.5 3.1 2.8 1.8 0.5 2 2.7 ...
$ height : num 9.6 7.6 2.2 1.5 4 3 4.5 2.3 7.5 3.2 ...
site experiment length width height
1 1 1 2.2 1.3 9.6
2 1 2 2.1 2.2 7.6
3 1 3 2.7 1.5 2.2
4 2 1 3.0 4.5 1.5
5 2 2 3.1 3.1 4.0
6 2 3 2.5 2.8 3.0
length
1 2.2
2 2.1
3 2.7
4 3.0
5 3.1
6 2.5
7 1.9
8 1.1
9 3.5
10 2.9
11 4.5
12 1.2
site experiment
1 1 1
2 1 2
3 1 3
4 2 1
5 2 2
6 2 3
7 3 1
8 3 2
9 3 3
10 4 1
11 4 2
12 4 3
site experiment length width height
1 1 1 2.2 1.3 9.6
2 1 2 2.1 2.2 7.6
3 3 3 3.5 2.0 7.5
4 4 2 4.5 4.8 6.5
site experiment length width height volume
1 1 1 2.2 1.3 9.6 27.456
2 1 2 2.1 2.2 7.6 35.112
3 1 3 2.7 1.5 2.2 8.910
4 2 1 3.0 4.5 1.5 20.250
5 2 2 3.1 3.1 4.0 38.440
6 2 3 2.5 2.8 3.0 21.000
7 3 1 1.9 1.8 4.5 15.390
8 3 2 1.1 0.5 2.3 1.265
9 3 3 3.5 2.0 7.5 52.500
10 4 1 2.9 2.7 3.2 25.056
11 4 2 4.5 4.8 6.5 140.400
12 4 3 1.2 1.8 2.7 5.832