| addobs | add observations to the data set |
| assert_loaded | assert a dataset is loaded in genvar and error otherwise |
| builddata | creates a dataset of a given number of observations |
| capture | captures an expression, returning TRUE if there was an error... |
| clear | clears the dataset in memory |
| collapse | collapses a data set by variables using arbitrary aggregation... |
| count | Counts how many observations (optionally, satisfying a... |
| describe | lists the names of the variables in the dataset |
| destring | convert a variable with string type into a numeric value |
| do | Executes R code on the dataset |
| dropif | drops rows from the dataset |
| dropvar | drops variables in varlist format from the dataset |
| estimates_get | display estimation results |
| estimates_restore | restore 'genvar' estimates |
| estimates_save | save 'genvar' estimates |
| estimates_store | store 'genvar' estimates |
| estimates_use | loads 'genvar' estimates from file |
| fillin | Fully rectangularize a dataset |
| forval | Execute code in the datasets environment for all values of a... |
| forvar | apply a function to each of a list of variables |
| gen | generates a new variable that is a transformation of existing... |
| getdata | exports data frame from genvar environment to R environment |
| gvmerge | merge two datasets |
| gvplot | convenience interface to R's 'plot' command |
| headdata | get first few observations |
| is_loaded | a command to determine whether data is loaded |
| keepif | keeps some rows in the dataset and drops the rest |
| keepvar | keeps some variables in the dataset and drops the others |
| L | a function to take lags and leads with panel data |
| listdata | lists datasets currently in memory |
| listif | prints the part of the dataset that satisfies certain... |
| logit | estimate a logistic regression |
| namedata | names a data set so that it can be restored by that name... |
| pred | gets fitted values from a genvar regression object |
| preserve | preserve a data set before modification |
| probit | estimate a probit regression |
| reg | regress y on x with robust standard errors, clustered... |
| rename | renames variables in the dataset |
| restore | restore a dataset from a previous preserve to be currently... |
| savedata | saves data to a CSV or RDS file |
| shape | reshapes a data set from wide to long or from long to wide... |
| structure_varlist | creates a formula object from a varlist, mostly for internal... |
| subset.varlist | generate a varlist that is a subset of another |
| summarize | summarize a variable list, giving basic descriptive... |
| switchdata | switches data sets among the datasets you have in memory |
| taildata | get last few observations |
| tostring | convert a variable of another type into a string variable |
| use | uses a dataset, marking it as the active dataset |
| xtset | prepares a panel dataset for lag operations |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.