mean_razao: Ratio Root-Shoot Length

Description Usage Arguments Examples

Description

It calculates the Mean Ration Root-Shoot Length

Usage

1

Arguments

lengths

A data.frame object containing seedling lengths data with four columns. The first and second columns are for identification, e.g. treatments and repetitions. The third is the shoot length and the fourth is the root length.

Examples

1
2
3
4
5
6
7
8
9
Seedling <- data.frame(
LOTE = c(1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2),
REP = c(1, 1, 1, 1, 2, 2, 2, 1, 1, 1, 1, 2, 2, 2, 2),
SH = c(0.00, 2.77, 1.18, 1.07, 0.80, 2.65, 3.51, 0.64, 2.77, 1.18, 1.07, 0.80, 2.65, 3.51, 1.98),
ROOT = c(4.86, 6.71, 7.88, 3.68, 9.68, 8.88, 9.85, 4.86, 6.71, 7.88, 3.68, 9.68, 8.88, 9.85, 8.75)
)
print(Seedling)
RSL <- mean_razao(Seedling)
RSL

Example output

   LOTE REP   SH ROOT
1     1   1 0.00 4.86
2     1   1 2.77 6.71
3     1   1 1.18 7.88
4     1   1 1.07 3.68
5     1   2 0.80 9.68
6     1   2 2.65 8.88
7     1   2 3.51 9.85
8     2   1 0.64 4.86
9     2   1 2.77 6.71
10    2   1 1.18 7.88
11    2   1 1.07 3.68
12    2   2 0.80 9.68
13    2   2 2.65 8.88
14    2   2 3.51 9.85
15    2   2 1.98 8.75
[1] 4.207299

SeedCalc documentation built on May 2, 2019, 8:26 a.m.