getParams: getParams

Description Usage Arguments Value Examples

View source: R/getParams.R

Description

This functions returns the names of the estimated parameters from a BayesTraits analysis logfile for input into plotting and other analysis functions. Takes a logfile from a BayesTraits MCMC analysis and returns a vector containing the names of all parameters estimated during the analysis. Useful for defining parameters for other bayestraitr functions.

Usage

1
getParams(logfile)

Arguments

logfile

The name of the trait data file on which BayesTraits was run.

Value

A vector of the parameter names of the model logfile results from.

Examples

1
getParams("cool-data.txt.log.txt")

hferg/bayestraitr documentation built on May 28, 2019, 8:55 p.m.