splitPercentCombine: Splits a data.frame, applies a function and combines into...

Description Usage Arguments See Also

Description

This is a fast implementation of ddply, optimised for a as.surveyorCode object.

Usage

1
  splitPercentCombine(dat, statsFunction = weightedCount)

Arguments

dat

a as.surveyorCode object

statsFunction

A function that calculates a weighed statistic, such as weightedMean, weightedMedian, weightedSum or weightedCount

See Also

splitMeanCombine

as.surveyorStats

Other stats helper functions: allNA, allNull, is.yesno, qType, reorderQuestion, reorderResponse, splitBinCombine, splitMeanCombine, weightedCount, weightedMean, weightedMedian, weightedSum


andrie/surveyor documentation built on May 10, 2019, 11:21 a.m.