R/setGpar.R

Defines functions setGpar

Documented in setGpar

setGpar <- function(minLnM=NULL, maxLnM=NULL, minLnSD=NULL, maxLnSD=NULL,
  minRes=NULL, maxRes=NULL) {
  
  if(!missing(minLnM) && !is(minLnM, "numeric") && !is(minLnM, "integer")) {
    stop("Argument 'minLnM' is not of class 'numeric' or 'integer'.")
  }
  if(!missing(maxLnM) && !is(maxLnM, "numeric") && !is(maxLnM, "integer")) {
    stop("Argument 'maxLnM' is not of class 'numeric' or 'integer'.")
  }

  list(minLnM=minLnM, maxLnM=maxLnM, minLnSD=minLnSD, maxLnSD=maxLnSD,
    minRes=minRes, maxRes=maxRes)
}

Try the plgem package in your browser

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

plgem documentation built on Nov. 8, 2020, 5:31 p.m.