From johanna.e.wegener at gmail.com Fri Mar 27 18:00:31 2015 From: johanna.e.wegener at gmail.com (Hanna Wegener) Date: Fri, 27 Mar 2015 17:00:31 -0000 Subject: [Candisc-commits] candiscList - how to attach row names to scores Message-ID: I am using candiscList to calculate canonical scores for a multivariate model. I would like to merge the scores with other data frames and therefor it would be useful if the scores had the same row names as the original data. Rows of the scores are currently continuously numbered. I tried the usual row.names <- rownames(data) without success. Does anyone know how to do it? Thanks. Here is how I access the scores: c <- candiscList(model, scores=TRUE) d <- as.data.frame(c[["term"]]["scores"]) -------------- next part -------------- An HTML attachment was scrubbed... URL: