[R] Convert to a vector to read.table output format

കുഞ്ഞായി kunjaai dileepkunjaai at gmail.com
Sat May 16 19:12:25 CEST 2015


Dear all,

 I want to convert a variable (that variable obtained from an 'nc ' file) I
want to convert  it into a* read.table* output format

Example:

> index_data<-get.var.ncdf(f_hist ,"meant_iitm_ALLIN_YEAR")
> index_data
 [1] 24.06333 24.07208 24.20208 24.12625 24.27333 24.42458 24.26583
 [8] 24.30042 24.49750


I want to convert it in to


>   V1           V2         V3          V4              V5
V6          V7          V8
24.06333  24.07208  24.20208 24.12625  24.27333 24.42458 24.26583 24.30042
    V9
24.49750


Thank you all in advance......
--
DILEEPKUMAR. R
J R F, IIT DELHI

	[[alternative HTML version deleted]]



More information about the R-help mailing list