Git Product home page Git Product logo

Comments (5)

daroczig avatar daroczig commented on July 26, 2024

Please add some docs too! :)

BTW I do not get what are these warnings for, eg.:

> rp.freq('game', ius2009)
         game    N     pct cum.n cum.pct
1       never 5152 51.9041  5152  51.904
2 very rarely 1848 18.6178  7000  70.522
3      rarely  490  4.9365  7490  75.458
4   sometimes  910  9.1678  8400  84.626
5       often  532  5.3597  8932  89.986
6  very often  518  5.2186  9450  95.205
7      always  476  4.7955  9926 100.000
Warning messages:
1: In `[<-.factor`(`*tmp*`, ri, value = c(19, 48, 20, 46, 24, 22, 20,  :
  invalid factor level, NAs generated
2: In `[<-.factor`(`*tmp*`, ri, value = c(2, 8, 1.5, 1, 1, 0.5, 0,  :
  invalid factor level, NAs generated
3: In `[<-.factor`(`*tmp*`, ri, value = c(5, 5, 3, 1, 2, 0.5, 5, 3,  :
  invalid factor level, NAs generated

But based on that I found a bug in evals (multiple warnings at once), which is cool!

from rapport.

aL3xa avatar aL3xa commented on July 26, 2024

WT.... this shouldn't happen! And my sample didn't have 9926, but 812 respondents. So this is a bug. Thanks for spotting it!

from rapport.

aL3xa avatar aL3xa commented on July 26, 2024

I've fixed the bug, but NA / Valid stuff is yet to be implemented. Removing bug label.

from rapport.

daroczig avatar daroczig commented on July 26, 2024

Please also mind this ticket, in short: add NA row if applicable.

from rapport.

daroczig avatar daroczig commented on July 26, 2024

helpers are being moved to https://github.com/Rapporter/rapportools

from rapport.

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.