Returns a [7,5] matrix with a default selection of LWF-Brook90 output data sets for the use as 'output'-argument run_LWFB90.

set_outputLWFB90(output = NULL, edit = FALSE)

Arguments

output

optional [7,5]-matrix, which is opened on R's data-editor if edit = TRUE. If no matrix is passed, a default selection of output values is returned opened in R's data-editor.

edit

open R's data-editor ?

Value

a [7,5]-matrix containing 0 and 1 for use as output-argument in run_LWFB90

Examples

# create matrix with default selection
output <- set_outputLWFB90()
output
#>      Ann Mon Day Pre ITR
#> Budg   0   0   0   0   0
#> Flow   0   0   0   0   0
#> Evap   1   1   1   0   0
#> Abov   0   0   0   0   0
#> Belo   0   0   0   0   0
#> Swat   0   0   1   0   0
#> Misc   0   0   0   0   0

# modify
output[,] <- 0L
output[,3] <- 1L
output["Evap", c("Ann","Mon")] <- 1L
output
#>      Ann Mon Day Pre ITR
#> Budg   0   0   1   0   0
#> Flow   0   0   1   0   0
#> Evap   1   1   1   0   0
#> Abov   0   0   1   0   0
#> Belo   0   0   1   0   0
#> Swat   0   0   1   0   0
#> Misc   0   0   1   0   0