Re: [R] Duplicate row names are not allowed

2017-05-23 Thread peter dalgaard
Presumably, RCommander's readXL generates an invalid data frame (John?). To investigate, look at row.names(Dataset) and to fix row.names(Dataset) <- NULL If the issue is that Dataset really isn't a data frame, maybe try Dataset <- as.data.frame(Dataset). [Your screenshot made it through to

Re: [R] Duplicate row names are not allowed

2017-05-22 Thread Jeff Newmiller
Start with the Posting Guide mentioned at the bottom of this email. Note that only a very few types of attachments are permitted on this list... yours apparently were not. We generally find that providing a reproducible example that includes the data in the R code and the statements that cause

[R] Duplicate row names are not allowed

2017-05-22 Thread ville iiskola via R-help
Hi I read a book where was shown an example how to create a probability model with mlogit. I tried to do like the instruction said but i get error message that "duplicate row names are not allowed". What could i do to fix it? I had the data in excel and imported it to R using R commander. I atta