[S] thanks and another question

Fei Chen (fchen@stern.nyu.edu)
Tue, 22 Sep 1998 12:03:54 -0400 (EDT)

hi all,

thanks for all the response to my original question of how to grow a
matrix w/o using rbind(). i ended up using the following solution:
(myfun() returns a matrix of fixed columns but variable rows)

for(i in 1:8000)



an unrelated question: i was never able to figure out why Splus
sometimes print numbers in exponential notation, while at other times just
in decimal, for example, the matrix below, it's a mix of exponential
and decimal. can someone enlighten me on this point? how do i force splus
to do things consistently?

[,1] [,2] [,3] [,4] [,5]
[1,] 0.0006414841 8.241054e-05 4.800309e-05 3.810245e-07 5.937248e-08
[2,] 0.0010881733 7.975152e-05 3.011239e-05 7.580292e-06 1.114378e-07
[3,] 0.0001533953 1.358445e-04 7.065476e-05 1.572259e-07 1.349825e-04
[4,] 0.0002987176 4.172512e-04 3.226280e-04 5.998701e-08 4.134643e-07
[,6] [,7] [,8] [,9] [,10]
[1,] 1.337824e-06 4.879846e-06 8.717741e-09 3.037807e-07 6.557401e-10
[2,] 2.184939e-07 6.298935e-07 2.164373e-07 5.424112e-07 1.312081e-08
[3,] 2.652610e-03 5.285727e-04 4.968498e-06 1.748111e-03 5.071123e-07
[4,] 1.472272e-03 2.568374e-04 4.779135e-08 3.095914e-05 1.908796e-10



This message was distributed by s-news@wubios.wustl.edu. To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message: unsubscribe s-news