sdvar {fitscape} | R Documentation |
Get Standard Deviation/Variance of Values in Fitness Landscape
Description
Get Standard Deviation/Variance of Values in Fitness Landscape
Usage
variance(x, ...)
sdev(x, ...)
Arguments
x |
FitLandDF object |
... |
additional parameters (e.g. 'na.rm') |
Value
variance or standard deviation of values in fitness landscape
Examples
# create fitness landscape with non-zero variance and standard deviation
values <- array(1:27, dim = rep(3, 3))
my_landscape <- FitLandDF(values)
# calculate variance
variance(my_landscape)
# calculate standard deviation
sdev(my_landscape)
[Package fitscape version 0.1.0 Index]