ggplot2 error : Discrete value supplied to continuous scale

前端 未结 3 768
囚心锁ツ
囚心锁ツ 2020-12-14 10:37

I have a dataset called "merged", which contains 3 numeric columns "pauseMedian" and "numTotalPauses" and "diff". I also have a splin

3条回答
  •  鱼传尺愫
    2020-12-14 11:20

    Just to add something to the preferred eipi10 answer above (thank you for that!!). The colour="NA" option in order to get rid of the border around the circle shape (pch=21) has to be between "". If you use colour=NA (without the quotation marks) the whole shape disappears and is not plotted. I would have just commented on the answer but I still don't have reputation for that :)

提交回复
热议问题