Running examples in ‘DySeq-Ex.R’ failed
The error most likely occurred in:

> ### Name: NonCumHaz
> ### Title: NonCumHaz
> ### Aliases: NonCumHaz
> 
> ### ** Examples
> 
> 
> # Example 1: Short artificial data
> # example cumulated hazard with time referenz
> cumhaz<-c(0.2 ,0.21 ,0.31 ,0.44 ,1.1  ,1.1  ,1.12 ,1.2)
> time<-c(4     ,5    ,6    ,7    ,10   ,14   ,15   ,16)
> 
> NonCumHaz(cumhaz, time, plot=TRUE)
Error in is.na(t) && plot : 'length = 8' in coercion to 'logical(1)'
Calls: NonCumHaz
Execution halted
Running examples in ‘DySeq-Ex.R’ failed
The error most likely occurred in:

> ### Name: NonCumHaz
> ### Title: NonCumHaz
> ### Aliases: NonCumHaz
> 
> ### ** Examples
> 
> 
> # Example 1: Short artificial data
> # example cumulated hazard with time referenz
> cumhaz<-c(0.2 ,0.21 ,0.31 ,0.44 ,1.1  ,1.1  ,1.12 ,1.2)
> time<-c(4     ,5    ,6    ,7    ,10   ,14   ,15   ,16)
> 
> NonCumHaz(cumhaz, time, plot=TRUE)
Error in is.na(t) && plot : 'length = 8' in coercion to 'logical(1)'
Calls: NonCumHaz
Execution halted