sdvar: Get Standard Deviation/Variance of Values in Fitness...

sdvarR 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)


fitscape documentation built on March 18, 2022, 5:57 p.m.

Related to sdvar in fitscape...