Hi R-helpers,

I would like to make a blank dataframe, i.e. a dataframe without any rows.

I would like the blank dataframe (which is to be called merged) to have 0
rows and 32 columns. Once I've made the dataframe, I'll specify the column
names using:

>
names(merged)<-c("GRIDCODE",paste("VALUE",0:3,sep="_"),paste("VALUE",5:30,sep="_"),"AREA")

Then I'll add rows to it, using the loop (which is working fine).

Thanks for any help!

Mark

        [[alternative HTML version deleted]]

______________________________________________
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