Convert multiple columns from factor to numeric but obtaining NAs in R

后端 未结 0 1918
灰色年华
灰色年华 2021-01-22 13:31

Assuming the following dataframe df:

df <- structure(list(`week1` = structure(c(number = 4L, 
area1 = 1L, area2 = 2L, price1 = 3L, 
price2 = 5L),          


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