Skip to contents

A shiny module that allows the user to input the lower bound and upper bound of a score.

Usage

linear_score_ui(id)

linear_score_server(id, column, reset, editing_row)

Arguments

id

The namespace of the module.

column

The column currently being scored.

reset

When this value is changed, all inputs will reset.

editing_row

The row that the user is currently editing. When this changes, all inputs will be updated to the state of the score that is being edited.

Value

A tibble::tibble_row() containing the two inputs, or NULL if any are invalid.