After using this, Im constantly getting the error- Error in ci_two_mean_theo(y = y, x = x, conf_level = conf_level, y_name = y_name, :
could not find function "ci_two_mean_theo"
Hi @tnsh11 ,
Welcome to the Posit/RStudio Community Forum.
Your code is not reproducible because we don't have your data, or know which package the inference() function comes from. See the posting guide about how to make a good reproducible example. However, I suspect your code should look like this:
library(????)
inference(y = temperature, x = country, data = data1,
statistic = "mean",
type = "ci",
null = 0,
alternative = "twosided",
method = "theoretical",
conf_level = 0.99,
order = c("A", "B"))