Giter Site home page Giter Site logo

Comments (7)

jbryer avatar jbryer commented on September 28, 2024

This issue has been fixed and a test was added to the UnusedLevels demo. Problem seem to be more related to using a numeric vector type for the group assignment.

from likert.

patilv avatar patilv commented on September 28, 2024

I am having the same problem show up and the example in the demo is also throwing the same error.

from likert.

josiahpjking avatar josiahpjking commented on September 28, 2024

Not sure why, but detaching the reshape package solved this for me.

from likert.

jbryer avatar jbryer commented on September 28, 2024

I just recently updated the package to use reshape2 instead of reshape given that ggplot2 uses the latter now. I do explicitly call reshape2::melt but if reshape is also loaded, there is a conflict somewhere in the namespace. I believe it has to do with the fact that the class type returned by both are the same so the wrong S3 method is being dispatched. My advice, abandon reshape and stick with reshape2. I believe that RStudio and Hadley have done.

from likert.

patilv avatar patilv commented on September 28, 2024

Detaching reshape did it for me as well. Thanks for the tip. I believe the reshape2 tasks are now predominantly going to be done using tidyr. So we could go to the gather function to do what melt does. I will take a closer look at the package code sometime soon. Thanks for the great work on this.

from likert.

jbryer avatar jbryer commented on September 28, 2024

Great! Glad it worked. I finally get around to update to reshape2 and
Hadley has another way of doing things. ;-)

-Jason

On Thu, Nov 12, 2015 at 9:17 AM, Vivek Patil [email protected]
wrote:

Detaching reshape did it for me as well. Thanks for the tip. I believe the
reshape2 tasks are now predominantly going to be done using tidyr. So we
could go to the gather function to do what melt does. I will take a closer
look at the package code sometime soon. Thanks for the great work on this.


Reply to this email directly or view it on GitHub
#16 (comment).

from likert.

raynamharris avatar raynamharris commented on September 28, 2024

Thanks! I detached reshape then loaded reshape2 and all was well

detach("package:reshape", unload=TRUE)
library("reshape2")

from likert.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.