Introduction
In comparison to programs such as Stata and SPSS, R is not necessarily friendly to data editing using a graphic user interface (GUI). Oftentimes, when working in R, you’ll find yourself using code to data edit or perhaps reverting to Excel before importing data back into R. In this blog, we’ll show you how to use the DataEditR package in Stata for easier data editing.
Load the Package
Try the following code:
install.packages("DataEditR")
library(DataEditR)
View and Edit Data
Now call up R’s mtcars dataset for editing using DataEditR:
data_edit(mtcars)
Notice that the interface that comes up lets you edit the data in mtcars right in your browser, somewhat replicating the editing window you might be familiar with from Stata or SPSS.
BridgeText can help you with all of your statistical analysis needs.