Root mean square function in R

A very brief question. After much searching I couldn't find a function to calculate the RMS of a set of integers. Does such a function exist in R?


I didn't search for a function but you can write it

x <- 1:10

A better alternative is using mean function

> sqrt(mean(x^2))
[1] 6.204837

The function rms(x) from the package {seewave} must produce the same value.

Need Your Help

How big a war file should be?

java tomcat tomcat7 war grails-2.2

Tomcat 7 manager limit the war file size to 50 Mo.

Multiple partners in a family tree in d3.js?

d3.js charts family-tree

I have a family tree from Cyril's amazing answer but I'm trying to figure out how to adjust it to support multiple partners. In this case, I added a "Mistress" node and am trying to denote that "Mi...