Class | Algebraic operators and function |
Name | log | log10 | sqrt | exp | sin | cos | tan | asin | acos | atan | abs | int | round |
Arguments | (<variable>|<locus>) |
Functions acting on numerical constants and/or trait values. Calculations are double precision in accuracy.
Example:
>> exp (log 10 + log 10) => 100.00000000000004 >> 4*asin(1/sqrt(2)) => 3.1415926535897927 >>round { 2.49999999 2.5 } => 2. => 3.
Class | Algebraic operators and function |
Name | pnorm | qnorm |
Arguments | <stat> (<variable>|<locus>) |
Functions for upper tail distribution and quantile of standardized Gaussian distribution.
Example:
>> pnorm 1.96 => 0.024997895149175307 >> qnorm 0.95 => -1.6448536279366268
Class | Algebraic operators and function |
Name | greg | julian |
Arguments | <date> (<variable>|<locus>) |
Functions converting Julian to Gregorian and Gregorian to Julian dates.
Example:
>> julian 19700101 => 0. >> int((julian 20070416 - julian 19651204)/365.25) =>> 41.
<< (if) | Up to index | >> (rand) |