Github user mengxr commented on a diff in the pull request:
https://github.com/apache/spark/pull/11447#discussion_r57042693
--- Diff: R/pkg/R/mllib.R ---
@@ -61,6 +61,34 @@ setMethod("glm", signature(formula = "formula", family =
"ANY", data = "DataFram
return(new("PipelineModel", model = model))
})
+#' Fit an accelerated failure time (AFT) survival regression model.
+#'
+#' Fit an accelerated failure time (AFT) survival regression model,
similarly to R's survreg().
+#'
+#' @param formula A symbolic description of the model to be fitted.
Currently only a few formula
+#' operators are supported, including '~', ':', '+', and
'-'.
+#' @param data DataFrame for training.
+#' @return a fitted MLlib model
--- End diff --
provide a `@seealso` link to
https://cran.r-project.org/web/packages/survival/
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]