Semi-transparency in RStudio

前端 未结 4 1036
不知归路
不知归路 2021-02-14 03:38

I\'m trying to create a plot with a semi-transparent confidence region around the regression line:

library(car)
library(ggplot2)
library(effects)

mod <- lm(s         


        
4条回答
  •  北荒
    北荒 (楼主)
    2021-02-14 04:33

    I had the same problem under Ubuntu 16.04 when using RStudio with R v4.4.0. After updating R to v4.4.4 and running RStudio from terminal it was working fine.

    Be aware that R version RStudio uses depends on the way you are starting the application (from desktop or terminal).

提交回复
热议问题