Formula formatting for variables with '.'; Surv object handling