Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

a_ply warning: duplicated names/ levels #280

Open
mhische-md opened this issue Aug 15, 2016 · 0 comments
Open

a_ply warning: duplicated names/ levels #280

mhische-md opened this issue Aug 15, 2016 · 0 comments

Comments

@mhische-md
Copy link

When running the following code:

library( "plyr" ) # installed version is 1.8.4
A <- matrix( as.logical(c(1,0,0,0,1,1,0,1,0,0,0,1)), nrow = 3, dimnames = list( LETTERS[1:3], letters[1:4]))
A.idx <- which(A, arr.ind = TRUE)
a_ply( A.idx, 1, function(x){ print(str(x)) })

I recieve two warnings:

1: Duplicate names not supported.
2: In levels<-(*tmp*, value = if (nl == nL) as.character(labels) else paste0(labels, : duplicated levels in factors are deprecated

However, I can not see duplicated names in my data.
Could anyone please give me a hint, what these warnings are about or what I am expected to change here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant