choose_output.B90: Select output for LWF-Brook90

Description Usage Arguments Value Examples

View source: R/choose_output.R

Description

Opens the data editor with a [5,10] matrix for selecting the LWF-Brook90-output by flagging cells with 1. Assign a name to the returned matrix and use it as 'outputmat'-argument in Run.B90. A default output-matrix is returned without opening the data-editor when edit = FALSE.

Usage

1
choose_output.B90(outputmat = NULL, edit = T)

Arguments

outputmat

optional [5,10]-matrix, opened for editing. If no matrix is passed, a default selection of output values is opened in R's data-editor or returned instantly, if edit=FALSE.

edit

open R's data-editor ?

Value

a [5,10]-matrix containing 0 and 1 for use as 'outputmat'-argument in Run.B90

Examples

1
2
3
4
5
6
7
8
# opens data editor with default selection
outmat <- choose_output.B90()

outmat[6,] <- 1

outmat_new <- choose_output.B90(outmat)

outmat <- choose_output.B90(edit = F)

pschmidtwalter/brook90r documentation built on April 6, 2020, 6:35 p.m.