Description Usage Arguments Value Author(s) See Also Examples
This function takes the results of the Analysis function from this package and displays the pertinent information in a table correctly formatted for LaTeX. The results are printed to the console and can be copied straight into a TeX Editor and run to display the tables. Users familiar with LaTeX may find this a helpful basis from which to further customize the table.
1 | Output.table(analysis_list)
|
analysis_list |
A list of length 2 or 7 with results of statistical tests, formatted as a data frame. Ideally the output of the Analysis function, so that the tests are consistent in content and order. |
The function outputs a block of LaTeX code to the console for the user to copy to a TeX Editor.
Karthik Yarlagadda
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | a <- matrix(c(0,0.0106,0.384,0.0106,0,0.002,0.384,0.002,0), nrow=3, ncol=3, byrow = TRUE)
colnames(a) <- c("Sample1","Sample2","Sample3")
b <- matrix(c(0,0.014,0.0352,0.014,0,0.0235,0.0352,0.0235,0), nrow=3, ncol=3, byrow = TRUE)
colnames(b) <- c("Sample1","Sample2","Sample3")
example.list <- list(a,b)
library(asnipe)
library(vegan)
Example.analysis <- Analysis(example.list,permutations=5)
Output.table(Example.analysis)
a <- matrix(c(0,0.0106,0.384,0.0106,0,0.002,0.384,0.002,0), nrow=3, ncol=3, byrow = TRUE)
colnames(a) <- c("Sample1","Sample2","Sample3")
rownames(a) <- c("Sample1","Sample2","Sample3")
b <- matrix(c(0,0.014,0.0352,0.014,0,0.0235,0.0352,0.0235,0), nrow=3, ncol=3, byrow = TRUE)
colnames(b) <- c("Sample1","Sample2","Sample3")
rownames(b) <- c("Sample1","Sample2","Sample3")
c <- matrix(c(0,0.04,0.02,0.04,0,0.01,0.02,0.01,0), nrow=3, ncol=3, byrow = TRUE)
colnames(c) <- c("Sample1","Sample2","Sample3")
rownames(c) <- c("Sample1","Sample2","Sample3")
example.list <- list(a,b,c)
library(asnipe)
library(vegan)
Example.analysis <- Analysis(example.list,permutations=5)
Output.table(Example.analysis)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.