statar: Tools Inspired by 'Stata' to Manipulate Tabular Data

A set of tools inspired by 'Stata' to explore data.frames ('summarize', 'tabulate', 'xtile', 'pctile', 'binscatter', elapsed quarters/month, lead/lag).

Author
Matthieu Gomez [aut, cre]
Date of publication
2016-06-25 19:07:54
Maintainer
Matthieu Gomez <mattg@princeton.edu>
License
GPL-2
Version
0.6.2
URLs

View on CRAN

Man pages

count
Count number of non missing observations
elapsed
Elapsed dates (monthly, quarterly)
fill_gap
Add rows corresponding to gaps in some variable
find_duplicates
returns a data.frame with duplicated rows
is.panel
Check whether a data.frame is a panel
join
Join two data frames together
pctile
Weighted quantile of type 2 (similar to Stata _pctile)
statar
A package for applied research
stat_binmean
Plot the mean of y over the mean of x within bins of x.
sum_up
Gives summary statistics (corresponds to Stata command...
tab
Returns cross tabulation
tempname
Create unique names within a list, a data.frame, or an...
tlead-tlag
lead and lag with respect to a time variable
winsorize
Winsorize a numeric vector
xtile
Bin variable in groups (similar to Stata xtile)

Files in this package

statar
statar/inst
statar/inst/doc
statar/inst/doc/graph.Rmd
statar/inst/doc/vector.html
statar/inst/doc/data-frames.Rmd
statar/inst/doc/vector.Rmd
statar/inst/doc/panel-data.Rmd
statar/inst/doc/graph.html
statar/inst/doc/data-frames.html
statar/inst/doc/panel-data.html
statar/tests
statar/tests/testthat.R
statar/tests/testthat
statar/tests/testthat/test_lag.R
statar/tests/testthat/test_join.R
statar/tests/testthat/test_elapsed.R
statar/tests/testthat/test_fill.R
statar/NAMESPACE
statar/R
statar/R/stat_binmean.R
statar/R/utils.R
statar/R/fill_gap.R
statar/R/count.R
statar/R/is.panel.R
statar/R/tab.R
statar/R/pctile.R
statar/R/sum_up.R
statar/R/spread_.R
statar/R/statar.R
statar/R/elapsed_dates.R
statar/R/join.R
statar/R/xtile.R
statar/R/find_duplicates.R
statar/R/tempname.R
statar/R/winsorize.R
statar/R/tlead-tlag.R
statar/vignettes
statar/vignettes/graph.Rmd
statar/vignettes/output_3_0.png
statar/vignettes/data-frames.Rmd
statar/vignettes/v2by.png
statar/vignettes/vector.Rmd
statar/vignettes/panel-data.Rmd
statar/vignettes/output_2_0.png
statar/vignettes/box.png
statar/vignettes/output_4_0.png
statar/vignettes/v2.png
statar/vignettes/summary.html
statar/README.md
statar/MD5
statar/build
statar/build/vignette.rds
statar/DESCRIPTION
statar/man
statar/man/fill_gap.Rd
statar/man/winsorize.Rd
statar/man/tlead-tlag.Rd
statar/man/statar.Rd
statar/man/xtile.Rd
statar/man/elapsed.Rd
statar/man/tempname.Rd
statar/man/pctile.Rd
statar/man/is.panel.Rd
statar/man/find_duplicates.Rd
statar/man/tab.Rd
statar/man/join.Rd
statar/man/sum_up.Rd
statar/man/stat_binmean.Rd
statar/man/count.Rd