R/one_limit.R

Defines functions one_limit

Documented in one_limit

#' Creates the limits for one condition
#' \code{one_limit} creates the limits for one condition
#' @keywords internal
#' @export
one_limit <- function(d, x, xmin, xmax, log) {
  if (is.null(xmin)) xmin <- min(d[[x]])
  if (is.null(xmax)) xmax <- max(d[[x]])
  data.frame(xmin, xmax)
}

Try the quickpsy package in your browser

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

quickpsy documentation built on Oct. 2, 2019, 5:03 p.m.