R programmer for improving a crosstable function

  • Status: Closed
  • Prize: $40
  • Entries Received: 3
  • Winner: heatherturner

Contest Brief

Hi, I've some programming demands to update an old R function I use to analyse data, it produces a crosstable object which I believe can be improved. First, I want to include in arguments (...) the data frame, so it would work as crosstable(DF, VAR1, VAR2, VAR3, ... ). My need today is to be able to use this function along with dplyr functions like; DF %>% crosstable(VAR1, VAR2), is it possible? Second, I want it to be faster, if possible. R language has advanced great deal in the late years, so maybe something can be done to make the crosstable a bit more rapid.

Recommended Skills

Employer Feedback

“Nice person to work with.”

Profile image dmsilv, Brazil.

Top entries from this contest

View More Entries

Public Clarification Board

  • dhirajkhanna
    dhirajkhanna
    • 2 years ago

    Can you please tell me what exactly you wish to achieve with your function by the help of an example?

    • 2 years ago
    1. dmsilv
      Contest Holder
      • 2 years ago

      Today the function works as crosstable( DF$VAR1, DF$VAR2, DF$VAR3, ... ) . I need this to match the data.frame, like : crosstable( data=DF, VAR1, VAR2, VAR3, ... ). Second, it would be really nice to use the function along with dplyr style; DF %>% crosstable(VAR1, VAR2). Is it any better?

      • 2 years ago

How to get started with contests

  • Post your contest

    Post Your Contest Quick and easy

  • Get tons of entries

    Get Tons of Entries From around the world

  • Award the best entry

    Award the best entry Download the files - Easy!

Post a Contest Now or Join us Today!