@@ -1132,9 +1132,8 @@ setMethod("take",
11321132
11331133# ' Head
11341134# '
1135- # ' Return the first NUM rows of a SparkDataFrame as a R data.frame. If NUM is NULL,
1136- # ' then head() returns the first 6 rows in keeping with the current data.frame
1137- # ' convention in R.
1135+ # ' Return the first \code{num} rows of a SparkDataFrame as a R data.frame. If \code{num} is not
1136+ # ' specified, then head() returns the first 6 rows as with R data.frame.
11381137# '
11391138# ' @param x a SparkDataFrame.
11401139# ' @param num the number of rows to return. Default is 6.
@@ -1657,7 +1656,7 @@ setMethod("$", signature(x = "SparkDataFrame"),
16571656 getColumn(x , name )
16581657 })
16591658
1660- # ' @param value a Column or NULL. If NULL, the specified Column is dropped.
1659+ # ' @param value a Column or \code{ NULL} . If \code{ NULL} , the specified Column is dropped.
16611660# ' @rdname select
16621661# ' @name $<-
16631662# ' @aliases $<-,SparkDataFrame-method
@@ -2752,9 +2751,9 @@ setMethod("summary",
27522751# ' @param how "any" or "all".
27532752# ' if "any", drop a row if it contains any nulls.
27542753# ' if "all", drop a row only if all its values are null.
2755- # ' if minNonNulls is specified, how is ignored.
2754+ # ' if \code{ minNonNulls} is specified, how is ignored.
27562755# ' @param minNonNulls if specified, drop rows that have less than
2757- # ' minNonNulls non-null values.
2756+ # ' \code{ minNonNulls} non-null values.
27582757# ' This overwrites the how parameter.
27592758# ' @param cols optional list of column names to consider. In \code{fillna},
27602759# ' columns specified in cols that do not have matching data
@@ -2879,7 +2878,7 @@ setMethod("fillna",
28792878# ' in your system to accommodate the contents.
28802879# '
28812880# ' @param x a SparkDataFrame.
2882- # ' @param row.names NULL or a character vector giving the row names for the data frame.
2881+ # ' @param row.names \code{ NULL} or a character vector giving the row names for the data frame.
28832882# ' @param optional If \code{TRUE}, converting column names is optional.
28842883# ' @param ... additional arguments to pass to base::as.data.frame.
28852884# ' @return A data.frame.
0 commit comments