Differences between revisions 1 and 2
Revision 1 as of 2023-06-09 15:54:52
Size: 563
Comment:
Revision 2 as of 2023-06-09 15:56:45
Size: 586
Comment:
Deletions are marked like this. Additions are marked like this.
Line 18: Line 18:
To copy all variables with a prefix, try: To create an alias for all variables while adding a prefix, try:

Stata FrAlias

The fralias command provides a read-only view of values in a linked frame.


Usage

fralias add foo bar baz, from(linkvar)
fralias add foo newbar=bar, from(linkvar)

To create an alias for all variables while adding a prefix, try:

fralias add *, from(linkvar) prefix(merge_)

To list all aliased variables, try fralias describe.


See also

Stata manual for fralias


CategoryRicottone

Stata/FrAlias (last edited 2023-06-09 15:58:28 by DominicRicottone)