You don't provide a reproducible example, or even str(), but I'd guess you need
to match "^15" instead of just "15".
Sarah
On Apr 5, 2012, at 10:38 PM, ieatnapalm wrote:
> Hey, sorry if this has been addressed before, but I'm really new to R and
> having trouble with the gsub function. I need
On Apr 5, 2012, at 10:38 PM, ieatnapalm wrote:
Hey, sorry if this has been addressed before, but I'm really new to
R and
having trouble with the gsub function. I need a way to make this
function
exclude certain values from being substituted:
ie my data looks something like (15:.0234,10:.015
2 matches
Mail list logo