0

I have a dataset and I am looking to extract the state name having the highest female. let's say the data can look like. Ps: keep it simple,

I have tried

df$State.name[max(female)]

df$State.name[max(df$female)]

with(df, State.name[max(female) 

but nothing worked

See the attached image

enter image description here

Ronak Shah
  • 377,200
  • 20
  • 156
  • 213

0 Answers0