if (FALSE) {
pisa$SKIP[!(pisa$ST09Q01 =="None" & pisa$ST115Q01 == "None")] <- 1
pisa$SKIP[pisa$ST09Q01 =="None" & pisa$ST115Q01 == "None"] <- 0
pisa$LATE[!pisa$ST08Q01=="None"] <- 1
pisa$LATE[pisa$ST08Q01=="None"] <- 0
pisa.log(y="SKIP", x="LATE", by="IDCNTRYL", data = pisa)
}
Run the code above in your browser using DataLab