Utility function that returns the subset of elements in a vector between a start and end position
1 | text_window(text, start, end, position, out_of_window = FALSE)
|
text |
input vector |
start |
start position |
end |
end position |
position |
vector of word positions around which a window is constructed |
out_of_window |
if TRUE function returns set of words within and outside of window |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.