Learn R Programming

spatsurv (version 2.0)

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)

Value

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

Arguments

s

an object of class Surv, from the survival package