Learn R Programming

fitscape (version 0.1.0)

dims: Get Dimensions of Fitness Landscape

Description

Get Dimensions of Fitness Landscape

Usage

dims(x)

Arguments

x

FitLandDF object

Value

integer vector analogous to `base::dim`

Examples

Run this code
# NOT RUN {
# create flat fitness landscape with dimensions 3x3x3
values <- array(0, dim = rep(3, 3))
my_landscape <- FitLandDF(values)

# print dimensions
dims(my_landscape)

# }

Run the code above in your browser using DataLab