raman_curvefit_read: Load results of graphene curve fit

Description Usage Arguments Details See Also Examples

View source: R/raman.R

Description

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

Usage

1
raman_curvefit_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: plot.raman_curvefit

Examples

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

SPOMAN/osc documentation built on May 14, 2019, 7:41 a.m.