Hi,
Does anybody knows a easy way (without for-loops, maybe with something like match)
to solve this problem:
x <- rep(1,3)
y <- c(0,1,0,1,0,1,1,1,0,0,0,0,1,0)
if (x is a part of y){
find out where it is and
do something
}
Thanks a lot
Thomas