Hi,
i have a dataframe like this,

Source    Treat    Drug    Replicate
> control    0    A    1
> control    10    A    2
> control    30    A    3
> 1    0    A    1


And i want to rep this  dataframe  3 times by row,the resulting  matrix  as
follow,

Source    Treat    Drug    Replicate
> control    0    A    1
> control    0    A    1
> control    0    A    1
> control    10    A    2
> control    10    A    2
> control    10    A    2
> control    30    A    3
> control    30    A    3
> control    30    A    3
> 1    0    A    1
> 1    0    A    1
> 1    0    A    1


So is there a easy way to do ?
thanks.

Jianao Shi

	[[alternative HTML version deleted]]


