The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

Helpers for argument validation

The match_arg() function

match_arg(
  arg = "lo",
  choices = c("loooong", "else"),
  several.ok = FALSE,
  none.ok = FALSE
)
#> [1] "loooong"

The check_covariance_matrix() function

check_covariance_matrix(
  matrix(c(1, 2, 2, 1), nrow = 2) * -1
)
#> [1] "Must have positive eigenvalues only"

The check_correlation_matrix() function

check_correlation_matrix(
  matrix(c(1, 0, 0, 0), nrow = 2)
)
#> [1] "Must have ones on the diagonal"

The check_transition_probability_matrix() function

check_correlation_matrix(
  matrix(c(1, 1, 0, 1), nrow = 2)
)
#> [1] "Must be symmetric"

The check_probability_vector() function

check_probability_vector(
  1:5 / sum(1:5),
  len = 4
)
#> [1] "Must have length 4, but has length 5"

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.