Entering edit mode
22 months ago
rene.j.erhardt
▴
30
I want to sqrt all columns of my df except the first one which has chr = names in rstudio When I code: df2 <- sqrt(df[,-1]) it removes the first column of the df and than does sqrt. I want to limit sqrt to do all columns but the first.
Great, thank you.