exSpArgsVisual {foreSIGHT}R Documentation

exSpArgsVisual

Description

Visualizes the geometry of a 2D exposure space. This visualizer only works for 2d spaces (samples of 2 attributes).

Usage

  exSpArgsVisual(exSpArgs=NULL
                      )
  

Arguments

exSpArgs

a list to control the exposure space creation with the following components:

type

a string that specifies the type of sampling. Defaults to regular spacing.

samp

a vector indicating the number of targets for each attribute in attSel.

bounds

a list containing elements for attributes listed in attSel, where each attribute has bounds specified. This should be a single value for a stationary target, and a vector of min and max change for primary attributes. Works with samp to create number of step sizes. Defaults with samp to only reproduce historical weather.

Examples

library(foreSIGHT)               ###Load package

###Example 1 - visualize a 2D exposure space.
exSpArgs=list(type="regGrid",
              samp=c(5,7),
              bounds=list(P_ann_tot_m=c(0.7,1.3),
                          Temp_ann_avg_m=c(-3,3)))
#windows()
exSpArgsVisual(exSpArgs=exSpArgs)


[Package foreSIGHT version 0.9.81 Index]