meanC: Rcpp mean

Description Usage Arguments Value Author(s) Examples

Description

using an Rcpp function to calculate the mean

Usage

1
meanC(x)

Arguments

x

a numeric vector containung values

Value

numeric vector of length one containing the mean of x

Author(s)

Alexander Kowarik, alexander.kowarik@statistik.gv.at

Examples

1
meanC(1:10)

nachti/firstpackage documentation built on May 23, 2019, 12:04 p.m.