问题描述
我正在尝试在 R Studio(最新版本)中进行三向方差分析,但我似乎无法弄清楚允许我这样做的代码。我想看看“纬度五月”、“纬度六月”和“纬度七月”这三个变量之间是否存在显着差异。我附上了我的数据示例:
Latitude May Latitude June Latitude July
47.87927 47.72927 46.987292
46.97263 45.26472 46.6289173
这是我目前的代码:
install.packages(c("ggplot2","ggpubr","tidyverse","broom","AICcmodavg"))
library(ggplot2)
library(ggpubr)
library(tidyverse)
library(broom)
library(AICcmodavg)
setwd("~/Desktop/Files Needed for ANOVA and T-tests")
read.csv("All Whales distribution (Updated) Latitude ANOVA.csv")
data<-read.csv("All Whales distribution (Updated) Latitude ANOVA.csv")
summary(data)
three.way <-aov(Latitude May,Latitude June,Latitude July,data = data)
最后一行是我遗漏了一个字符的地方,其中一个我不确定它是什么。请告诉我您的想法。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)