var_pop | R Documentation |
Population variance
var_pop(x, y = NULL, na.rm = FALSE, use)
x |
A numeric vector, matrix or data frame. |
y |
|
na.rm |
A logical value indicating whether missing values should be removed or not (default). |
use |
An optional character string giving a method for computing covariances in the presence of missing values.
This must be (an abbreviation of) one of the strings |
The population variance and sample variance, implemented in stats
package, differ in the denominator.
The value of denominator in the formula for variance in case of population data is n
, while it is n-1
for sample data.
The population variance.
cor
.
Other Utils:
as_ANN_matrix()
,
degree()
,
distance()
,
list_as_numeric()
,
probability()
,
radian()
,
random_seed()
,
re.factor()
,
sd_pop()
,
similarity()
,
vector_as_ANN_matrix()
,
vector_as_numeric()
x <- sample(1000)
var_pop(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.