Dear R, I recently did a canonical correlation analysis on two subsets of data (location and weather). So I now have canonical scores for location and weather. but I'd now like to do a scatterplot matrix using the pairs statement. Is there a way to somehow join location.U and weather.V to become a new data set from which I could undertake a scatterplot matrix of the canonical variates? brett Brett Stansfield Environmental Scientist - Water Quality Hawke's Bay Regional Council 102 Vautier Street Private Bag 6006 Napier Phone (06) 835-9200 extn 9334 Fax (06) 835-3601
Brett Stansfield wrote:> Dear R, > I recently did a canonical correlation analysis on two subsets of data > (location and weather). So I now have canonical scores for location and > weather. but I'd now like to do a scatterplot matrix using the pairs > statement. > > Is there a way to somehow join location.U and weather.V to become a new data > set from which I could undertake a scatterplot matrix of the canonical > variates?Not sure about your question, but I guess you are simply looking for ?rbind. Uwe Ligges> brett > > > Brett Stansfield > Environmental Scientist - Water Quality > Hawke's Bay Regional Council > 102 Vautier Street > Private Bag 6006 > Napier > Phone (06) 835-9200 extn 9334 > Fax (06) 835-3601 > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Brett Stansfield wrote:> Dear R, > I recently did a canonical correlation analysis on two subsets of data > (location and weather). So I now have canonical scores for location and > weather. but I'd now like to do a scatterplot matrix using the pairs > statement. > > Is there a way to somehow join location.U and weather.V to become a new data > set from which I could undertake a scatterplot matrix of the canonical > variates?cbind() can create a matrix by binding together the columns of two (or more) input matrices. Duncan Murdoch