Dear all,

I have a data frame of 18556 rows and 19 columns and wish to create a new grid 
from these data of dimensions 360 rows and 720 columns.

The existing data frame is set up so that every 38 rows makes up one row of the 
new data frame, with 2 NA values at the end of each 'block' that should be 
removed before being inserted into the new grid.

So to be clear, row 1 of the new data frame consists of rows 1:38 of the 
existing data frame, with the 2 NA values on the end removed. Row 2 is 39:77 
and so on.

How do I go about creating this new 360 x 720 grid from existing data?

Many thanks,

Steve

                                          
_________________________________________________________________
We want to hear all your funny, exciting and crazy Hotmail stories. Tell us now

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to