Displaying 2 results from an estimated 2 matches for "weight_mean".
Did you mean:
weight_max
2009 Jan 21
1
problem with rbind
...T)
p<-cbind(mean=m,sd.dev=s)
cn<-paste(nn,colnames(p),sep="_")
colnames(p)<-cn
fdata<-rbind(fdata,p)
}
write.table(fdata, ?results.txt?,sep=?\t?,quote=FALSE, col.names=T)
here is the problem,
1. I have a header for each table but only the first one is printed.
2. the weight_mean is suppose to be on the top of the means but it appears
on the top of the first column ( with no tab before the header)
weight_mean weight_sd.dev
F 14.33333 4.932883
M 34.66667 10.692677
F 35.00000 7.071068
M 34.66667 10.692677
.
.
.
I want the result to look like this with a line s...
2009 Jan 21
1
should I use rbind in my example?
Hi,
I need to rbind two data frames. Each one has a header . after the rbind I
would like to keep the header for each and have the two data frames
separated by a line. Is this possible to do in R?
For example
weight_mean weight_sd.dev
> F 14.33333 4.932883
> M 34.66667 10.692677
>
> hight_mean hight_sd.dev
> F 35.00000 7.071068
> M 34.66667 10.692677
--
View this message in context: http://www.nabble.com/should-I-use-rbind-in-my-example--tp21585464p21585464.html
Sent from the...