[R] sd() for numeric row entries

Jim Moon
2010-12-08T22:30:12Z

How might one calculate standard deviation, row-wise, for the numeric values in
a data frame such as this one
         V1     V2     V3     V4     V5
1 rs11089130 0.4565 0.4574 0.4569 0.4572
2   rs738829 0.6548 0.6519 0.6448 0.6549
3   rs915674 0.7503 0.7500 0.7517 0.7502

and place the standard deviation in a 6th column called “std_dev”?

Regards,
Jim


	[[alternative HTML version deleted]]