change value from last column last row in R dataframe using dplyr

前端 未结 0 770
[愿得一人]
[愿得一人] 2021-01-13 18:09

I want to change the last column last value from R dataframe.

I know I can use base R this way:

df[nrow(), ncol()] <- "my value"


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题