error_bar_plot: Plot log likelihoods of profiles with approximate confidence...

Description Usage Arguments Value Author(s) Examples

View source: R/bar_plots.R

Description

Plots the estimated profile probabilities in each population. The colour depends on the profiles likelihood and rejection/acceptance (blue/red) based on z-score

Usage

1

Arguments

data

The output from the genogeo function

Value

A barplot of the log likelihoods for each population with confidence limits

Author(s)

Torben Tvedebrink, tvede@math.aau.dk

Examples

1
2
3
4
5
6
df_ <- simulate_pops(pop_n = 20, aims_n = 50)
df_db <- pops_to_DB(df_)
profile <- random_AIMs_profile(df_db, keep_pop = TRUE)
profile$pop[1] # The true population
result <- genogeo(profile[,c("locus","x0")], df = df_db)
error_bar_plot(result)

genogeographer documentation built on Sept. 27, 2019, 5:03 p.m.