/ Published in: R
Slightly more efficient than "as.numeric(as.character(f))"
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
as.numeric(levels(f))[f]