R programmer for improving a crosstable function

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

Konkurrence Instruktioner

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.

Offentlig Præciserings Opslagstavle

  • dhirajkhanna
    dhirajkhanna
    • 8 år siden

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

    • 8 år siden
    1. dmsilv
      Konkurrenceafholder
      • 8 å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?

      • 8 å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

  • Tildel det bedste indlæg

    Tildel det bedste indlæg Download filerne - Nemt!

Opret en Konkurrence Nu eller slut dig til os i dag!