comparison | R Documentation |
Filter table A to perform a fair comparison with table B using row.names
comparison(
tabA,
tabB,
use_names,
summaryze = FALSE,
formate = TRUE,
verbose = FALSE
)
tabA |
Table A, from evaluate (output values) |
tabB |
Table B, from evaluate (for row.names only) |
use_names |
list of names to be used instead of row.names of Table B |
summaryze |
logical, true to update or add a summary |
formate |
argument passed to evaluation function, only works with summaryze = TRUE |
verbose |
display additional information |
Table A containing only the row.names in table B
to perform a comparison check both tables using comparison(A,B) and comparison(B,A)
model <- 1:10
data <- model + rnorm(10,0.2)
A <- stats(mo = model, ob = data)
for(i in 2:10){
data <- model + rnorm(10,0.2)
A <- rbind(A,stats(mo = model, ob = data))
}
row.names(A) <- c('a0','a1','a3','b0','b1','b2','b3','d0','d1','d2')
data <- model + rnorm(10,0.2)
B <- stats(mo = model, ob = data)
for(i in 2:5){
data <- model + rnorm(10,0.2)
B <- rbind(B,stats(mo = model, ob = data))
}
row.names(B) <- c('a0','a1','z0','z1','z2')
comparison(A,B,verbose = TRUE)
comparison(B,A,verbose = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.