Closed rvermamsm closed 3 months ago
Hi, I think it's the right way to achieve the four comparisons. But I recommend you put baseline as condition 1 and case as condition 2 (if this Base means baseline), which will enable the following visualisation to be more intuitive.
Thank you for your quick response.
Hello
I have 4 conditions in my data. Can I compare them like this:
comparisons_to_make <- as.data.frame( rbind( c("Disc_NO", "Base_NO"), c("4-6h_NO", "Base_NO"), c("Disc_YES", "Base_YES"), c("4-6h_YES", "Base_YES") ), stringsAsFactors = FALSE # Ensure that strings are not converted to factors )
Is this the correct way to compare all this condition at a time?