plotConfRegion {PathoStat}R Documentation

Compute the confidence region for the given proportions

Description

Compute the confidence region for the given proportions

Usage

plotConfRegion(p1, p2, size = 100, uselogit = TRUE, n = 10000,
    seed = 1000, jit = FALSE)

Arguments

p1

Read counts for first taxon

p2

Read counts for second taxon

size

Total read counts in the sample

uselogit

Use logit transformation to compute confidence region

n

Total number of simulation points to generate

seed

Seed to use in random simulation

jit

jitter option (FALSe by default) for the plot

Value

Confidence region plot

Examples

p1 <- 20
p2 <- 25
size <- 200
plotConfRegion(p1, p2, size, uselogit=FALSE)

[Package PathoStat version 1.4.1 Index]