Github user mengxr commented on a diff in the pull request:

    https://github.com/apache/spark/pull/14558#discussion_r75215338
  
    --- Diff: R/pkg/R/generics.R ---
    @@ -1251,10 +1311,57 @@ setGeneric("year", function(x) { 
standardGeneric("year") })
     #' @export
     setGeneric("spark.glm", function(data, formula, ...) { 
standardGeneric("spark.glm") })
     
    +#' @param formula a symbolic description of the model to be fitted. If 
\code{data} is a
    +#'                SparkDataFrame, currently only a few formula operators 
are supported,
    +#'                including '~', '.', ':', '+', and '-'.
    +#' @param data a SparkDataFrame or (R glm) data.frame, list or environment 
for training.
    +#' @param family a description of the error distribution and link function 
to be used in the model.
    +#'               This can be a character string naming a family function, 
a family function or
    +#'               the result of a call to a family function. Refer R family 
at
    +#'               
\url{https://stat.ethz.ch/R-manual/R-devel/library/stats/html/family.html}.
    +#' @param epsilon positive convergence tolerance of iterations.
    +#' @param maxit integer giving the maximal number of IRLS iterations.
    +#' @param weights an optional vector of 'prior weights' to be used in the 
fitting process.
    --- End diff --
    
    This is from R's own `glm` doc. Why do we need to copy it here?


---
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]

Reply via email to