mean_plus: Take the mean of a vector and add to it

Description Usage Arguments Examples

View source: R/test-functions.R

Description

Take the mean of a vector and add to it

Usage

1
mean_plus(x, plus)

Arguments

x

A numeric vector to take the mean of

plus

A number to add to the mean

Examples

1
mean_plus(rnorm(10), 2)

wjakethompson/rcppstan documentation built on May 4, 2019, 1:23 p.m.