Re: [R] Loop for two columns and 154 rows

2020-09-16 Thread PIKAL Petr
t;https://www.precheza.cz/en/01-disclaimer/> https://www.precheza.cz/en/01-disclaimer/ From: Hesham A. AL-bukhaiti Sent: Tuesday, September 15, 2020 1:48 PM To: PIKAL Petr Subject: Re: [R] Loop for two columns and 154 rows thanks petr v much i attached my problem in word and my data

[R] Loop for two columns and 154 rows

2020-09-15 Thread Hesham A. AL-bukhaiti via R-help
Dears in R :i have this code in R: # this for do not work true (i tried )out<-read.csv("outbr.csv")  truth<-out[,seq(1,2)]truth<-cbind(as.character(truth[,1]),as.character(truth[,2])              ,as.data.frame(rep(0,,dim(out)[1])));for (j in 1:2) {  for (i in 1:20) {    truth[(truth[,1]== truth[