View source: R/alignmentsupportfnc.R
paraextract | R Documentation |
Extract a specific paragraph from a text file
paraextract(inputfile, begphrase, endphrase, outputfile)
inputfile |
a string of file path and Mplus output file name. It should be separated by / or \ |
begphrase |
a phrase/words the wanted paragraph started with |
endphrase |
a phrase/words the wanted paragraph ended at |
outputfile |
a string of file path and output file name to store in |
Extract a wanted paragraph starting with the beginning phrase and ending at the ending phrase. This based on the algorithm from stackoverflow of https://stackoverflow.com/questions/28676208/how-to-extract-specific-paragraphs-from-a-text-file-in-r. But, this one was modified to write the paragraph to text file for reference.
A specific paragraph from origin text file
Hai Nguyen hnguye72@uic.edu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.