Hi,

I am wondering if someone can help me out, I need to calculate Confidence Intervals for a column in my dataset. The column (avg_in1000) has values of the average value which can be equated as the mean. Is there a way to calculate the CI in R?

Also, for the dataset, I have calculated the linear and segmented model. Mentioning this just in case the CI can be calculated using one of these.

A picture of a sample is dataframe is attached.