R - how to use bind_rows with non existing dataframes

后端 未结 0 373
别那么骄傲
别那么骄傲 2020-11-27 23:52

Lets say that I have this code

dt <-
  data.frame(
    nr = seq(1: 150) %>%
    mutate(x = 1) 
  )




if (nrow(dt %>% filter(nr <= 100)) > 0)          


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