symmetry: Bowker's Symmetry Test

View source: R/precision_functions.R

symmetryR Documentation

Bowker's Symmetry Test

Description

symmetry Performs Bowker's symmetry test comparing two sets of age reads on the same fish.

Usage

symmetry(data)

Arguments

data

Numeric data frame, with no NA values, representing paired age reads on the same individual fish.

Value

Object of class data.frame containing the results of the Bowker's symmetry test. The data.frame will contain three columns:

chisq

Chi-square statistic

df

estimated degrees of freedom for the chi-square test

p.value

p-value of the symmetry test

Examples

#Example - RedPorgy Dataset
data(RedPorgy)
symmetry(na.exclude(RedPorgy[, c(1, 2)]))

ballengerj/FishyR documentation built on June 17, 2022, 10:33 p.m.