I would like to know how do I extract just the number 4? Sorry if the question is simple
> a<-subset(a, data ==datas & category == chosse, select="PCP")
# A tibble: 1 x 1
I am not sure whether I understand your question clearly.