calculateDigamma: SQL Digamma function

View source: R/dbplyHelper.R

calculateDigammaR Documentation

SQL Digamma function

Description

Calculate an estimate of the digamma function value of integers for dplyr and dbplyr dataframes. This will be estimated in SQL if needed.

Usage

calculateDigamma(df, inputVar, outputVar)

Arguments

df

- a dataframe

inputVar

- the reference to the column for which the digamma value will be calculated (this must be an integer)

outputVar

- the column that the digamma result will be written to

Value

the dataframe with an "outputVar" column containing the digamma value


terminological/tidy-info-stats documentation built on Nov. 19, 2022, 11:23 p.m.