R/gcoms.R

Defines functions gcoms

Documented in gcoms

gcoms <-
function(x){ # gets a matrix of ss
   rowSums(x[1:3,], na.rm=TRUE) -> gcoss
   rowSums(x[4:6,], na.rm=TRUE) -> n
   gcoss/n 
}

Try the wateRmelon package in your browser

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

wateRmelon documentation built on Nov. 8, 2020, 7:47 p.m.