Giter VIP home page Giter VIP logo

Comments (5)

IndrajeetPatil avatar IndrajeetPatil commented on June 8, 2024

I am a bit confused here. Which stars are you referring to?

> correlation::correlation(iris)

Parameter1   |   Parameter2 |     r |         95% CI |     t |  df |      p |  Method | n_Obs
---------------------------------------------------------------------------------------------
Sepal.Length |  Sepal.Width | -0.12 | [-0.27,  0.04] | -1.44 | 148 | 0.152  | Pearson |   150
Sepal.Length | Petal.Length |  0.87 | [ 0.83,  0.91] | 21.65 | 148 | < .001 | Pearson |   150
Sepal.Length |  Petal.Width |  0.82 | [ 0.76,  0.86] | 17.30 | 148 | < .001 | Pearson |   150
Sepal.Width  | Petal.Length | -0.43 | [-0.55, -0.29] | -5.77 | 148 | < .001 | Pearson |   150
Sepal.Width  |  Petal.Width | -0.37 | [-0.50, -0.22] | -4.79 | 148 | < .001 | Pearson |   150
Petal.Length |  Petal.Width |  0.96 | [ 0.95,  0.97] | 43.39 | 148 | < .001 | Pearson |   150

from correlation.

DominiqueMakowski avatar DominiqueMakowski commented on June 8, 2024

I think @zief0002 is referring to the stars from summary:

> summary(correlation::correlation(iris))
Parameter    | Petal.Width | Petal.Length | Sepal.Width
-------------------------------------------------------
Sepal.Length |     0.82*** |      0.87*** |       -0.12
Sepal.Width  |    -0.37*** |     -0.43*** |            
Petal.Length |     0.96*** |              |            

I am currently looking into it

from correlation.

DominiqueMakowski avatar DominiqueMakowski commented on June 8, 2024

@zief0002 This option is already available by expliciting the printing:

> print(summary(correlation::correlation(iris)), stars=F)
Parameter    | Petal.Width | Petal.Length | Sepal.Width
-------------------------------------------------------
Sepal.Length |        0.82 |         0.87 |       -0.12
Sepal.Width  |       -0.37 |        -0.43 |            
Petal.Length |        0.96 |              |            

from correlation.

DominiqueMakowski avatar DominiqueMakowski commented on June 8, 2024

@zief0002 added the feature (on the dev branch):

> summary(correlation(iris), stars=FALSE)
Parameter    | Petal.Width | Petal.Length | Sepal.Width
-------------------------------------------------------
Sepal.Length |        0.82 |         0.87 |       -0.12
Sepal.Width  |       -0.37 |        -0.43 |            
Petal.Length |        0.96 |              |            

from correlation.

zief0002 avatar zief0002 commented on June 8, 2024

Sorry I wasn't clear. I was talking about the stars that appear in summary(). Thanks for being receptive to the idea!

from correlation.

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.