Learn R Programming

tempR (version 0.10.1.1)

bootstrap.band: Get bootstrap confidence bands for attribute selections

Description

Get bootstrap confidence bands for TCATA attribute citation rates or TDS attribute dominance rates.

Usage

bootstrap.band(X, boot = 999, alpha = 0.05, return.bias = FALSE)

Value

lcl lower 100(alpha/2)% bootstrap confidence limit

ccl upper 100(1 - alpha/2)% bootstrap confidence limit

bias provided if output.bias = TRUE

Arguments

X

data frame of indicator data (with possible values 0 or 1)

boot

number of virtual panels

alpha

alpha level for bootstrap confidence bands

return.bias

indicates whether to return bias associated with bootstrap mean value

Details

Get bootstrap confidence bands for TCATA attribute citation rates or TDS attribute dominance rates.

Examples

Run this code
x <- ojtcata[ojtcata$samp == 1 & ojtcata$attribute == "Sweetness",  -c(1:4)]
x.boot.ci <- bootstrap.band(x, boot = 99) # 99 is only for illustrative purposes
x.boot.ci

Run the code above in your browser using DataLab