expect_delay_matrix_sums_lte_1: Test whether a delay matrix columns sum to less than one.

View source: R/utils-testing.R

expect_delay_matrix_sums_lte_1R Documentation

Test whether a delay matrix columns sum to less than one.

Description

Test whether a delay matrix columns sum to less than one.

Usage

expect_delay_matrix_sums_lte_1(matrix, full_cols = 0, tolerance = 0.001)

Arguments

matrix

input matrix

full_cols

number of full columns. Full columns must sum to 1.

tolerance

tolerance on the result

Value

TRUE if test passed


covid-19-Re/estimateR documentation built on Sept. 14, 2024, 5:49 a.m.