The rules for conformability of objects required for various operators remain a mystery as do some related problems like the rules for recycling in creating arrays etc. Would someone be able to direct me to where such rules are stated?
In a related vein, there are all manner of operations that are readily coded in Gauss or in MATA that fail, often mysteriously, in R. Are there some guidelines available? And here is a specific problem: I would like to carry out logical comparisons between a (vector?) of length EYE and each row of a JAY by EYE object, obtaining a conforming JAY by EYE result of comparisons such as Obj[Jay,Eye] == Vec[Eye] Any thoughts on how to effect this would be welcome. Among many failed efforts, as.matrix(7 element Vec) == { an 8 row, 7 column data.frame} yields a 8 by 7 result v1 vs Ob[1,1] v2 vs Obj[1,2] ... v2 vs Ob[2,1] . . et cetera . v7 vs Obj[7,1] v1 vs Obj[8,1] while as.matrix(7 element Vec) == t{ the 8 row, 7 column data.frame} yields a conformability error. Thanks for any help or comments. [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.