Description Usage Arguments Details Value Note Author(s) References
This package requires installation of two packages i.e. plyr and reshape2. After installation you can install the package wordmatch. Use input as a CSV file only.
1 | wordmatch(file1,file2,n)
|
file1 |
file of words which need to be match.It should be a character value and should always be in quotes. |
file2 |
file of words where to search for the words.It should be a character value and should always be in quotes. |
n |
The argument "n" is the integer value for the minimum number of words to be matched. It should always be positive integer. |
This package requires installation of two packages i.e. plyr and reshape2. After installation you can install the package wordmatch. Use input as a CSV file only and words in the sentence should be comma separated. You can use "text to columns" of excel to divide a sentence into words.Both file1 and file2 should follows the same rule.
wordmatch(file1,file2,n) returns a data frame of length 4.
Wordmatch(file1,file2) matches the words without any order in second file. So order is not important for wordmatch function.
Amit Singh Rathore
Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988) The New S Language. Wadsworth & Brooks/Cole.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.