Hello, R experts- If I create a new factor, say Z, by combining other factors, say X and Y, is there ways to create a data.frame from the resulting factor Z? For example, suppose I enter the following:
X = 1:3 Y = letters[1:3] Z = interaction( X, Y, sep=":") Then, I want to get a data.frame that look like 1 a 2 b 3 c Help me--- Thanks -- View this message in context: http://www.nabble.com/creating-data.frame-from-interaction-of-factors-tf3234700.html#a8988666 Sent from the R help mailing list archive at Nabble.com. ______________________________________________ [email protected] 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.
