read_MTG: Read MTG

Description Usage Arguments Value Note Examples

Description

Read an MTG file.

Usage

1

Arguments

file

The path to the MTG file (assumed UTF-8 encoded)

Value

A named list of four sections: the MTG classes, description, features, and MTG. The MTG is a data.tree data structure.

Note

See the documentation for the MTG format from the OpenAlea webpage for further details.

Examples

1
2
3
4
5
## Not run: 
filepath= system.file("extdata", "simple_plant.mtg", package = "XploRer")
read_mtg(filepath)

## End(Not run)

VEZY/XploRer documentation built on Oct. 9, 2021, 10:05 p.m.