How to calculate standard deviation of a table in R? -


i have table of data looks this:

category : solution 1 : solution 2 : diff 1: 5 : 6 : -1 2: 7 : 6 : 1 3: 4 : 4 : 0 4: 8 : 9 : -1 

how calculate standard deviation within r?

sd(d$diff) should give standard deviation of column

to standard deviation of columns

apply(d,2,sd) 

where d data frame.


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -