create_face: Combine hop objects into a face object

Description Usage Arguments Value Examples

View source: R/face.R

Description

Combines three hop objects for agroforestry, forestry, and monocrop simulations into a face object.

Usage

1
create_face(agroforestry, forestry, monocrop, face.path)

Arguments

agroforestry

An object of class "hop" containing one or more agroforestry simulations.

forestry

An object of class "hop" containing a single simulation to serve as a forestry control.

monocrop

An object of class "hop" containing a single simulation to serve as a monocrop control. This simulation must not contain any trees.

face.path

A character string of the path to a directory where any face analyses should be written to.

Value

An object of class "face", which is a list of three objects of class "hop":

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
# After reading in Hi-sAFe simulations for agroforestry, forestry, and monocrop simulations via:
AF.hop <- read_hisafe(myAFhip)
FC.hop <- read_hisafe(myFChip)
CC.hop <- read_hisafe(myCChip)

# Combine these into a "face" object via:
my.face <- create_face(AF.hop, FC.hop, CC.hop)

## End(Not run)

kevinwolz/hisafer documentation built on Oct. 19, 2020, 4:43 p.m.