Displaying 1 result from an estimated 1 matches for "var1name".
Did you mean:
argname
2005 May 26
1
export the graphical result of bwplot()
...1_var22.jpg"
[1] "mode: numeric numeric"
Error in bwplot(var1 ~ var2) : (converted from warning) x should be numeric
Execution halted
---CODE--------------------------------------------
library(RMySQL)
library(XML)
library(lattice)
...
analysis_var_var_bwplot <- function(var1 , var1name , var2 , var2name )
{
n <- paste("bwplot_" , var1name , "_" , var2name , ".jpg" , sep="")
print(n)
print ( paste("mode:" , mode(var1) , mode(var2) ) )
jpeg(file=n)
bwplot(var1 ~ var2 )
dev.off()
}
analysis_bw...