R programmer for improving a crosstable function

  • Status: Closed
  • Præmie: $40
  • Modtagne indlæg: 3
  • Vinder: heatherturner

Konkurrencebeskrivelse

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.

Anbefalede færdigheder

Arbejdsgiverfeedback

“Nice person to work with.”

Profilbillede dmsilv, Brazil.

Bedste indlæg fra denne konkurrence

Se flere indlæg

Offentlig præciseringstavle

  • dhirajkhanna
    dhirajkhanna
    • 2 år siden

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

    • 2 år siden
    1. dmsilv
      Konkurrencevært
      • 2 år siden

      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 år siden

Sådan kommer du i gang med konkurrencer

  • Opret din konkurrence

    Opret din konkurrence Hurtigt og nemt

  • Få tonsvis af indlæg

    Få tonsvis af indlæg Fra hele verden

  • Vælg det bedste indlæg

    Vælg det bedste indlæg Download filerne - Nemt!

Opret en konkurrence nu eller slut dig til os i dag!