Squared deviations of the elements of a vector from their population mean.

1 | ```
dev2.(x, p)
``` |

`x` |
A numeric vector giving the population. |

`p` |
An optional vector of weights. If missing, equal weights are used. |

The deviations of `x`

.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.