R/CVt.R

# Coeficiente de variacao


CVt <- function(time, nger) {

  #gerar dados nao acumulados
  n <- nger[1]
  for (i in 2:length(nger)) {
    n <- c(n, nger[i] - nger[i-1])
  }

  tm <- MGT(time,nger)

  result <- sqrt(VarGer(time,nger))/tm*100

  return(result)

}

Try the SeedCalc package in your browser

Any scripts or data that you put into this service are public.

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