pm: Weight loss

Description Usage Arguments Details Author(s) Examples

View source: R/pm_function.R

Description

The pm function calculates mass loss over time, this variable being widely used in post-harvest experiments on fruits and vegetables

Usage

1
pm(dados, trat, save = FALSE)

Arguments

dados

Data.frame composed of the answers in each time in columns.

trat

Vector with the names of the treatments with the repetitions

save

save of excel

Details

Weight loss

Author(s)

Gabriel Danilo Shimizu

Examples

1
2
3
4
5
6
7
8
9
dia7=c(45,47,50, 48,49,50, 50,50,49)
dia14=c(30,35,32, 40,41,44, 46,48,50)
dia21=c(14,20,16, 25,26,28, 30,31,33)
dia28=c(4,5,6, 8,9,8, 14,15,16)
dia35=c(0,2,1, 4,5,6, 2,3,2)
dados=data.frame(dia7,dia14,dia21,dia28,dia35)
trat=rep(c("T1","T2","T3"),e=3)
tempo=c(7,14,21,28,35)
pm(dados,trat)

AgronomiaR/iagro documentation built on April 16, 2020, 10:54 p.m.