Displaying 1 result from an estimated 1 matches for "perc1".
Did you mean:
perc
2013 Apr 05
0
(no subject)
...ata[data$condition != "syll_congru",]
> data <- data[data$soa == "0",]
> attach(data)
> error <- numeric()
> error[RT==RT] <- 0
> error[RT < 0] <- 1
> x<-length (RT); x
[1] 2220
> RT[RT<0]<-NA
> y<-sum(is.na(RT)); y
[1] 9
> perc1<-y/x;perc1
[1] 0.0041
>
> RT[RT<200]<-NA
> RT[RT>2000]<-NA
> z<-sum(is.na(RT));z
[1] 29
> perc2<-z/x;perc2
[1] 0.013
>
> congruity <- numeric()
> congruity[condition=="both_congru"] <- "congru"
> congruity[condition=="n...