Learn R Programming

beadplexr (version 0.5.0)

calc_centre: Calculate population center

Description

Calculate population center

Usage

calc_centre(.x, .method = "density")

Value

A numeric

Arguments

.x

A numerical vector.

.method

A character giving the method to use. Currently only density is available.

Examples

Run this code
beadplexr:::calc_centre(.x = rnorm(100))

Run the code above in your browser using DataLab