-
Notifications
You must be signed in to change notification settings - Fork 31
Closed
Labels
Description
Hi,
I am trying to plot two roc curves in the same figure. I would like to have different colour as well as different linetype for each. However, i can do only one at a time and not simultaneously. That is, i can have different colour but same linetype :
`ggroc(list(myrocglm, myrocrf), legacy.axes = T) + geom_abline(intercept = 0,slope = 1)`
or different linetype but same color :
`ggroc(list(myrocglm, myrocrf), aes= "linetype", legacy.axes = T) + geom_abline(intercept = 0,slope = 1)`
And if i try to add the color parameter in the fuction above, it works only for one value, i.e. color="red". For more i get the following error :
"Error: Aesthetics must be either length 1 or the same as the data (353): colour"
Thanks,
John