range.murphydiag: Range of values in Murphy diagrams

Description Usage Arguments Value

View source: R/print_summary.R

Description

Retrieve the range of knots and/or values across all entries of one or multiple 'murphydiag' objects. Other objects are coerced by as.murphydiag.

Usage

1
2
3
## S3 method for class 'murphydiag'
range(..., dim = c("knots", "values"),
  na.rm = FALSE)

Arguments

...

one or multiple objects inheriting from the class 'murphydiag'.

dim

a character vector that specifies along which dimensions the range should be computed.

na.rm

for compatibility with the S3 generic function.

Value

a numeric vector of the form c(k1, k2, v1, v2), where

  1. the smallest knot k1 and largest knot k2 are dropped if dim does not contain the string "knots",

  2. the smallest value v1 and largest value v2 are dropped if dim does not contain the string "values".


aijordan/murphydiagram2 documentation built on Jan. 1, 2020, 3:08 p.m.