Transforming dataframe to plot interaction effects in R

前端 未结 0 1853
太阳男子
太阳男子 2021-01-05 06:24

I have a dataframe that looks like this:

ppl <- data.frame(
  ID = sample(1:50),
  X = rnorm(50, 0.5),
  Y1 = rnorm(50),
  Y2 = rnorm(50, 1)
)
相关标签:
回答
  • 消灭零回复
提交回复
热议问题