Skip to contents

Funtions for working with panel data

makeBalancedPanel()
Balance a Panel Data Set
panel2cs()
Panel Data to Repeated Cross Sections
panel2cs2()
Panel Data to Repeated Cross Sections
ids2rownum()
Convert Vector of ids into Vector of Row Numbers
cs2panel()
Cross Section to Panel
subsample()
Subsample of Observations from Panel Data
blockBootSample()
Block Bootstrap
multiplier_bootstrap()
multiplier_bootstrap
get_group()
get_group
get_YiGmin1()
get_YiGmin1
get_Yi1()
get_Yi1
get_Yibar()
get_Yibar
get_Yit()
get_Yit
get_first_difference()
get_first_difference
get_lagYi()
get_lagYi
get_Yibar_pre()
get_Yibar_pre
get_principal_components()
get_principal_components
orig2t()
orig2t
t2orig()
t2orig

Functions for working with distributions

makeDist()
Make a Distribution Function
combineDfs()
Combine Two Distribution Functions
invertEcdf()
Invert Ecdf
checkfun()
Check Function
weighted.checkfun()
Weighted Check Function
getWeightedQuantiles()
Get Weighted Quantiles
getWeightedMean()
Weighted Mean
getWeightedDf()
Weighted Distribution Function

Functions for creating summary statistics

compareBinary()
Compare Variables across Groups

Functions for working with formulas

dropCovFromFormla()
Drop a Covariate from a Formula
addCovToFormla()
Add a Covariate to a Formula
lhs.vars()
Left-hand Side Variables
rhs()
Right-hand Side of Formula
rhs.vars()
Right-hand Side Variables
toformula()
Variable Names to Formula

Other miscellaneous functions

getListElement()
Return Particular Element from Each Element in a List
source_all()
source_all
TorF()
TorF
element_wise_mult()
element_wise_mult
mv_mult()
Matrix-Vector Multiplication
drop_collinear()
drop_collinear

Package documentation