search for: pch_type

Displaying 1 result from an estimated 1 matches for "pch_type".

Did you mean: cu_type
2006 Nov 09
1
plot pch
...rsus X by specifying the pch to be as follows: Subjects having type = 1 must be plotted with a character pch = "A" Subjects having type = 2 must be plotted with a pch = "B" Subjects having type = 3 must be plotted with a pch = 21 I used the follwomg: df$pch_type = recode(df$type, "1 = 'A'; 2 = 'B'; else = '21' " ) plot(df$Y,df$X,pch= df$pch_type) This plots subjects for type 1 and 2 with symbols A and B (this is what expected) however subjects with type = 3 are plotted with a charcater 2 instead of a pch=21. I unders...