Data Input, Import and Print

Ajay Ohri · 2019

Importing data in R requires a variety of functions to import different types of files whereas proc. import is used with different options or parameters to import any type of file in SAS. There are a number of ways to import data into R. This chapter explores some of the ways to import data in R. Data Input in SAS manually has been an easy task, and there are a certain set of examples where one can easily learn how to input data in SAS. The INPUT statement reads raw data from instream data lines or external files into an SAS dataset. After importing the data, the next important step is to print that data to have a look at the type of data one have to analyze. In R, printing a dataset just requires the writing of the name of the dataset and running it, whereas SAS uses proc. print to print any dataset.

Read the paper · More papers on PaperTik