track_CI_change: Calculate credible interval

View source: R/statistical_analyses.R

track_CI_changeR Documentation

Calculate credible interval

Description

Calculate credible interval for data obtained over the course of experiment

Usage

track_CI_change(time_series_result, colony_stats)

Arguments

time_series_result

A dataset with the results of the ant removal experiment; retrieved by data("time_series_result", package = "overwintering").

colony_stats

A dataset containing numeric parameters describing colony state and experiment preparation;retrieved by data("colony_stats", package = "overwintering").

Details

This function uses time_series_results and colony_stats datasets to calculate how confidence interval for the null hypothesis and credible interval for actual data changes over the course of experiment; this issue was examined following the suggestion of the reviewer

Value

an updated version of of time_series_results data frame with CI values added (long format)


TomVuod/overwintering documentation built on Nov. 22, 2023, 10:24 a.m.