Hi! I am new to R and I've run into problems when trying to run a t test on my data. I am trying to determine if there is significance between my independent and dependent variable under these conditions, I inputted this:
library(tidyverse)
attach(D_D_Sacc_Bottle_Data_stats_in)
select(PCB Treatment
, Average .75%
)%>%
filter(PCB Treatment
== "A" | PCB Treatment
== "B") %>%
t.test(data = df, Average .75%
~PCB Treatment
)
and was met with this error:
Error in UseMethod("select_") :
no applicable method for 'select_' applied to an object of class "character"
What does this mean and how do I fix it?
Thank you!