Learn R Programming

CVXR (version 1.9.1)

cvxr_std: Standard deviation of an expression

Description

Computes the standard deviation of an expression.

Usage

cvxr_std(x, axis = NULL, keepdims = FALSE, ddof = 0)

std(x, axis = NULL, keepdims = FALSE, ddof = 0)

Value

An Expression representing the standard deviation.

Arguments

x

An Expression or numeric value.

axis

NULL (all), 1 (row-wise), or 2 (column-wise).

keepdims

Logical; keep reduced dimension?

ddof

Degrees of freedom correction (default 0, population std).