library(multisensory)
title: "Multisensory vignette" output: rmarkdown::html_vignette vignette: > %\VignetteIndexEntry{Inputs to oiplot} %\VignetteEngine{knitr::rmarkdown} %\VignetteEncoding{UTF-8}
oiplot requires a list having length, structure and names equal to optint.empty. optint.empty has 8 components (one for each parameter), each of which contains two components, one named “parameter” and one named “value”. The names of the 8 components must equal c("COL", "ROW", "SER", "DIM1", "DIM2", "CONST1", "CONST2", "CONST3"). These names specify how each parameter is represented in the graphs.
Plot
dimension Parameter varies along...
COL along x-axis
ROW between graphs
SER among lines within a graph
DIM1 one dimension of area from which "favorability of integration" is calculated
DIM2 other dimension of area from which "favorability of integration" is calculated
CONST1 constant
CONST2 constant
The “parameter” components assign what parameter you want to be represented on each plot dimension, must be of type character, and must be one of the following parameter names: “prior.b”, “bb.a”, “bb.b”, “s1”, “u1”, “k1”, “u2”, “k2”. Furthermore, each parameter must be named exactly once. The “value” component specifies the value(s) to be plotted.
The list, optint.ex1, was used in making Fig. 2 in Munoz & Blumstein.
optint.ex1
Plot Parameter Value dimension
COL u1 r optint.ex1$COL$value
ROW u2 r optint.ex1$ROW$value
SER prior.b r optint.ex1$SER$value
DIM1 bb.a r optint.ex1$DIM1$value
DIM2 bb.b r optint.ex1$DIM2$value
CONST1 k1 r optint.ex1$CONST1$value
CONST2 k2 r optint.ex1$CONST2$value
r optint.ex1$CONST3$value
Table: optint.ex1
The number of plots produced is equal to the vector length of ROW$value. The values of parameters constant within a plot are annotated to the right of the plot. The lists optint.ex1 and optint.ex2 have been provided to demonstrate oiplot.
oiplot(optint.ex1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.