I have date like the following
A <- c("-0.00023--0.00243unitincrease", "-0.00176-0.02176pmol/Lincrease(replication)",
"0.00180-0.01780%varianceunitdecrease")
I want to extract the digits part and the rest part as two columns B and C. after extraction, it should get the following data frame:
# A B C
# -0.00023--0.00243unitincrease -0.00023--0.00243 unitincrease
# -0.00176-0.02176pmol/Lincrease(replication) -0.00176-0.02176 pmol/Lincrease(replication)
# 0.00180-0.01780%varianceunitdecrease 0.00180-0.01780 %varianceunitdecrease
how to get that result in R?