Displaying 1 result from an estimated 1 matches for "4jan2002".
2002 Sep 27
3
? Exact pattern matching in GREP ?
...functions ?
# Want: listing of all object names that end in *.lm
> objects(pattern="*.lm",pos=1)
# ... but get: all objects that partially match *.lm, e.g., *.lme
[1] "j3.lm" "J3.lme" "j8.lm" "J8.lme"
# Want: position of string "4jan2002" in vector
> date.index <- grep("4jan2002", my.dates)
# .... but get:
> my.dates[date.index]
[1] "4jan2002" "24jan2002" "14jan2002"
Thank you.
Derek N. Eder
G?teborgs Universitet
Institutionen f?r klinisk neurovetenskap
Klinisk Neurofy...