Learn R Programming

icmstate (version 0.2.0)

agreaterb: Check if event time is larger than other event time

Description

Function which takes as input a vector a with event times and a vector b with event times and checks whether each entry in a is larger than the entries in b.

Usage

agreaterb(a, b)

Value

Matrix of size (length(a) * length(b)) with binary values indicating whether the event times in a are larger than the event times in b

Arguments

a

Vector of event times

b

Vector of event times