How can I write the following in correct R syntax?
boxplot(myCsvData$time **WHERE/IF** condition == "baseline")
Im struggling with the if
condition. Thanks a lot for any answers!
How can I write the following in correct R syntax?
boxplot(myCsvData$time **WHERE/IF** condition == "baseline")
Im struggling with the if
condition. Thanks a lot for any answers!
If I understand you right, what you want is:
boxplot(myCsvData$time[myCsvData$condition == "baseline"])