Try this also:
as.data.frame(t(sapply(append(split(mydata, row.names(mydata)), list(c('f',
6)), after = 2), as.matrix)))
The after argument of append can be the line number where you want the new
line.
On Thu, Aug 20, 2009 at 8:18 AM, Moumita Das
wrote:
> Hi all,
>
> Can anyone suggest me how t
:
> From: Moumita Das
> Subject: [R] Insert rows in between dataframes
> To: r-help@r-project.org
> Received: Thursday, August 20, 2009, 7:18 AM
> Hi all,
>
> Can anyone suggest me how to insert rows in between data
> frames and also
Hi all,
Can anyone suggest me how to insert rows in between data frames and also
keep the ordering of row numbers correct?
Estimate Std. Errort
value Pr(>|t|)
recmeanC2 9.275880e-176.322780e-17 1.467057e+00
0.14349
3 matches
Mail list logo