Displaying 1 result from an estimated 1 matches for "pilih".
Did you mean:
pilch
2013 Jan 21
4
compare and count data
...n that specified value.
odd column (1,3,5) will compare with 1.61 and even column (2,4,6) will compare with 75 and I would like to count how many for each column.
I tried these below but it give me just one set of data.
critical <- c(1.61,75.89, 1.61, 75.89, 1.61, 75.89) ; critical
pilih <- mydata[mydata < critical] ; pilih
jumlah <- length(pilih) ; jumlah
kuasa <- 1 - (jumlah/1000); kuasa
> head(mydata,20)
V1 V1 V1 V1
1 3.014505 62.96425 3.014505 138.0673
2 2.817503 56.03400 2.817503 133.3411
3 2.976227 47.12192 2.976227 139.2438
4...