dimanche 13 mai 2018

In R , how to extract row in between for loop in dataframes

I have written code like this

for ( k in a$PSNO) { for( i in b$PSNO) {

    if( k == i)
    { 


        print(k)


        }

}


}

how to print the whole row which satisfies the if condition??

Aucun commentaire:

Enregistrer un commentaire