Re: [R] Extract an number from a character

2015-11-23 Thread David Wolfskill
On Mon, Nov 23, 2015 at 12:20:53PM -0800, Sam Albers wrote: > Hello, > > I have a problem to which I am certain grep or gsub or that family of > functions are the solution. However, I just can't seem to wrap my mind > around exactly how. I have a dataframe below that has the dimensions > of a net.

[R] Extract an number from a character

2015-11-23 Thread Sam Albers
Hello, I have a problem to which I am certain grep or gsub or that family of functions are the solution. However, I just can't seem to wrap my mind around exactly how. I have a dataframe below that has the dimensions of a net. I am given the data is the "W X H" format. For calculations I'll like t