Re: [R] Split Dataframe into several

2021-03-08 Thread Rasmus Liland
On 2021-03-08 17:14 +0330, javad bayat wrote: > Dear Rasmus; > Many thanks. It works for me. > Sincerely yours Great :) signature.asc Description: PGP signature __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/m

Re: [R] Split Dataframe into several

2021-03-08 Thread Rasmus Liland
Dear Javad, data <- "Date Cases Country 2020-12-14 746 Country1 2020-12-15 324 Country1 2020-12-15 1 Country3 2020-12-13 298 Country2" data <- read.table(text=data, header=T) x <- reshape( data=data, timevar = "Country",

[R] Split Dataframe into several

2021-03-08 Thread javad bayat
Dear R users; Hi. I have a problem with splitting dataframe into several. I have a large dataframe (Length of 61000). It has 4 Columns as below: " Date Cases Country 12020-12-14 746Country1 22020-12-15 324 Co