View source: R/file_utilities.R
import_coh | R Documentation |
Import a Coh-Metrix output file(.csv) into R.
import_coh(path)
path |
A string giving the path and filename to import. |
predict_quality
##Example 1:
#Using a sample data file included with writeAlizer package
#load package
library(writeAlizer)
#get path of sample Coh-Metrix output file
file_path <- system.file("extdata", "sample_coh.csv", package = "writeAlizer")
#see path to sample file
file_path
#import file and store as "coh_file"
coh_file <- import_coh(file_path)
##Example 2:
#To import as 'coh_file' a Coh-Metrix file (sample name: coh_output.csv)
#that is stored in the working directory
## Not run:
coh_file <- import_coh("coh_output.csv")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.