Stata FrGet

-frget- copies a variable from a linked frame.


Usage

frget foo bar baz, from(linkvar)
frget foo newbar=bar, from(linkvar)

To copy all variables while adding a prefix, try:

frget *, from(linkvar) prefix(merge_)

There is also a suffix(stub) option.


See also

Stata manual for -frget-


CategoryRicottone

Stata/FrGet (last edited 2025-10-24 17:12:18 by DominicRicottone)