input.valid: Input data validation

View source: R/AddedToJPSurv.R

input.validR Documentation

Input data validation

Description

A function that validates the selected cohort data and returns an indicator along with a warning message if the selected cohort is not valid.

Usage

input.valid(input, subset = NULL)

Arguments

input

Input dataset imported by function joinpoint.seerdata.

subset

An optional string specifying a subset of observations used in the fitting process.

Value

If the cohort selection is available, value 1 will be returned; otherwise, value 0 will be returned and a warning message printed.


JPSurv documentation built on June 8, 2025, 12:11 p.m.