0

I am using the split function and wanting to save each split into a new dataframe. Right now the data is in one single dataframe side by side.

a<-split(SQLCommand, SQLCommand$FactsetDate)
user8491385
  • 413
  • 1
  • 5
  • 17

1 Answers1

0

As the documentation of split says, a is now a list of splitted objects.

If you splitted only in 2 you can do:

a1 <- a[[1]]
a2 <- a[[2]]
Emmanuel-Lin
  • 1,848
  • 1
  • 16
  • 31