Learn R Programming

bayesrules (version 0.0.2)

sample_mode: Sample Mode

Description

Calculate the sample mode of vector x.

Usage

sample_mode(x)

Arguments

x

vector of sample data

Value

sample mode

Examples

Run this code
# NOT RUN {
sample_mode(rbeta(100, 2, 7))
# }

Run the code above in your browser using DataLab