xtable
Table## 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
xtable
Note the return is .html code.
library(xtable)
print(xtable(f1), type ="html")
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 |