I can save a atomic vector with the write.table function so far...
But how can I save 2 vectors to a text file ? I tried to do it by merging
2 vector to 1 vector like this here:
summary_vector-c(vector1, vector2)
and tried to write the contents of summary_vector to a textfile with:
http://cran.r-project.org/doc/manuals/R-data.pdf
--
David Winsemius
On Mar 16, 2009, at 4:35 PM, johnhj wrote:
I can save a atomic vector with the write.table function so far...
But how can I save 2 vectors to a text file ? I tried to do it by
merging
2 vector to 1 vector like this
Hii,
I will save the elements of the vector median-with(x, tapply(V3, grup,
median)). The output of this vector is:
25 50 75 100 125 150 175 200 225 250 275 300 325 350 375
400 425 450 475 500
17.8 17.8 17.5 17.8 17.7 17.6 17.7 17.6 17.8 17.7 17.6 17.7 17.8 17.7 17.8
'str(x)' would help. I assume that this is a named list, so this
might plot it for you:
plot(names(x), x)
On Fri, Mar 13, 2009 at 10:59 AM, johnhj jhar...@web.de wrote:
Hii,
I will save the elements of the vector median-with(x, tapply(V3, grup,
median)). The output of this vector is:
25
Hi,
take a look to
?write.table
regards
2009/3/13 johnhj jhar...@web.de
Hii,
I will save the elements of the vector median-with(x, tapply(V3, grup,
median)). The output of this vector is:
25 50 75 100 125 150 175 200 225 250 275 300 325 350 375
400 425 450 475
?cat
On Mar 13, 2009, at 10:59 AM, johnhj wrote:
Hii,
I will save the elements of the vector median-with(x, tapply(V3,
grup,
median)). The output of this vector is:
25 50 75 100 125 150 175 200 225 250 275 300 325 350
375
400 425 450 475 500
17.8 17.8 17.5 17.8
Thank you all,
I did it with write.table...
greetings,
johnh
johnhj wrote:
Hii,
I will save the elements of the vector median-with(x, tapply(V3, grup,
median)). The output of this vector is:
25 50 75 100 125 150 175 200 225 250 275 300 325 350 375
400 425
7 matches
Mail list logo