Description Usage Arguments Value Examples
This function (eq_read_data) reads the text file with earthquake data and creates a data frame.
The function assumes that the text file is stored in the working directory.
The file is read using the read_delim function from the readr package (read_delim
).
1 | eq_read_data(filename)
|
filename |
A character string giving the path, name, and extension of a file to read in. Only the name and extension needs to be provided if the file is in the working directory. |
This function returns a data frame table containing data for earthquakes.
1 2 3 4 5 | ## Not run:
eq_data <- eq_read_data("signif.txt")
eq_data <- eq_read_data(filename= "signif.txt")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.