write_jules_design: Create an ensemble design for jules

Description Usage Arguments Value

View source: R/write_jules_design.R

Description

This code writes a design taking either a 'factor', min and max by which to multiply all pfts, or perturbing each pft individually according to their maximum and minimum in the parameter list.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
write_jules_design(
  X_mm = NULL,
  paramlist,
  n,
  fac,
  minfac,
  maxfac,
  tf,
  fnprefix = "param-perturb-test",
  lhsfn = "lhs.txt",
  stanfn = "stanparms.txt",
  allstanfn = "allstanparms.txt",
  rn = 5,
  startnum = 0
)

Arguments

X_mm

augnmented design from addNroyDesignPoint

paramlist

character vector of chosen parameters

n

number of ensemble members

fac

character vector of names of variables that you would like to alter by a factor. Everything else gets variaed by PFT

minfac

must correspond to fac - i.e. one value per parameter,

maxfac

must correspond to fac - i.e. one value per parameter,

tf

character vector containing the logical parameters

fnprefix

filename prefix

lhsfn

latin hypercube filename

stanfn

standard parameter filename

allstanfn

allstanparams filename

rn

rounding number

startnum

ensemble indexing start number

Value

none


dougmcneall/julesR documentation built on Jan. 19, 2021, 9:34 p.m.