Repository: spark Updated Branches: refs/heads/master 272a2f78f -> c6a220d75
[MINOR][SPARKR] Fix arguments of survreg in SparkR ## What changes were proposed in this pull request? Fix wrong arguments description of ```survreg``` in SparkR. ## How was this patch tested? ```Arguments``` section of ```survreg``` doc before this PR (with wrong description for ```path``` and missing ```overwrite```):  After this PR:  Author: Yanbo Liang <[email protected]> Closes #13970 from yanboliang/spark-16143-followup. Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/c6a220d7 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/c6a220d7 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/c6a220d7 Branch: refs/heads/master Commit: c6a220d756f23ee89a0d1366b20259890c9d67c9 Parents: 272a2f7 Author: Yanbo Liang <[email protected]> Authored: Wed Jun 29 11:20:35 2016 -0700 Committer: Xiangrui Meng <[email protected]> Committed: Wed Jun 29 11:20:35 2016 -0700 ---------------------------------------------------------------------- R/pkg/R/mllib.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/c6a220d7/R/pkg/R/mllib.R ---------------------------------------------------------------------- diff --git a/R/pkg/R/mllib.R b/R/pkg/R/mllib.R index 8e6c2dd..897a376 100644 --- a/R/pkg/R/mllib.R +++ b/R/pkg/R/mllib.R @@ -442,11 +442,11 @@ setMethod("write.ml", signature(object = "NaiveBayesModel", path = "character"), # Saves the AFT survival regression model to the input path. -#' @param path The directory where the model is savedist containing the model's coefficien +#' @param path The directory where the model is saved +#' @param overwrite Overwrites or not if the output path already exists. Default is FALSE #' which means throw exception if the output path exists. #' #' @rdname spark.survreg -#' @name write.ml #' @export #' @note write.ml(AFTSurvivalRegressionModel, character) since 2.0.0 #' @seealso \link{read.ml} --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
