Displaying 1 result from an estimated 1 matches for "cash_bank_bal".
2011 Nov 08
1
splitting by the last occurance of a dot
Dear R-helpers,
I want to split the following vector into 2 vectors by the last occurance
of a .
> dput(rownames(sensext))
c("pat", "cash_bank_bal", "invest_abroad", "pat.1", "cash_bank_bal.1",
"invest_abroad.1", "pat.2", "cash_bank_bal.2", "invest_abroad.2",
"pat.3", "cash_bank_bal.3", "invest_abroad.3", "pat.4", "cash_bank...