gr_cf_read: Load results of graphene curve fit

Description Usage Arguments Details See Also Examples

View source: R/load_files.R

Description

Attempts to load all curve fits in txt files from the specified directory

Usage

1
gr_cf_read(path, ext = "txt")

Arguments

path

Directory containing the data-files

ext

Extension of data-files (default is 'txt')

Details

All files should be named as "<peak> <feature>.txt", e.g. "2D FWHM.txt" and be put in the folder specified under path. The dataframe that is returned will contain the "<peak> <feature>" as the column names - for this to work, the filenames should only contain letters, numbers and spaces.

See Also

Other curve fit functions: gr_cf_plot_all, gr_cf_plot, gr_cf_summary_save, gr_cf_summary

Examples

1
2
gr_cf_read("data")
gr_cf_read(system.file('extdata/graphene_curve_fit_export', package = 'gRaphene'))

emilbp/gRaphene documentation built on May 13, 2017, 5:12 p.m.