Re: [R] Question about using ggplot

2016-11-13 Thread Dominik Schneider
past versions of ggplot2 used to accept family as an argument directly, but the latest ggplot2 (perhaps starting with v2?) requires method.args=list(). So the online sources you found using family directly were for an older version of ggplot. On Sun, Nov 13, 2016 at 8:18 AM, wrote: > Hi. I’m a s

Re: [R] Question about using ggplot

2016-11-13 Thread Ben Tupper
Hi, It's hard to know for sure, but perhaps the spelling of 'binomial' is not correct? Ben > On Nov 13, 2016, at 10:18 AM, overholi...@ajou.ac.kr wrote: > > Hi. I’m a student from South Korea, and I’m studying R by myself. > While I am studying, I have a trouble dealing with ggplot(especially,

[R] Question about using ggplot

2016-11-13 Thread overholic10
Hi. I’m a student from South Korea, and I’m studying R by myself. While I am studying, I have a trouble dealing with ggplot(especially, about parameter ‘family’) > b <- biopsy > b$classn[b$class == "benign"] <- 0 > b$classn[b$class == "malignant"] <- 1 > ggplot(b, aes(x = V1, y = classn)) + geom_p