R/qual.R

Defines functions qual

Documented in qual

qual <- function(norm,raw){ # normalized and original betas
  dif  <- norm - raw
  rmsd <- sqrt(colMeans(dif^2, na.rm=TRUE))
  sdd  <- apply(dif, 2, sd, na.rm=TRUE) 
  sadd  <- apply(abs(dif), 2, sd, na.rm=TRUE) 
  srms <- rmsd/sdd
  data.frame(rmsd,sdd,sadd,srms) 
}

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.