Open zhankuijun opened 1 year ago
I`m a greenhand. When my interest variable name is 'value',then Error caused . Maybe I overlooked some important instructions. It seems that the problem has not been mentioned. It still took me a long time to find out why. the code followed
df=data.frame(haha=runif(9),gp=factor(rep(c("A","B","C"),3))) dferr=data.frame(value=runif(9),gp=factor(rep(c("A","B","C"),3))) cbind(df,dferr) df |> group_by(gp) |> shapiro_test(haha) dferr |> group_by(gp) |> shapiro_test(value)
error.pdf
I`m a greenhand. When my interest variable name is 'value',then Error caused . Maybe I overlooked some important instructions. It seems that the problem has not been mentioned. It still took me a long time to find out why. the code followed
error.pdf