read.dssat | R Documentation |
read.dssat
reads the contents of a file or group
of files and stores the contents into an object of class
Dasst
.
read.dssat(fileVec, fieldVec = character(), keyVec = character())
fileVec |
A character vector. The names including the paths to the files that will be read. |
fieldVec |
A character vector. An optional parameter. If it is not specified, all column fields are retrieved. Else, the names subset are the only retrieved column fields. |
keyVec |
A character vector. An optional parameter. If it is not specified, only sections satisfying this condition will be retrieved. |
This function reads the contents of a file or group of
files and stores the contents into an object of class
Dasst
.
A Dasst
object with the structure
and information originally saved in the file using
DSSAT-style format specifications.
dssatfile <- system.file("extdata","PlantGro.OUT",package="Dasst") dssatfile plantgro <- read.dssat(dssatfile) summary(plantgro)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.