Displaying 1 result from an estimated 1 matches for "producihg".
Did you mean:
producida
2007 Feb 14
3
Putting splom in a function
Hello R list,
I have a little problem with splom. I'd like to wrap it in a
function, for example:
multi.scatterplot <- function(data,groups,cols,colors) {
splom(~data[,cols], groups = as.symbol(groups), data = data, panel
= panel.superpose, col=colors)
}
and then call it like in
multi.scatterplot(iris,"Species",1:4,c("green","blue","red"))