-
Notifications
You must be signed in to change notification settings - Fork 11
Functions
Zach Ward edited this page Dec 20, 2019
·
13 revisions
The following functions are available. Most functions can be applied element-wise to matrices. Check each function for details on accepted arguments. Functions will turn maroon in the formula bar.
The following summary functions are also available.
Function | Name | Description | Arguments | Accepts Matrix |
---|---|---|---|---|
mean |
Mean |
mean(x_1, x_2, ..., x_n) : Returns the mean of all arguments |
x_1 to x_n : Real numbers |
Yes |
product |
Product |
product(x_1, x_2, ..., x_n) : Returns the product of all arguments |
x_1 to x_n : Real numbers |
Yes |
quantile |
Quantile |
quantile,(q, x_1, x_2, ..., x_n) : Returns the quantile q of all arguments |
q : Quantile to evaluate. Real number (or row vector of real numbers) in [0,1] x_1 to x_n : Real numbers |
Yes |
sd |
Standard Deviation |
sd(x_1, x_2, ..., x_n) : Returns the standard deviation of all arguments |
x_1 to x_n : Real numbers |
Yes |
sum |
Sum |
sum(x_1, x_2, ..., x_n) : Returns the sum of all arguments |
x_1 to x_n : Real numbers |
Yes |
var |
Variance |
var(x_1, x_2, ..., x_n) : Returns the variance of all arguments |
x_1 to x_n : Real numbers |
Yes |