Code Monkey home page Code Monkey logo

usefulr's Introduction

hey ๐Ÿ‘‹ Iโ€™m Gosha

my tools:

currently working on:

Readme Card

usefulr's People

Contributors

gerasy1987 avatar

Watchers

 avatar  avatar

usefulr's Issues

Move all output formatting from analyses() to table_out()

Currently treat_only, stars and round_digits are arguments for usefulr::analyses() which does not make sense, since the function is mainly for estimation. Consider moving this functionality and all output formatting to usefulr::table_fun()

This most likely will mean that the following chunk should be moved to usefulr::table_fun()

out <-
    dplyr::mutate(estout,
                  printout =
                    ifelse(is.nan(estimate), "-- [--]",
                           paste0(fround(estimate, digits = round_digits),
                                  ifelse(stars, add_stars(p.value), ""),
                                  " [", fround(std.error, digits = round_digits), "]")),
                  estimate =
                    round(estimate, digits = 3), std.error = round(std.error,
                                                                   digits = round_digits),
                  p.value = round(p.value, digits = round_digits))

out <- dplyr::select(.data = out,
                                  term, estimate, std.error,
                                  printout, p.value)

Rename functions

Not sure is the function naming is very systematic. In particular I don't like

  • table_fun()
  • clusterboot_mfx()
  • vcov_cluster()
  • ocme_mod()

Extend robust = TRUE option in usefulr::analyses()

Currently robust = TRUE in combination with cluster = NULL is only supported for model = "lm" in usefulr::analyses(). Given how much Stata-people like , robust, should probably extend this to other models.

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.