FBD_summary {EvoPhylo}R Documentation

Summarize FBD posterior parameter estimates


Produces numerical summaries of each fossilized birth–death process (FBD) posterior parameter by time bin.


FBD_summary(posterior, file = NULL, digits = 3)



A data frame of posterior parameter estimates containing a single "Time_bin" column and one column for each FBD parameter value. Such data frame can be imported using combine_log followed by FBD_reshape.


An optional file path where the resulting table will be stored using write.csv.


The number of digitis to round the summary results to. Default is 3. See round.


A data frame with a row for each paramater and time bin, and columns for different summary statistics. These include the number of data points (n) and the mean, standard deviation (sd), minimum value (min), first quartile (Q1), median, third quartile (Q3), and maximum value (max). When file is not NULL, a .csv file containing this data frame will be saved to the filepath specified in file and the output will be returned invisibly.

See Also

vignette("fbd-params") for the use of this function as part of an analysis pipeline.

combine_log for producing a single data set of parameter posterior samples from individual parameter log files.

FBD_reshape for converting posterior parameter table from wide to long format.

FBD_dens_plot, FBD_normality_plot, FBD_tests1, and FBD_tests2 for other functions used to summarize and display the distributions of the parameters.


# See vignette("fbd-params") for how to use this
# function as part of an analysis pipeline


posterior3p_long <- FBD_reshape(posterior3p)


[Package EvoPhylo version 0.3.2 Index]