Displaying 1 result from an estimated 1 matches for "see_context".
Did you mean:
sec_context
2009 Mar 30
1
Retrieving the context
...yfile_2
3 a myfile_3
4 text myfile_4
5 string, myfile_5
6 wich myfile_6
7 is myfile_7
8 stored myfile_8
9 in myfile_9
10 the myfile_10
11 file myfile_11
12 myfile myfile_12
Now, I would like to see all the words 'is' in a user defined window: so
see_context("is",mydf,1) would give
This is a
wich is stored
and see_context("is",mydf,2) would show two words before and after.. and so
on.
Any ideas on how to solve this kind of problem in R?
/Fredrik
--
"Life is like a trumpet - if you don't put anything into it, you don...