Skip to content

Commit 492f29f

Browse files
committed
[SPARK-17241] docs parameter order should be the same as in function()
1 parent c8bdd3b commit 492f29f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/pkg/R/mllib.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,11 +138,11 @@ predict_internal <- function(object, newData) {
138138
#' This can be a character string naming a family function, a family function or
139139
#' the result of a call to a family function. Refer R family at
140140
#' \url{https://stat.ethz.ch/R-manual/R-devel/library/stats/html/family.html}.
141+
#' @param tol positive convergence tolerance of iterations.
142+
#' @param maxIter integer giving the maximal number of IRLS iterations.
141143
#' @param weightCol the weight column name. If this is not set or \code{NULL}, we treat all instance
142144
#' weights as 1.0.
143-
#' @param tol positive convergence tolerance of iterations.
144145
#' @param regParam regularization parameter for L2 regularization.
145-
#' @param maxIter integer giving the maximal number of IRLS iterations.
146146
#' @param ... additional arguments passed to the method.
147147
#' @aliases spark.glm,SparkDataFrame,formula-method
148148
#' @return \code{spark.glm} returns a fitted generalized linear model

0 commit comments

Comments
 (0)