Giter Site home page Giter Site logo

Question about net about expss HOT 2 CLOSED

robertogilsaura avatar robertogilsaura commented on June 17, 2024
Question about net

from expss.

Comments (2)

gdemin avatar gdemin commented on June 17, 2024

Hi, @robertogilsaura
hide is for "hiding" items from which category consists. So it is applicable only for "subtotal" and absolutely useless for "nets". "nets" hide subitems by default.

In your case it is easier just remove row:

data %>% 
    tab_cols('|'=unvr(reTEST)) %>% 
    tab_cells('|'=unvr(value)) %>% 
    tab_net_cells("Top Box (seguro compraría)" = 5, 
                  "Top 2 Box (seguro y probable compraría)"= 4:5, 
                  "Bottom 2 Box (seguro y probable no compraría)"=1:2, 
                  "Rest"=3) %>%
    tab_stat_cpct(total_row_position = 'none') %>% 
    tab_cells('|'=unvr(value)) %>% 
    tab_stat_mean() %>% 
    tab_pivot() %>% 
    rows(!grepl("Rest", row_labels)) %>% 
    as.etable()

from expss.

robertogilsaura avatar robertogilsaura commented on June 17, 2024

Thanks a lot for your answer, @gdemin.

from expss.

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.