Skip to content

Commit 64c07aa

Browse files
committed
Correct names DataFrame -> SparkDataFrame
1 parent 797d68d commit 64c07aa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

R/pkg/R/mllib_fpm.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ setMethod("spark.fpGrowth", signature(data = "SparkDataFrame"),
9999
# Get frequent itemsets.
100100

101101
#' @param object a fitted FPGrowth model.
102-
#' @return A \code{DataFrame} with frequent itemsets.
103-
#' The \code{DataFrame} contains two columns:
102+
#' @return A \code{SparkDataFrame} with frequent itemsets.
103+
#' The \code{SparkDataFrame} contains two columns:
104104
#' \code{items} (an array of the same type as the input column)
105105
#' and \code{freq} (frequency of the itemset).
106106
#' @rdname spark.fpGrowth
@@ -114,8 +114,8 @@ setMethod("spark.freqItemsets", signature(object = "FPGrowthModel"),
114114

115115
# Get association rules.
116116

117-
#' @return A \code{DataFrame} with association rules.
118-
#' The \code{DataFrame} contains three columns:
117+
#' @return A \code{SparkDataFrame} with association rules.
118+
#' The \code{SparkDataFrame} contains three columns:
119119
#' \code{antecedent} (an array of the same type as the input column),
120120
#' \code{consequent} (an array of the same type as the input column),
121121
#' and \code{condfidence} (confidence).

0 commit comments

Comments
 (0)