Learn R Programming

osmose (version 0.1.1)

getSizeSpectrum: Get size spectrum

Description

Get size spectrum

Usage

getSizeSpectrum(file, sep = ",", ...)

Arguments

file

File to read

sep

File separator

...

Additional arguments of the read.csv function

Value

A 3D array (time, length, species)

Examples

Run this code
# NOT RUN {
{
dirin = system.file("extdata", package="osmose")
file = paste(dirin, "/outputs/SizeIndicators/gogosm_yieldDistribBySize_Simu0.csv", sep="")
size = getSizeSpectrum(file)
}
# }

Run the code above in your browser using DataLab