bootstrapSample: Internal function bootstrapSample()

Description Usage Arguments Value

View source: R/Estim_readCounting.R

Description

This function simply creates a bootstrap sample from a vector of counts, and computes the sample mean and variance.

Usage

1
bootstrapSample(counts, sboot)

Arguments

counts

Vector of counts to sample from.

sboot

Size of bootstrap samples.

Value

A 2-vector with the mean and variance of a sample of size sboot drawn with replacement in counts.


lbroseus/SIRFindeR documentation built on Nov. 30, 2020, 11:06 a.m.