Skip to main content Skip to table of contents. Advertisement Hide. This service is more advanced with JavaScript available. R for Stata Users. Authors view affiliations Robert A. Muenchen Joseph M. Read data from various types of text files and Stata data sets Manage your data through transformations, recodes, and combining data sets from both the add-cases and add-variables approaches and restructuring data from wide to long formats and vice versa Create publication quality graphs Perform the basic types of analyses to measure strength of association and group differences and be able to know where to turn to cover much more complex methods Includes supplementary material: sn.
Front Matter Pages i-xxiv. Pages Installing and Updating R. Running R. Help and Documentation. Programming Language Basics. Data Acquisition. Selecting Variables. Selecting Observations. Selecting Variables and Observations. Data Management. Enhancing Your Output. Generating Data. Managing Your Files and Workspace.
Graphics Overview. For example, when R is called interactively, Rcalldocuments the commands in a history do- le that can be executed within Stata to reproduce the analysis. Finally, programming with a foreign language can lead to variety of bugs. The package includes a command to ease embedding R in Stata. Download Stata data sets here. All Rcommands written in base R, unless otherwise noted.
Note: unlike R packages, Stata packages do not have to be loaded each time once installed. The table of contents and index allow you to find equivalent R functions by looking up Stata commands and vice versa. The example programs and practice datasets for both R and Stata are available for download.
Robert A.
0コメント