R/ACTOR.R

Defines functions ACTOR

Documented in ACTOR

ACTOR <-
function(x, y){
	x=VMATCH(rep(1, length(x)), x)
	y=VMATCH(rep(1, length(y)), y)
	actor=ifelse(x<y,2,1)	
actor
}

Try the MoLE package in your browser

Any scripts or data that you put into this service are public.

MoLE documentation built on Nov. 17, 2017, 8 a.m.