Created
June 21, 2016 10:04
-
-
Save giupo/ab215263a37dff907754d7596e171f77 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ( | |
if (is.na(z[[n]])==F ){z[[n]]>0.01 && z[[n]]==z[[n-1]] && z[[n]]!= z[[n-3]]} | |
else | |
{z[[n-1]]>0.01 && z[[n-1]]==z[[n-2]] && z[[n-1]]!= z[[n-4]]} | |
) {ck[[i]]=1} else {ck[[i]]=0} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment