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)
print(newMat)
cat(newMat,"\n")
dput(newMat) # Good for r-help questions



-- 
View this message in context: 
http://www.nabble.com/How-to-display-data-content-on-a-only-row--tp23497437p23501655.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to