David Winsemius wrote:
On Dec 27, 2009, at 11:17 AM, Cat Morning wrote:
Hi all,
I have made a loop function which prints outputs. For example:
for (i in 1:5)
+ print(i)
[1] 1
[1] 2
[1] 3
[1] 4
[1] 5
However, I would like the output to given as a list or a vector, e..g
c(1,2,3,4,5). Is i
On Dec 27, 2009, at 11:17 AM, Cat Morning wrote:
Hi all,
I have made a loop function which prints outputs. For example:
for (i in 1:5)
+ print(i)
[1] 1
[1] 2
[1] 3
[1] 4
[1] 5
However, I would like the output to given as a list or a vector,
e..g c(1,2,3,4,5). Is it possible to do this?
Hi all,
I have made a loop function which prints outputs. For example:
for (i in 1:5)
+ print(i)
[1] 1
[1] 2
[1] 3
[1] 4
[1] 5
However, I would like the output to given as a list or a vector, e..g
c(1,2,3,4,5). Is it possible to do this?
(The function I am using outputs many 1000s of results
3 matches
Mail list logo