Thom_249 wrote:
I have data like this:
[1] 16.800 6.533 5.067 3.933 2.200 1.667
[7] 1.200 1.067 0.733 0.667
And I want that all these data, printed on a 4 rows instead of 8, and it's
be great without the [x]
First look would be
Hi
I'm sorry for my so basic question, but it's so basic that I can't find
anwser anywhere...
I have data like this:
[1] 16.800 6.533 5.067 3.933 2.200 1.667
[7] 1.200 1.067 0.733 0.667
[1] 35.6113946 6.9576953 4.5271667 2.3744674
Thom_249 wrote:
I got them from a Matrix on with I use the applyfunction tu compute the
mean columns by columns
print(apply(matSD,2,mean))
matSD = matrix(round(rnorm(20),2),nrow=4)
cat(matSD)
print(matSD)
dput(matSD) # How to send this matrix to r-help
newMat = apply(matSD,2,mean)
Totally awsom!
Thank you very much
Thom
--
View this message in context:
http://www.nabble.com/How-to-display-data-content-on-a-only-row--tp23497437p23502952.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org
Hello Dieter
I got them from a Matrix on with I use the applyfunction tu compute the mean
columns by columns
print(apply(matSD,2,mean))
So it's a kind of vector.
I'll check with the cat function
Thank you, have a nice day
Thomas
--
View this message in context:
5 matches
Mail list logo