plot.emma: 3D simulation plot

Description Usage Arguments Value Author(s) Examples

View source: R/plot.emma.R

Description

For a problem with 1 response and 2 input variables (factors) plots a 3D graph and shows how the simulation evolves.

Usage

1
2
## S3 method for class 'emma'
plot(x, n = 50, fn, C = 10,...)

Arguments

x

An object of class 'emma'.

n

The number of factors' levels to be plotted.

fn

The optimization function.

C

The number of time instants used in the EMMA procedure.

...

Other arguments not used.

Value

...

Author(s)

Laura Villanova, Kate Smith-Miles and Rob J Hyndman

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
  in.name <- c("x1","x2")
  nlev <- c(20, 20)
  lower <- c(-3, -3)
  upper <- c(3, 3)
  out.name <- "y"
  weight <- 1
  C <- 20
  pr.mut <- c(0.1, 0.07, 0.04, rep(0.01, C-3))

  emma.peaks<-emma(in.name, nlev, lower, upper, out.name, opt = "mx", 
	nd = 10, na = 5, weight, C , w1 = 0.7, w2 = 0.4, c1i = 2.5, 
	c1f = 0.5, c2i = 0.5, c2f = 2.5, b = 5, pr.mut, graph = "no", 
	fn1 = peaks)

  plot(emma.peaks, fn = peaks, n = 50, C = 20)

emma documentation built on May 2, 2019, 2:47 p.m.