Skip to contents

Statistics by groups

Usage

nonprobsvyby(y, by, object, FUN)

Arguments

y
  • formula for variable of interest

by
  • formula for grouping variables

object
  • object of nonprobsvy class

FUN
  • string specifying the function to apply ("mean" or "total")

Value

A data frame with estimated statistics of the given covariates by groups