data("platelet")
blandAltman(x = platelet$Comparative, y = platelet$Candidate)
# with sample id as input sid
blandAltman(x = platelet$Comparative, y = platelet$Candidate, sid = platelet$Sample)
# Specifiy the type for difference
blandAltman(x = platelet$Comparative, y = platelet$Candidate, type1 = 1, type2 = 4)
Run the code above in your browser using DataLab