我有一个如下所示的数据集:
.t0和.t1)this和that)1,22,22a)v2,v3,ignore.t0,ignore.t1,this.t0,this.t1,that.t0,that.t1).
dat <- data.frame(id = seq(from=1, to=10, by=1),
v2 = rnorm(10),
v3 = rnorm(10),
ignore.t0 = rnorm(10),
this.t0 = rnorm(10),
this1.t0 = rnorm(10),
this22.t0 = rnorm(10),
this22a.t0 = rnorm(10),
that.t0 = rnorm(10),
that1.t0 = rnorm(10),
that22.t0 = rnorm(10),
that22a.t0 = rnorm(10),
ignore.t1 = rnorm(10),
this.t1 …Run Code Online (Sandbox Code Playgroud)