Learn R Programming

fsthet (version 1.0.1)

ci.means: This calculates the average confidence intervals from multiple bootstrap outputs.

Description

This calculates the mean upper and lower confidence intervals from a list of bootstrap CI matrices.

Usage

ci.means(boot.out.list)

Arguments

boot.out.list

A list of matrices. Each matrix is the CIs from fst.boot (boot.out[[3]]).

Value

avg.cil

A list of the average lower CI values

avg.ciu

A list of the average upper CI values

Examples

Run this code
# NOT RUN {
  
# }
# NOT RUN {
  
# }
# NOT RUN {
    gfile<-system.file("extdata", "example.genepop.txt",package = 'fsthet')
    gpop<-my.read.genepop(gfile)
    quant.out<-fst.boot(gpop, bootstrap = FALSE)
    quant.list<-ci.means(quant.out[[3]])
  
# }

Run the code above in your browser using DataLab