Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in R Programming by (50.2k points)
I have just started learning R and I am having a problem that claims the use of a text file as data and to create the Normal Probability plot of the data in the text file. I am stumped on how to reference to the text file in R and use it as an argument in the function qqnorm()

1 Answer

0 votes
by (108k points)

Let say, if your text file (example.txt) is a table format and you want to present it as a data frame, for that you can open the file with the syntax:

df<-read.table("example.txt") 

And following continue to work in R. Your data is now in df data frame in R programming.

Related questions

Browse Categories

...