create_status_cols: Initializes the 'sawmill_status' and 'sawmill_pass' columns...

View source: R/create_status_cols.R

create_status_colsR Documentation

Initializes the 'sawmill_status' and 'sawmill_pass' columns at the start of the check_grain() function

Description

create_status_cols() adds columns to the passed tibble, containing the sawmill status provided.

Usage

create_status_cols(timber, status = "Initialized.")

Arguments

timber

A tibble of timber, with a table built by build_table.

status

A sawmill status description.

Details

The create_status_cols() function works by initializing the default sawmill status as specified in the check_grain() function. The 'sawmill_pass' column indicates whether sawmill should operate on the resistance outcome. Set 'sawmill_pass = FALSE' after other co-occurring events during check failure.

Value

The passed tibble of timber with additional columns containing the current sawmill status.


iAM-AMR/sawmill documentation built on June 30, 2024, 2:25 a.m.