Description Usage Arguments Value Author(s) Examples
Constructs a dataframe containing the output of the MCMC algorithm corresponding to the minimum and the maximum of a group of dates (phase)
1 | CreateMinMaxGroup(data, position, name ="Phase", add=NULL, exportFile=NULL)
|
data |
dataframe containing the output of the MCMC algorithm |
position |
numeric vector containing the position of the column corresponding to the MCMC chains of all dates included in the phase of interest |
name |
name of the current group of dates or phase |
add |
the name of the dataframe in which the current minimum and maximum should be added. Null by default. |
exportFile |
the name of the final file that will be saved if chosen. Null by default. |
A dataframe containing the minimum and the maximum of the group of dates included in the phase of interest. These values may be added to an already existing file "add" if given.
Anne Philippe <Anne.Philippe@univ-nantes.fr> and
Marie-Anne Vibet <Marie-Anne.Vibet@univ-nantes.fr>
1 2 3 | data(Events)
Temp = CreateMinMaxGroup(Events, c(2,4), "Phase2")
Temp = CreateMinMaxGroup(Events, c(3,5), "Phase1", Temp)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.