Below is my data set in CSV

Name Age

Sudira,23

Suas,28

Sumi,26

Suresh,29

Rakesh,53

Ravi,22

Roshan,30

Raghu,27

Srikanth,35

Guru|,23

I am trying to find confidence interval using ci(x,confidence=0.95). I am getting below error

Error in UseMethod("ci") :

no applicable method for 'ci' applied to an object of class "data.frame"

Pkg :gmodels has been installed

Code :

a<-read.csv(file = "path.csv",head = TRUE, sep = ",")

attach(a)

a.new<-a[2]

names(a.new)

b<-a.new

ci(b,confidence=0.95)

Can you please let me know what mistake I have done and why I am getting above error ?