Displaying 1 result from an estimated 1 matches for "orde2".
Did you mean:
order
2010 Jul 21
1
xtable with ifelse statement
...Spain
the second one is like this
$code 1
var1 87
var2 73
$code2
var1 34
var2 23
As you can see the two list have the same names.I tried to implement the
following ifelse statement but it doesn't work
orde2=function(x,y){
ifelse(names(x)==names(y),list(print(xtable(x)),print(xtable(y))),NULL)
What I want is the xtable of this first:
$code1
Code code1
Nation Usa
and after this:
$code 1
var1 87
var2 73
And as the first case, the xtabl...