check_input_in_weight_argument: Validate the Weight Variable Input

View source: R/utils.R

check_input_in_weight_argumentR Documentation

Validate the Weight Variable Input

Description

This function checks the validity of the weight variable provided by the user, issuing a helpful message if the variable name does not end with "wgt", as expected by LIS conventions.

Usage

check_input_in_weight_argument(wgt_name)

Arguments

weight_var

A character string of length 1 indicating the name of the weight variable used.

Value

No return value. The function is used for validation and emits a warning if the weight variable name seems unusual.


JosepER/lissyrtools documentation built on June 12, 2025, 12:11 p.m.