input.valid {JPSurv}R 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.


[Package JPSurv version 3.0.20 Index]