Learn R Programming

DCEM (version 1.0.0)

sd_uv: sd_uv: Part of DCEM package.

Description

Initializes the standard deviation for the Gaussian(s).

Usage

sd_uv(data, num_sd)

Arguments

data

(matrix): The dataset provided by the user (converted to matrix format).

num_sd

(number): Number of values corresponding to the number of clusters.

Value

A vector of standard deviation value(s).

Examples

Run this code
# NOT RUN {
# Standard deviation of a random sample.

sd_uv(rnorm(100,20,10), 2)

# }

Run the code above in your browser using DataLab