Description Usage Arguments Value Note References See Also Examples
TransInfo discovers transitions of two adjacent characters in strings.
A transition is defined as a substring (in the forward order) with length of 2 characters.
1 | TransInfo(strings.vec, type1 = "letters", type2 = "digits")
|
strings.vec |
String Vector. |
type1 |
The first type of transition. Default value is letter. |
type2 |
The second type of transition. Default value is digit. |
The function returns a data frame, which contains the numbers of type1 transition, type2 transition, and transitions belonging to neither type1 nor type2.
Strings with less than 2 characters are not included due to the definition of transition.
1. H. Tang; E. Day; L. Kendhammer; J. N. Moore; S. A. Brown; N. J. Pienta. (2016) Eye movement patterns in solving science ordering problems. Journal of eye movement research, 9(3), 1-13.
2. J. J. Topczewski; A. M. Topczewski; H. Tang; L. Kendhammer; N. J. Pienta.(2017) NMR Spectra through the eyes of a student: eye tracking applied to NMR items. Journal of chemical education, 94(1), 29-37.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.