Data for table construction

##   ospreysex fishspp count
## 1      Male Sunfish    59
## 2    Female Sunfish    72
## 3      Male    Bass    14
## 4    Female    Bass    21
## 5      Male    Shad   189
## 6    Female    Shad   138

Table using the package pander

Fish capture frequency by osprey sex
Sex Fish Species Frequency
Male Sunfish 59
Female Sunfish 72
Male Bass 14
Female Bass 21
Male Shad 189
Female Shad 138

Analytical output for table construction

## 
##  Pearson's Chi-squared test
## 
## data:  f2
## X-squared = 8.7294, df = 2, p-value = 0.01272

pander table of analytical output

\(\chi^2\) test of fish capture frequency by osprey sex
Test statistic df P value
8.729 2 0.01272 *