ContourFromAdaptiveSampling: Contour maps

Description Usage Arguments Details Value Author(s) References Examples

Description

This function generates the countour maps for a pair of parameters of interest.

Usage

1
2
	ContourFromAdaptiveSampling(sims, params.of.interest=NULL)
    

Arguments

sims

a data frame with the simulation results

params.of.interest

name of parameter that is of interest to be plotted

Details

This function generates the countour plots for the parameter of interest. It uses the simulated data from generating the confidence interval under adapative sampling technique where the likelihood value and parameters values are stored. Then it uses the function Plot_ConvexHull to generate the contour maps.

Value

It returns the plot of the contour map for a pair of parameters.

Author(s)

Brian O'Meara, Dwueng-Chwuan Jhwueng.

References

Jhwueng D.C. and O'Meara B.C. 2015. Studying trait evolution in hybrid species on phylogenetic networks. Submitted.

Examples

1
2
3
4
5
6
7
	#simulate a data frame for two parameters
	sims<-matrix(rnorm(300),ncol=3)
	sims<-as.data.frame(sims)
	colnames(sims)<-c("neglnL","param1","param2")
	#plot the contour map for the parameters
	ContourFromAdaptiveSampling(sims, params.of.interest=NULL)	
	

BMhyd documentation built on May 2, 2019, 8:27 a.m.