Question: Using R Extract the numbers (return only integers) that are followed by the units 'ml' or 'lb' in the following text. myText
Using R
Extract the numbers (return only integers) that are followed by the units 'ml' or 'lb' in the following text.
myText <- 'At 10am we had 40ml of water, 5 lb of meat, 3lb of salt and 20 apples.'
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
