The cs2ic function seems to not work as intended when the eventOccurred argument is numeric (0s and 1s) rather than logical. I believe that the u[eventOccurred] and time[eventOccurred] indexing does not work. If eventOccurred consists of 0s and 1s, this indexing only pulls out the first entry. I think coercing eventOccurred to a logical would fix this.
The
cs2ic
function seems to not work as intended when theeventOccurred
argument is numeric (0
s and1
s) rather than logical. I believe that theu[eventOccurred]
andtime[eventOccurred]
indexing does not work. IfeventOccurred
consists of0
s and1
s, this indexing only pulls out the first entry. I think coercingeventOccurred
to a logical would fix this.Thanks! This package is super useful for me.