Skip to content
Prev 262329 / 398502 Next

scatterplot3d - help assign colors based on multiple conditions

On 09.06.2011 16:51, Karthik Kota wrote:
Both question and answer are not really scatterplot3d related: You 
probably want

col <- ifelse(grepl("_Anterior_nares", xlabels) & 
grepl("_Anterior_nares", ylabels), "red", "black")

Best,
Uwe Ligges