Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/r/81.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
aov_car,[.data.frame`(数据,id):未定义的列被选中_R_Undefined_Anova - Fatal编程技术网

aov_car,[.data.frame`(数据,id):未定义的列被选中

aov_car,[.data.frame`(数据,id):未定义的列被选中,r,undefined,anova,R,Undefined,Anova,我有一个数据集: # A tibble: 6 x 4 id condition type accuracy <dbl> <fct> <fct> <dbl> 1 1 alg suggestion 4 2 1 alg benefit 3 3 1 alg order 3 4 2 a

我有一个数据集:

# A tibble: 6 x 4
     id condition type       accuracy
  <dbl> <fct>     <fct>         <dbl>
1     1 alg       suggestion        4
2     1 alg       benefit           3
3     1 alg       order             3
4     2 alg       suggestion        2
5     2 alg       benefit           4
6     2 alg       order             1

我如何解决这个问题呢???

您正在呼叫一个专栏
主题
,但您当前的example@TheSciGuy:谢谢!!您打电话是想找一个专栏
主题
,但您当前的example@TheSciGuy:谢谢!!
model<- aov_car(accuracy ~ condition*type +
                  Error(Subject), data=alg_long, observed = "type")
`[.data.frame`(data, , id) : undefined columns selected