opt_mean1: Mean optimization

Description Usage Arguments Value Author(s) Examples

View source: R/11_09.R

Description

Compute the minimum of mean.

Usage

1
opt_mean1(x, fn, iter = 100)

Arguments

x

A matrix data

fn

A string containing the function to be optimized.

iter

A numeric (integer) used to denote the number of iterations.

Value

A number containing the minimum of loss function:

Author(s)

Yagmur Yavuz Ozdemir

Examples

1
opt_mean1(rnrom(10, 2, 1), fn = loss)

AU-R-Programming/inclass_yagmur documentation built on Dec. 17, 2021, 6:44 a.m.