R/toUserValues.R

Defines functions toUserValues

Documented in toUserValues

toUserValues <- function(innervalues) {
  innervalues[names(innervalues)=="latt2Ns2"] <- innervalues*blackbox.getOption("Nbfactor")
  innervalues[names(innervalues)=="condS2"] <- innervalues*blackbox.getOption("S2factor")
  return(as.numeric(innervalues)) ## makes sure that the names are lost (since they no longer are all valid: force user to care about this)
}

Try the blackbox package in your browser

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

blackbox documentation built on May 29, 2024, 1:15 a.m.