Skip to content

Commit 01366a6

Browse files
author
Oscar D. Lara Yejas
committed
Docs improvements for coltypes()
1 parent a031aed commit 01366a6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

R/pkg/R/DataFrame.R

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2157,9 +2157,14 @@ setMethod("with",
21572157
#'
21582158
#' @name coltypes
21592159
#' @title Get column types of a DataFrame
2160+
#' @family dataframe_funcs
21602161
#' @param x (DataFrame)
21612162
#' @return value (character) A character vector with the column types of the given DataFrame
21622163
#' @rdname coltypes
2164+
#' @examples \dontrun{
2165+
#' irisDF <- createDataFrame(sqlContext, iris)
2166+
#' coltypes(irisDF)
2167+
#' }
21632168
setMethod("coltypes",
21642169
signature(x = "DataFrame"),
21652170
function(x) {

0 commit comments

Comments
 (0)