n_mean_var | R Documentation |

Available for `numeric`

, `integer`

, and `factor`

objects.
`character`

objects are handled by first converting to a factor.

```
n_mean_var(x, w = NULL, na.rm = FALSE, unwgt.var = TRUE)
## S4 method for signature 'numeric,missing'
n_mean_var(x, w = NULL, na.rm = FALSE, unwgt.var = TRUE)
## S4 method for signature 'numeric,numeric'
n_mean_var(x, w = NULL, na.rm = FALSE, unwgt.var = TRUE)
## S4 method for signature 'integer,missing'
n_mean_var(x, w = NULL, na.rm = FALSE, unwgt.var = TRUE)
## S4 method for signature 'integer,numeric'
n_mean_var(x, w = NULL, na.rm = FALSE, unwgt.var = TRUE)
## S4 method for signature 'logical,missing'
n_mean_var(x, na.rm = FALSE, unwgt.var = TRUE)
## S4 method for signature 'logical,numeric'
n_mean_var(x, w = NULL, na.rm = FALSE, unwgt.var = TRUE)
## S4 method for signature 'factor,missing'
n_mean_var(x, w = NULL, na.rm = FALSE, unwgt.var = TRUE)
## S4 method for signature 'factor,numeric'
n_mean_var(x, w = NULL, na.rm = FALSE, unwgt.var = TRUE)
## S4 method for signature 'character,missing'
n_mean_var(x, w = NULL, na.rm = FALSE, unwgt.var = TRUE)
## S4 method for signature 'character,numeric'
n_mean_var(x, w = NULL, na.rm = TRUE, unwgt.var = TRUE)
```

`x` |
a vector of values |

`w` |
an optional vector of |

`na.rm` |
passed to |

`unwgt.var` |
Use unweighted or weighted covariance matrix |

a list containing `mean`

and `var`

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.