.- help for ^lfsum ^lfsummvl lfuni lftabl lfdes^ .- Descriptive command after search of fragments of variable names ----------------------------------------------------------------- ^lfsum string_fragments_to_include, string_fragments_to_exclude^ ^lfsummvl string_fragments_to_include, string_fragments_to_exclude^ ^lfuni string_fragments_to_include, string_fragments_to_exclude^ ^lftabl string_fragments_to_include, string_fragments_to_exclude^ ^lfdes string_fragments_to_include, string_fragments_to_exclude^ Description ----------- The ^lf^ series of programs are based on simple modifications of the official Stata ^lookfor^ command. The purpose of this command is to allow users to describe variously a subset of variables based on 1 or more characters in the variable name. This is useful when the variables of interest have certain characters in common but those characters do not begin the variable name. The ^lf^ series also allows strings to be excluded. Options ------- string_fragments_to_exclude Examples -------- . lfsum ara Variable | Obs Mean Std. Dev. Min Max ---------+----------------------------------------------------- aramisyn | 6608 .6301453 .4828017 0 1 carafate | 275 1 0 1 1 caratime | 275 4.770909 1.914759 1 6 carastop | 48 14251.6 106.0624 13932 14387 st_caraf | 275 .7636364 .4256226 0 1 caradose | 11571 17.28792 128.4147 0 1000 carasdat | 57 14247.49 129.3099 13895 14410 aravtime | 3339 3.831686 2.040146 0 6 arastop | 436 14327.7 56.11732 14083 14568 arava | 3339 1 0 1 1 starava | 3339 .7891584 .4079672 0 1 aravdose | 14701 4.541868 8.378948 0 20 arasdat | 1675 14311.15 75.31641 14076 14561 We are interested in all variables pertaining to the drug ^Arava.^ -lfsum ara- identifies all variables with the string "ara" including variables we don't want. . lfsum ara, cara aram Variable | Obs Mean Std. Dev. Min Max ---------+----------------------------------------------------- aravtime | 3339 3.831686 2.040146 0 6 arastop | 436 14327.7 56.11732 14083 14568 arava | 3339 1 0 1 1 starava | 3339 .7891584 .4079672 0 1 aravdose | 14701 4.541868 8.378948 0 20 arasdat | 1675 14311.15 75.31641 14076 14561 -lfsum ara, cara aram- excludes all variables containing "cara" and "aram" lfsummvl ara, cara aram lfdes ara age sex Authors ------- Modified by Fred Wolfe from Stata's ^lookfor^ Also see -------- Manual: ^[R] lookfor^ On-line: help for @lookfor@ @dellist@ @summarize@ @summvl@ @tabl@ @univar@ @describe@