R/Elimcomp.R

Defines functions Elimcomp

Documented in Elimcomp

#' Parameters manipulation ?
#' 
#' Parameters manipulation?
#' 
#' 
#' @param parlist List of parameters ?
#' @return Manipulated (shortened ?) parameterlist
#' @note Needs elaboration, \code{selectedpar} warps around this function,
#' where parameter names in \code{nonsetpar} come from is a mystery.
#' @seealso Called by \code{\link{geoplot}}, \code{\link{init}} and
#' \code{\link{selectedpar}}.
#' @keywords device
#' @export Elimcomp
Elimcomp <-
function(parlist){
  txt <- names(parlist)
  txt <- txt[is.na(match(txt,geo::nonsetpar))]
  res <- list()
  for(i in txt) res[[as.character(i)]] <- parlist[[as.character(i)]]
  return(res) 
}

Try the geo package in your browser

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

geo documentation built on May 29, 2017, 5:36 p.m.