Hello,
I am trying to generate the upper and lower confidence interval for the variable "znadj" in my dataset.
stat.desc only gives one value under CI and I haven't been able to figure out how to interpret that into proper CI as I know them.
I tried the confint() function which has worked before on linear model summaries but I keep getting the error
$ operator is invalid for atomic vectors
I tried converting the vector to dataframe but it didn't work. I tried detaching all packages and libraries and still get the same error
a sample of my dataset is shown below
A tibble: 6 x 123
status znadj time_blood_draw fast inflst Fer sTfR RBP CRP
<chr> <dbl> <dbl> <dbl> <chr> <dbl> <dbl> <dbl> <dbl>
1 low 59.4 1 0 norm 124. 4.83 1.45 4.97
2 low 59.1 1 0 earl 169. 5.26 1.36 19.2
3 low 50 1 0 norm 43.1 8.47 2.01 1.19
4 low 55.8 2 0 earl 250. 5.19 0.9 13.3
5 ok 99.4 1 0 incu 224. 5.78 2.37 5.03
6 ok 68.8 2 0 norm 200. 3.61 1.69 0.84
any suggestions?
or another simpler way that I could calculate the CI here