R: split a data.frame but keep classes

后端 未结 0 2025
不思量自难忘°
不思量自难忘° 2021-02-06 07:54

I would like to split a dataframe into a list of dataframes and keep the classes of the variables.

# create sample data
df <- data.frame(
  id=c("1",         


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