[R] R-help Digest, Vol 126, Issue 34
Sudheer Joseph
sjo at incois.gov.in
Sat Aug 31 13:33:44 CEST 2013
Hi,
I was using R arima and the results are stored. If I
need to print , is there a way to print the coeficient names
spd.ar2ma1=arima(spd_a,order=c(2,0,1))
write.table(sprintf("%s,%6.3f",spd.ar2ma1$coef),file='arma_results.txt',eol
="\n",append=FALSE,quote=FALSE,col.names=FALSE,row.names=TRUE)
in this case it do not print the row names as ar1 ar2 and ma1.
if I use only write.table it prints the row names but the results
comes as un formatted.
Is there a way out?
with best regards,
Sudheer
More information about the R-help
mailing list