Coder Social home page Coder Social logo

Alpha error about ggsignif HOT 4 CLOSED

shellyc26 avatar shellyc26 commented on August 20, 2024
Alpha error

from ggsignif.

Comments (4)

shellyc26 avatar shellyc26 commented on August 20, 2024

Actually, I just realized that it was because I had the "psych" package loaded. It works once I detach the psych package!

Is there any way to get around this, though? I almost always use this package, and having to detach it every time I plot is a bit irritating. Any ideas?

from ggsignif.

const-ae avatar const-ae commented on August 20, 2024

Hey, thanks for raising the issue.

You are right when the psych packages is loaded, it loads a new alpha() function. Internally I was calling alpha(), but forgot to specify that I want the scales::alpha() and not just which ever was loaded last.

I fixed the issue and you should now, after reinstalling the package from github, be able to use package without problems:

devtools::install_github("Artjom-Metro/ggsignif")

I will try to update the CRAN version as soon as possible so other users are not affected as well.

from ggsignif.

shellyc26 avatar shellyc26 commented on August 20, 2024

Awesome, thank you! This is a fantastic idea for a package!

I have another question (and can put it in a separate thread if you'd like). Is there any way to make the horizontal line/line tips a different linetype? For example, if I wanted a dashed horizontal line? I kept trying to pass the linetype = 2 to various plot layers (including the base layer), but that didn't work. Other aesthetics like color (changes color of both the line and the annotation) and size (changes size of annotation only) worked just fine. Any suggestions?

I think having the option for dashed lines might be useful, especially for making figures for publications that require black and white images (or those that make you pay for color images). Thanks again!

from ggsignif.

const-ae avatar const-ae commented on August 20, 2024

Great, that it worked for you.

The second point you raise sounds also like something that should reasonably work, but please open a new issue so this stuff is kept separated.

from ggsignif.

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.