Free Access Week-  Data Engineering + BI
Data engineering and BI courses are free!
Free AI Access Week from June 2-8

spatsurv (version 1.7)

checkSurvivalData: checkSurvivalData function

Description

A function to check whether the survival data to be passed to survspat is in the correct format

Usage

checkSurvivalData(s)

Arguments

s

an object of class Surv, from the survival package

Value

if there are any issues with data format, these are returned with the data an error message explaining any issues with the data