http://git-wip-us.apache.org/repos/asf/spark-website/blob/f7ec1155/site/docs/2.2.0/api/R/unpersist.html ---------------------------------------------------------------------- diff --git a/site/docs/2.2.0/api/R/unpersist.html b/site/docs/2.2.0/api/R/unpersist.html new file mode 100644 index 0000000..b514546 --- /dev/null +++ b/site/docs/2.2.0/api/R/unpersist.html @@ -0,0 +1,294 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: Unpersist</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<link rel="stylesheet" type="text/css" href="R.css"> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for unpersist {SparkR}"><tr><td>unpersist {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>Unpersist</h2> + +<h3>Description</h3> + +<p>Mark this SparkDataFrame as non-persistent, and remove all blocks for it from memory and +disk. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'SparkDataFrame' +unpersist(x, blocking = TRUE) + +unpersist(x, ...) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>the SparkDataFrame to unpersist.</p> +</td></tr> +<tr valign="top"><td><code>blocking</code></td> +<td> +<p>whether to block until all blocks are deleted.</p> +</td></tr> +<tr valign="top"><td><code>...</code></td> +<td> +<p>further arguments to be passed to or from other methods.</p> +</td></tr> +</table> + + +<h3>Note</h3> + +<p>unpersist since 1.4.0 +</p> + + +<h3>See Also</h3> + +<p>Other SparkDataFrame functions: <code><a href="select.html">$</a></code>, +<code><a href="select.html">$,SparkDataFrame-method</a></code>, <code><a href="select.html">$<-</a></code>, +<code><a href="select.html">$<-,SparkDataFrame-method</a></code>, +<code><a href="select.html">select</a></code>, <code><a href="select.html">select</a></code>, +<code><a href="select.html">select,SparkDataFrame,Column-method</a></code>, +<code><a href="select.html">select,SparkDataFrame,character-method</a></code>, +<code><a href="select.html">select,SparkDataFrame,list-method</a></code>; +<code><a href="SparkDataFrame.html">SparkDataFrame-class</a></code>; <code><a href="subset.html">[</a></code>, +<code><a href="subset.html">[,SparkDataFrame-method</a></code>, <code><a href="subset.html">[[</a></code>, +<code><a href="subset.html">[[,SparkDataFrame,numericOrcharacter-method</a></code>, +<code><a href="subset.html">[[<-</a></code>, +<code><a href="subset.html">[[<-,SparkDataFrame,numericOrcharacter-method</a></code>, +<code><a href="subset.html">subset</a></code>, <code><a href="subset.html">subset</a></code>, +<code><a href="subset.html">subset,SparkDataFrame-method</a></code>; +<code><a href="summarize.html">agg</a></code>, <code><a href="summarize.html">agg</a></code>, <code><a href="summarize.html">agg</a></code>, +<code><a href="summarize.html">agg,GroupedData-method</a></code>, +<code><a href="summarize.html">agg,SparkDataFrame-method</a></code>, +<code><a href="summarize.html">summarize</a></code>, <code><a href="summarize.html">summarize</a></code>, +<code><a href="summarize.html">summarize</a></code>, +<code><a href="summarize.html">summarize,GroupedData-method</a></code>, +<code><a href="summarize.html">summarize,SparkDataFrame-method</a></code>; +<code><a href="arrange.html">arrange</a></code>, <code><a href="arrange.html">arrange</a></code>, +<code><a href="arrange.html">arrange</a></code>, +<code><a href="arrange.html">arrange,SparkDataFrame,Column-method</a></code>, +<code><a href="arrange.html">arrange,SparkDataFrame,character-method</a></code>, +<code><a href="arrange.html">orderBy,SparkDataFrame,characterOrColumn-method</a></code>; +<code><a href="as.data.frame.html">as.data.frame</a></code>, +<code><a href="as.data.frame.html">as.data.frame,SparkDataFrame-method</a></code>; +<code><a href="attach.html">attach</a></code>, +<code><a href="attach.html">attach,SparkDataFrame-method</a></code>; +<code><a href="cache.html">cache</a></code>, <code><a href="cache.html">cache</a></code>, +<code><a href="cache.html">cache,SparkDataFrame-method</a></code>; +<code><a href="checkpoint.html">checkpoint</a></code>, <code><a href="checkpoint.html">checkpoint</a></code>, +<code><a href="checkpoint.html">checkpoint,SparkDataFrame-method</a></code>; +<code><a href="coalesce.html">coalesce</a></code>, <code><a href="coalesce.html">coalesce</a></code>, +<code><a href="coalesce.html">coalesce</a></code>, +<code><a href="coalesce.html">coalesce,Column-method</a></code>, +<code><a href="coalesce.html">coalesce,SparkDataFrame-method</a></code>; +<code><a href="collect.html">collect</a></code>, <code><a href="collect.html">collect</a></code>, +<code><a href="collect.html">collect,SparkDataFrame-method</a></code>; +<code><a href="columns.html">colnames</a></code>, <code><a href="columns.html">colnames</a></code>, +<code><a href="columns.html">colnames,SparkDataFrame-method</a></code>, +<code><a href="columns.html">colnames<-</a></code>, <code><a href="columns.html">colnames<-</a></code>, +<code><a href="columns.html">colnames<-,SparkDataFrame-method</a></code>, +<code><a href="columns.html">columns</a></code>, <code><a href="columns.html">columns</a></code>, +<code><a href="columns.html">columns,SparkDataFrame-method</a></code>, +<code><a href="columns.html">names</a></code>, +<code><a href="columns.html">names,SparkDataFrame-method</a></code>, +<code><a href="columns.html">names<-</a></code>, +<code><a href="columns.html">names<-,SparkDataFrame-method</a></code>; +<code><a href="coltypes.html">coltypes</a></code>, <code><a href="coltypes.html">coltypes</a></code>, +<code><a href="coltypes.html">coltypes,SparkDataFrame-method</a></code>, +<code><a href="coltypes.html">coltypes<-</a></code>, <code><a href="coltypes.html">coltypes<-</a></code>, +<code><a href="coltypes.html">coltypes<-,SparkDataFrame,character-method</a></code>; +<code><a href="nrow.html">count,SparkDataFrame-method</a></code>, +<code><a href="nrow.html">nrow</a></code>, <code><a href="nrow.html">nrow</a></code>, +<code><a href="nrow.html">nrow,SparkDataFrame-method</a></code>; +<code><a href="createOrReplaceTempView.html">createOrReplaceTempView</a></code>, +<code><a href="createOrReplaceTempView.html">createOrReplaceTempView</a></code>, +<code><a href="createOrReplaceTempView.html">createOrReplaceTempView,SparkDataFrame,character-method</a></code>; +<code><a href="crossJoin.html">crossJoin</a></code>, +<code><a href="crossJoin.html">crossJoin,SparkDataFrame,SparkDataFrame-method</a></code>; +<code><a href="dapplyCollect.html">dapplyCollect</a></code>, <code><a href="dapplyCollect.html">dapplyCollect</a></code>, +<code><a href="dapplyCollect.html">dapplyCollect,SparkDataFrame,function-method</a></code>; +<code><a href="dapply.html">dapply</a></code>, <code><a href="dapply.html">dapply</a></code>, +<code><a href="dapply.html">dapply,SparkDataFrame,function,structType-method</a></code>; +<code><a href="summary.html">describe</a></code>, <code><a href="summary.html">describe</a></code>, +<code><a href="summary.html">describe</a></code>, +<code><a href="summary.html">describe,SparkDataFrame,ANY-method</a></code>, +<code><a href="summary.html">describe,SparkDataFrame,character-method</a></code>, +<code><a href="summary.html">describe,SparkDataFrame-method</a></code>, +<code><a href="summary.html">summary</a></code>, <code><a href="summary.html">summary</a></code>, +<code><a href="summary.html">summary,SparkDataFrame-method</a></code>; +<code><a href="dim.html">dim</a></code>, +<code><a href="dim.html">dim,SparkDataFrame-method</a></code>; +<code><a href="distinct.html">distinct</a></code>, <code><a href="distinct.html">distinct</a></code>, +<code><a href="distinct.html">distinct,SparkDataFrame-method</a></code>, +<code><a href="distinct.html">unique</a></code>, +<code><a href="distinct.html">unique,SparkDataFrame-method</a></code>; +<code><a href="dropDuplicates.html">dropDuplicates</a></code>, +<code><a href="dropDuplicates.html">dropDuplicates</a></code>, +<code><a href="dropDuplicates.html">dropDuplicates,SparkDataFrame-method</a></code>; +<code><a href="nafunctions.html">dropna</a></code>, <code><a href="nafunctions.html">dropna</a></code>, +<code><a href="nafunctions.html">dropna,SparkDataFrame-method</a></code>, +<code><a href="nafunctions.html">fillna</a></code>, <code><a href="nafunctions.html">fillna</a></code>, +<code><a href="nafunctions.html">fillna,SparkDataFrame-method</a></code>, +<code><a href="nafunctions.html">na.omit</a></code>, <code><a href="nafunctions.html">na.omit</a></code>, +<code><a href="nafunctions.html">na.omit,SparkDataFrame-method</a></code>; +<code><a href="drop.html">drop</a></code>, <code><a href="drop.html">drop</a></code>, +<code><a href="drop.html">drop</a></code>, <code><a href="drop.html">drop,ANY-method</a></code>, +<code><a href="drop.html">drop,SparkDataFrame-method</a></code>; +<code><a href="dtypes.html">dtypes</a></code>, <code><a href="dtypes.html">dtypes</a></code>, +<code><a href="dtypes.html">dtypes,SparkDataFrame-method</a></code>; +<code><a href="except.html">except</a></code>, <code><a href="except.html">except</a></code>, +<code><a href="except.html">except,SparkDataFrame,SparkDataFrame-method</a></code>; +<code><a href="explain.html">explain</a></code>, <code><a href="explain.html">explain</a></code>, +<code><a href="explain.html">explain</a></code>, +<code><a href="explain.html">explain,SparkDataFrame-method</a></code>, +<code><a href="explain.html">explain,StreamingQuery-method</a></code>; +<code><a href="filter.html">filter</a></code>, <code><a href="filter.html">filter</a></code>, +<code><a href="filter.html">filter,SparkDataFrame,characterOrColumn-method</a></code>, +<code><a href="filter.html">where</a></code>, <code><a href="filter.html">where</a></code>, +<code><a href="filter.html">where,SparkDataFrame,characterOrColumn-method</a></code>; +<code><a href="first.html">first</a></code>, <code><a href="first.html">first</a></code>, +<code><a href="first.html">first</a></code>, +<code><a href="first.html">first,SparkDataFrame-method</a></code>, +<code><a href="first.html">first,characterOrColumn-method</a></code>; +<code><a href="gapplyCollect.html">gapplyCollect</a></code>, <code><a href="gapplyCollect.html">gapplyCollect</a></code>, +<code><a href="gapplyCollect.html">gapplyCollect</a></code>, +<code><a href="gapplyCollect.html">gapplyCollect,GroupedData-method</a></code>, +<code><a href="gapplyCollect.html">gapplyCollect,SparkDataFrame-method</a></code>; +<code><a href="gapply.html">gapply</a></code>, <code><a href="gapply.html">gapply</a></code>, +<code><a href="gapply.html">gapply</a></code>, +<code><a href="gapply.html">gapply,GroupedData-method</a></code>, +<code><a href="gapply.html">gapply,SparkDataFrame-method</a></code>; +<code><a href="getNumPartitions.html">getNumPartitions</a></code>, +<code><a href="getNumPartitions.html">getNumPartitions,SparkDataFrame-method</a></code>; +<code><a href="groupBy.html">groupBy</a></code>, <code><a href="groupBy.html">groupBy</a></code>, +<code><a href="groupBy.html">groupBy,SparkDataFrame-method</a></code>, +<code><a href="groupBy.html">group_by</a></code>, <code><a href="groupBy.html">group_by</a></code>, +<code><a href="groupBy.html">group_by,SparkDataFrame-method</a></code>; +<code><a href="head.html">head</a></code>, +<code><a href="head.html">head,SparkDataFrame-method</a></code>; +<code><a href="hint.html">hint</a></code>, <code><a href="hint.html">hint</a></code>, +<code><a href="hint.html">hint,SparkDataFrame,character-method</a></code>; +<code><a href="histogram.html">histogram</a></code>, +<code><a href="histogram.html">histogram,SparkDataFrame,characterOrColumn-method</a></code>; +<code><a href="insertInto.html">insertInto</a></code>, <code><a href="insertInto.html">insertInto</a></code>, +<code><a href="insertInto.html">insertInto,SparkDataFrame,character-method</a></code>; +<code><a href="intersect.html">intersect</a></code>, <code><a href="intersect.html">intersect</a></code>, +<code><a href="intersect.html">intersect,SparkDataFrame,SparkDataFrame-method</a></code>; +<code><a href="isLocal.html">isLocal</a></code>, <code><a href="isLocal.html">isLocal</a></code>, +<code><a href="isLocal.html">isLocal,SparkDataFrame-method</a></code>; +<code><a href="isStreaming.html">isStreaming</a></code>, <code><a href="isStreaming.html">isStreaming</a></code>, +<code><a href="isStreaming.html">isStreaming,SparkDataFrame-method</a></code>; +<code><a href="join.html">join</a></code>, +<code><a href="join.html">join,SparkDataFrame,SparkDataFrame-method</a></code>; +<code><a href="limit.html">limit</a></code>, <code><a href="limit.html">limit</a></code>, +<code><a href="limit.html">limit,SparkDataFrame,numeric-method</a></code>; +<code><a href="merge.html">merge</a></code>, <code><a href="merge.html">merge</a></code>, +<code><a href="merge.html">merge,SparkDataFrame,SparkDataFrame-method</a></code>; +<code><a href="mutate.html">mutate</a></code>, <code><a href="mutate.html">mutate</a></code>, +<code><a href="mutate.html">mutate,SparkDataFrame-method</a></code>, +<code><a href="mutate.html">transform</a></code>, <code><a href="mutate.html">transform</a></code>, +<code><a href="mutate.html">transform,SparkDataFrame-method</a></code>; +<code><a href="ncol.html">ncol</a></code>, +<code><a href="ncol.html">ncol,SparkDataFrame-method</a></code>; +<code><a href="persist.html">persist</a></code>, <code><a href="persist.html">persist</a></code>, +<code><a href="persist.html">persist,SparkDataFrame,character-method</a></code>; +<code><a href="printSchema.html">printSchema</a></code>, <code><a href="printSchema.html">printSchema</a></code>, +<code><a href="printSchema.html">printSchema,SparkDataFrame-method</a></code>; +<code><a href="randomSplit.html">randomSplit</a></code>, <code><a href="randomSplit.html">randomSplit</a></code>, +<code><a href="randomSplit.html">randomSplit,SparkDataFrame,numeric-method</a></code>; +<code><a href="rbind.html">rbind</a></code>, <code><a href="rbind.html">rbind</a></code>, +<code><a href="rbind.html">rbind,SparkDataFrame-method</a></code>; +<code><a href="registerTempTable-deprecated.html">registerTempTable</a></code>, +<code><a href="registerTempTable-deprecated.html">registerTempTable</a></code>, +<code><a href="registerTempTable-deprecated.html">registerTempTable,SparkDataFrame,character-method</a></code>; +<code><a href="rename.html">rename</a></code>, <code><a href="rename.html">rename</a></code>, +<code><a href="rename.html">rename,SparkDataFrame-method</a></code>, +<code><a href="rename.html">withColumnRenamed</a></code>, +<code><a href="rename.html">withColumnRenamed</a></code>, +<code><a href="rename.html">withColumnRenamed,SparkDataFrame,character,character-method</a></code>; +<code><a href="repartition.html">repartition</a></code>, <code><a href="repartition.html">repartition</a></code>, +<code><a href="repartition.html">repartition,SparkDataFrame-method</a></code>; +<code><a href="sample.html">sample</a></code>, <code><a href="sample.html">sample</a></code>, +<code><a href="sample.html">sample,SparkDataFrame,logical,numeric-method</a></code>, +<code><a href="sample.html">sample_frac</a></code>, <code><a href="sample.html">sample_frac</a></code>, +<code><a href="sample.html">sample_frac,SparkDataFrame,logical,numeric-method</a></code>; +<code><a href="write.parquet.html">saveAsParquetFile</a></code>, +<code><a href="write.parquet.html">saveAsParquetFile</a></code>, +<code><a href="write.parquet.html">saveAsParquetFile,SparkDataFrame,character-method</a></code>, +<code><a href="write.parquet.html">write.parquet</a></code>, <code><a href="write.parquet.html">write.parquet</a></code>, +<code><a href="write.parquet.html">write.parquet,SparkDataFrame,character-method</a></code>; +<code><a href="saveAsTable.html">saveAsTable</a></code>, <code><a href="saveAsTable.html">saveAsTable</a></code>, +<code><a href="saveAsTable.html">saveAsTable,SparkDataFrame,character-method</a></code>; +<code><a href="write.df.html">saveDF</a></code>, <code><a href="write.df.html">saveDF</a></code>, +<code><a href="write.df.html">saveDF,SparkDataFrame,character-method</a></code>, +<code><a href="write.df.html">write.df</a></code>, <code><a href="write.df.html">write.df</a></code>, +<code><a href="write.df.html">write.df</a></code>, +<code><a href="write.df.html">write.df,SparkDataFrame-method</a></code>; +<code><a href="schema.html">schema</a></code>, <code><a href="schema.html">schema</a></code>, +<code><a href="schema.html">schema,SparkDataFrame-method</a></code>; +<code><a href="selectExpr.html">selectExpr</a></code>, <code><a href="selectExpr.html">selectExpr</a></code>, +<code><a href="selectExpr.html">selectExpr,SparkDataFrame,character-method</a></code>; +<code><a href="showDF.html">showDF</a></code>, <code><a href="showDF.html">showDF</a></code>, +<code><a href="showDF.html">showDF,SparkDataFrame-method</a></code>; +<code><a href="show.html">show</a></code>, <code><a href="show.html">show</a></code>, +<code><a href="show.html">show,Column-method</a></code>, +<code><a href="show.html">show,GroupedData-method</a></code>, +<code><a href="show.html">show,SparkDataFrame-method</a></code>, +<code><a href="show.html">show,StreamingQuery-method</a></code>, +<code><a href="show.html">show,WindowSpec-method</a></code>; +<code><a href="storageLevel.html">storageLevel</a></code>, +<code><a href="storageLevel.html">storageLevel,SparkDataFrame-method</a></code>; +<code><a href="str.html">str</a></code>, +<code><a href="str.html">str,SparkDataFrame-method</a></code>; +<code><a href="take.html">take</a></code>, <code><a href="take.html">take</a></code>, +<code><a href="take.html">take,SparkDataFrame,numeric-method</a></code>; +<code><a href="toJSON.html">toJSON</a></code>, +<code><a href="toJSON.html">toJSON,SparkDataFrame-method</a></code>; +<code><a href="union.html">union</a></code>, <code><a href="union.html">union</a></code>, +<code><a href="union.html">union,SparkDataFrame,SparkDataFrame-method</a></code>, +<code><a href="union.html">unionAll</a></code>, <code><a href="union.html">unionAll</a></code>, +<code><a href="union.html">unionAll,SparkDataFrame,SparkDataFrame-method</a></code>; +<code><a href="withColumn.html">withColumn</a></code>, <code><a href="withColumn.html">withColumn</a></code>, +<code><a href="withColumn.html">withColumn,SparkDataFrame,character-method</a></code>; +<code><a href="with.html">with</a></code>, +<code><a href="with.html">with,SparkDataFrame-method</a></code>; +<code><a href="write.jdbc.html">write.jdbc</a></code>, <code><a href="write.jdbc.html">write.jdbc</a></code>, +<code><a href="write.jdbc.html">write.jdbc,SparkDataFrame,character,character-method</a></code>; +<code><a href="write.json.html">write.json</a></code>, <code><a href="write.json.html">write.json</a></code>, +<code><a href="write.json.html">write.json,SparkDataFrame,character-method</a></code>; +<code><a href="write.orc.html">write.orc</a></code>, <code><a href="write.orc.html">write.orc</a></code>, +<code><a href="write.orc.html">write.orc,SparkDataFrame,character-method</a></code>; +<code><a href="write.stream.html">write.stream</a></code>, <code><a href="write.stream.html">write.stream</a></code>, +<code><a href="write.stream.html">write.stream,SparkDataFrame-method</a></code>; +<code><a href="write.text.html">write.text</a></code>, <code><a href="write.text.html">write.text</a></code>, +<code><a href="write.text.html">write.text,SparkDataFrame,character-method</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D sparkR.session() +##D path <- "path/to/file.json" +##D df <- read.json(path) +##D persist(df, "MEMORY_AND_DISK") +##D unpersist(df) +## End(Not run) +</code></pre> + + +<hr><div align="center">[Package <em>SparkR</em> version 2.2.0 <a href="00Index.html">Index</a>]</div> +</body></html>
http://git-wip-us.apache.org/repos/asf/spark-website/blob/f7ec1155/site/docs/2.2.0/api/R/upper.html ---------------------------------------------------------------------- diff --git a/site/docs/2.2.0/api/R/upper.html b/site/docs/2.2.0/api/R/upper.html new file mode 100644 index 0000000..c0b5471 --- /dev/null +++ b/site/docs/2.2.0/api/R/upper.html @@ -0,0 +1,114 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: upper</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<link rel="stylesheet" type="text/css" href="R.css"> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for upper {SparkR}"><tr><td>upper {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>upper</h2> + +<h3>Description</h3> + +<p>Converts a string column to upper case. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +upper(x) + +upper(x) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>Column to compute on.</p> +</td></tr> +</table> + + +<h3>Note</h3> + +<p>upper since 1.4.0 +</p> + + +<h3>See Also</h3> + +<p>Other string_funcs: <code><a href="ascii.html">ascii</a></code>, +<code><a href="ascii.html">ascii</a></code>, <code><a href="ascii.html">ascii,Column-method</a></code>; +<code><a href="base64.html">base64</a></code>, <code><a href="base64.html">base64</a></code>, +<code><a href="base64.html">base64,Column-method</a></code>; +<code><a href="concat_ws.html">concat_ws</a></code>, <code><a href="concat_ws.html">concat_ws</a></code>, +<code><a href="concat_ws.html">concat_ws,character,Column-method</a></code>; +<code><a href="concat.html">concat</a></code>, <code><a href="concat.html">concat</a></code>, +<code><a href="concat.html">concat,Column-method</a></code>; <code><a href="decode.html">decode</a></code>, +<code><a href="decode.html">decode</a></code>, +<code><a href="decode.html">decode,Column,character-method</a></code>; +<code><a href="encode.html">encode</a></code>, <code><a href="encode.html">encode</a></code>, +<code><a href="encode.html">encode,Column,character-method</a></code>; +<code><a href="format_number.html">format_number</a></code>, <code><a href="format_number.html">format_number</a></code>, +<code><a href="format_number.html">format_number,Column,numeric-method</a></code>; +<code><a href="format_string.html">format_string</a></code>, <code><a href="format_string.html">format_string</a></code>, +<code><a href="format_string.html">format_string,character,Column-method</a></code>; +<code><a href="initcap.html">initcap</a></code>, <code><a href="initcap.html">initcap</a></code>, +<code><a href="initcap.html">initcap,Column-method</a></code>; <code><a href="instr.html">instr</a></code>, +<code><a href="instr.html">instr</a></code>, +<code><a href="instr.html">instr,Column,character-method</a></code>; +<code><a href="length.html">length</a></code>, <code><a href="length.html">length,Column-method</a></code>; +<code><a href="levenshtein.html">levenshtein</a></code>, <code><a href="levenshtein.html">levenshtein</a></code>, +<code><a href="levenshtein.html">levenshtein,Column-method</a></code>; +<code><a href="locate.html">locate</a></code>, <code><a href="locate.html">locate</a></code>, +<code><a href="locate.html">locate,character,Column-method</a></code>; +<code><a href="lower.html">lower</a></code>, <code><a href="lower.html">lower</a></code>, +<code><a href="lower.html">lower,Column-method</a></code>; <code><a href="lpad.html">lpad</a></code>, +<code><a href="lpad.html">lpad</a></code>, +<code><a href="lpad.html">lpad,Column,numeric,character-method</a></code>; +<code><a href="ltrim.html">ltrim</a></code>, <code><a href="ltrim.html">ltrim</a></code>, +<code><a href="ltrim.html">ltrim,Column-method</a></code>; +<code><a href="regexp_extract.html">regexp_extract</a></code>, +<code><a href="regexp_extract.html">regexp_extract</a></code>, +<code><a href="regexp_extract.html">regexp_extract,Column,character,numeric-method</a></code>; +<code><a href="regexp_replace.html">regexp_replace</a></code>, +<code><a href="regexp_replace.html">regexp_replace</a></code>, +<code><a href="regexp_replace.html">regexp_replace,Column,character,character-method</a></code>; +<code><a href="reverse.html">reverse</a></code>, <code><a href="reverse.html">reverse</a></code>, +<code><a href="reverse.html">reverse,Column-method</a></code>; <code><a href="rpad.html">rpad</a></code>, +<code><a href="rpad.html">rpad</a></code>, +<code><a href="rpad.html">rpad,Column,numeric,character-method</a></code>; +<code><a href="rtrim.html">rtrim</a></code>, <code><a href="rtrim.html">rtrim</a></code>, +<code><a href="rtrim.html">rtrim,Column-method</a></code>; <code><a href="soundex.html">soundex</a></code>, +<code><a href="soundex.html">soundex</a></code>, +<code><a href="soundex.html">soundex,Column-method</a></code>; +<code><a href="substring_index.html">substring_index</a></code>, +<code><a href="substring_index.html">substring_index</a></code>, +<code><a href="substring_index.html">substring_index,Column,character,numeric-method</a></code>; +<code><a href="translate.html">translate</a></code>, <code><a href="translate.html">translate</a></code>, +<code><a href="translate.html">translate,Column,character,character-method</a></code>; +<code><a href="trim.html">trim</a></code>, <code><a href="trim.html">trim</a></code>, +<code><a href="trim.html">trim,Column-method</a></code>; <code><a href="unbase64.html">unbase64</a></code>, +<code><a href="unbase64.html">unbase64</a></code>, +<code><a href="unbase64.html">unbase64,Column-method</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: upper(df$c) +</code></pre> + + +<hr><div align="center">[Package <em>SparkR</em> version 2.2.0 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/f7ec1155/site/docs/2.2.0/api/R/var.html ---------------------------------------------------------------------- diff --git a/site/docs/2.2.0/api/R/var.html b/site/docs/2.2.0/api/R/var.html new file mode 100644 index 0000000..85f2f66 --- /dev/null +++ b/site/docs/2.2.0/api/R/var.html @@ -0,0 +1,121 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: var</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<link rel="stylesheet" type="text/css" href="R.css"> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for var {SparkR}"><tr><td>var {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>var</h2> + +<h3>Description</h3> + +<p>Aggregate function: alias for <a href="var_samp.html">var_samp</a>. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +var(x) + +## S4 method for signature 'Column' +variance(x) + +var(x, y = NULL, na.rm = FALSE, use) + +variance(x) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>a Column to compute on.</p> +</td></tr> +<tr valign="top"><td><code>y,na.rm,use</code></td> +<td> +<p>currently not used.</p> +</td></tr> +</table> + + +<h3>Note</h3> + +<p>var since 1.6.0 +</p> +<p>variance since 1.6.0 +</p> + + +<h3>See Also</h3> + +<p><a href="var_pop.html">var_pop</a>, <a href="var_samp.html">var_samp</a> +</p> +<p>Other agg_funcs: <code><a href="summarize.html">agg</a></code>, <code><a href="summarize.html">agg</a></code>, +<code><a href="summarize.html">agg</a></code>, <code><a href="summarize.html">agg,GroupedData-method</a></code>, +<code><a href="summarize.html">agg,SparkDataFrame-method</a></code>, +<code><a href="summarize.html">summarize</a></code>, <code><a href="summarize.html">summarize</a></code>, +<code><a href="summarize.html">summarize</a></code>, +<code><a href="summarize.html">summarize,GroupedData-method</a></code>, +<code><a href="summarize.html">summarize,SparkDataFrame-method</a></code>; +<code><a href="avg.html">avg</a></code>, <code><a href="avg.html">avg</a></code>, +<code><a href="avg.html">avg,Column-method</a></code>; +<code><a href="countDistinct.html">countDistinct</a></code>, <code><a href="countDistinct.html">countDistinct</a></code>, +<code><a href="countDistinct.html">countDistinct,Column-method</a></code>, +<code><a href="countDistinct.html">n_distinct</a></code>, <code><a href="countDistinct.html">n_distinct</a></code>, +<code><a href="countDistinct.html">n_distinct,Column-method</a></code>; +<code><a href="count.html">count</a></code>, <code><a href="count.html">count</a></code>, +<code><a href="count.html">count,Column-method</a></code>, +<code><a href="count.html">count,GroupedData-method</a></code>, <code><a href="count.html">n</a></code>, +<code><a href="count.html">n</a></code>, <code><a href="count.html">n,Column-method</a></code>; +<code><a href="first.html">first</a></code>, <code><a href="first.html">first</a></code>, +<code><a href="first.html">first</a></code>, +<code><a href="first.html">first,SparkDataFrame-method</a></code>, +<code><a href="first.html">first,characterOrColumn-method</a></code>; +<code><a href="kurtosis.html">kurtosis</a></code>, <code><a href="kurtosis.html">kurtosis</a></code>, +<code><a href="kurtosis.html">kurtosis,Column-method</a></code>; <code><a href="last.html">last</a></code>, +<code><a href="last.html">last</a></code>, +<code><a href="last.html">last,characterOrColumn-method</a></code>; +<code><a href="max.html">max</a></code>, <code><a href="max.html">max,Column-method</a></code>; +<code><a href="mean.html">mean</a></code>, <code><a href="mean.html">mean,Column-method</a></code>; +<code><a href="min.html">min</a></code>, <code><a href="min.html">min,Column-method</a></code>; +<code><a href="sd.html">sd</a></code>, <code><a href="sd.html">sd</a></code>, +<code><a href="sd.html">sd,Column-method</a></code>, <code><a href="sd.html">stddev</a></code>, +<code><a href="sd.html">stddev</a></code>, <code><a href="sd.html">stddev,Column-method</a></code>; +<code><a href="skewness.html">skewness</a></code>, <code><a href="skewness.html">skewness</a></code>, +<code><a href="skewness.html">skewness,Column-method</a></code>; +<code><a href="stddev_pop.html">stddev_pop</a></code>, <code><a href="stddev_pop.html">stddev_pop</a></code>, +<code><a href="stddev_pop.html">stddev_pop,Column-method</a></code>; +<code><a href="stddev_samp.html">stddev_samp</a></code>, <code><a href="stddev_samp.html">stddev_samp</a></code>, +<code><a href="stddev_samp.html">stddev_samp,Column-method</a></code>; +<code><a href="sumDistinct.html">sumDistinct</a></code>, <code><a href="sumDistinct.html">sumDistinct</a></code>, +<code><a href="sumDistinct.html">sumDistinct,Column-method</a></code>; +<code><a href="sum.html">sum</a></code>, <code><a href="sum.html">sum,Column-method</a></code>; +<code><a href="var_pop.html">var_pop</a></code>, <code><a href="var_pop.html">var_pop</a></code>, +<code><a href="var_pop.html">var_pop,Column-method</a></code>; +<code><a href="var_samp.html">var_samp</a></code>, <code><a href="var_samp.html">var_samp</a></code>, +<code><a href="var_samp.html">var_samp,Column-method</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D variance(df$c) +##D select(df, var_pop(df$age)) +##D agg(df, var(df$age)) +## End(Not run) +</code></pre> + + +<hr><div align="center">[Package <em>SparkR</em> version 2.2.0 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/f7ec1155/site/docs/2.2.0/api/R/var_pop.html ---------------------------------------------------------------------- diff --git a/site/docs/2.2.0/api/R/var_pop.html b/site/docs/2.2.0/api/R/var_pop.html new file mode 100644 index 0000000..d0e83b3 --- /dev/null +++ b/site/docs/2.2.0/api/R/var_pop.html @@ -0,0 +1,107 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: var_pop</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<link rel="stylesheet" type="text/css" href="R.css"> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for var_pop {SparkR}"><tr><td>var_pop {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>var_pop</h2> + +<h3>Description</h3> + +<p>Aggregate function: returns the population variance of the values in a group. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +var_pop(x) + +var_pop(x) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>Column to compute on.</p> +</td></tr> +</table> + + +<h3>Note</h3> + +<p>var_pop since 1.5.0 +</p> + + +<h3>See Also</h3> + +<p><a href="var.html">var</a>, <a href="var_samp.html">var_samp</a> +</p> +<p>Other agg_funcs: <code><a href="summarize.html">agg</a></code>, <code><a href="summarize.html">agg</a></code>, +<code><a href="summarize.html">agg</a></code>, <code><a href="summarize.html">agg,GroupedData-method</a></code>, +<code><a href="summarize.html">agg,SparkDataFrame-method</a></code>, +<code><a href="summarize.html">summarize</a></code>, <code><a href="summarize.html">summarize</a></code>, +<code><a href="summarize.html">summarize</a></code>, +<code><a href="summarize.html">summarize,GroupedData-method</a></code>, +<code><a href="summarize.html">summarize,SparkDataFrame-method</a></code>; +<code><a href="avg.html">avg</a></code>, <code><a href="avg.html">avg</a></code>, +<code><a href="avg.html">avg,Column-method</a></code>; +<code><a href="countDistinct.html">countDistinct</a></code>, <code><a href="countDistinct.html">countDistinct</a></code>, +<code><a href="countDistinct.html">countDistinct,Column-method</a></code>, +<code><a href="countDistinct.html">n_distinct</a></code>, <code><a href="countDistinct.html">n_distinct</a></code>, +<code><a href="countDistinct.html">n_distinct,Column-method</a></code>; +<code><a href="count.html">count</a></code>, <code><a href="count.html">count</a></code>, +<code><a href="count.html">count,Column-method</a></code>, +<code><a href="count.html">count,GroupedData-method</a></code>, <code><a href="count.html">n</a></code>, +<code><a href="count.html">n</a></code>, <code><a href="count.html">n,Column-method</a></code>; +<code><a href="first.html">first</a></code>, <code><a href="first.html">first</a></code>, +<code><a href="first.html">first</a></code>, +<code><a href="first.html">first,SparkDataFrame-method</a></code>, +<code><a href="first.html">first,characterOrColumn-method</a></code>; +<code><a href="kurtosis.html">kurtosis</a></code>, <code><a href="kurtosis.html">kurtosis</a></code>, +<code><a href="kurtosis.html">kurtosis,Column-method</a></code>; <code><a href="last.html">last</a></code>, +<code><a href="last.html">last</a></code>, +<code><a href="last.html">last,characterOrColumn-method</a></code>; +<code><a href="max.html">max</a></code>, <code><a href="max.html">max,Column-method</a></code>; +<code><a href="mean.html">mean</a></code>, <code><a href="mean.html">mean,Column-method</a></code>; +<code><a href="min.html">min</a></code>, <code><a href="min.html">min,Column-method</a></code>; +<code><a href="sd.html">sd</a></code>, <code><a href="sd.html">sd</a></code>, +<code><a href="sd.html">sd,Column-method</a></code>, <code><a href="sd.html">stddev</a></code>, +<code><a href="sd.html">stddev</a></code>, <code><a href="sd.html">stddev,Column-method</a></code>; +<code><a href="skewness.html">skewness</a></code>, <code><a href="skewness.html">skewness</a></code>, +<code><a href="skewness.html">skewness,Column-method</a></code>; +<code><a href="stddev_pop.html">stddev_pop</a></code>, <code><a href="stddev_pop.html">stddev_pop</a></code>, +<code><a href="stddev_pop.html">stddev_pop,Column-method</a></code>; +<code><a href="stddev_samp.html">stddev_samp</a></code>, <code><a href="stddev_samp.html">stddev_samp</a></code>, +<code><a href="stddev_samp.html">stddev_samp,Column-method</a></code>; +<code><a href="sumDistinct.html">sumDistinct</a></code>, <code><a href="sumDistinct.html">sumDistinct</a></code>, +<code><a href="sumDistinct.html">sumDistinct,Column-method</a></code>; +<code><a href="sum.html">sum</a></code>, <code><a href="sum.html">sum,Column-method</a></code>; +<code><a href="var_samp.html">var_samp</a></code>, <code><a href="var_samp.html">var_samp</a></code>, +<code><a href="var_samp.html">var_samp,Column-method</a></code>; <code><a href="var.html">var</a></code>, +<code><a href="var.html">var</a></code>, <code><a href="var.html">var,Column-method</a></code>, +<code><a href="var.html">variance</a></code>, <code><a href="var.html">variance</a></code>, +<code><a href="var.html">variance,Column-method</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: var_pop(df$c) +</code></pre> + + +<hr><div align="center">[Package <em>SparkR</em> version 2.2.0 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/f7ec1155/site/docs/2.2.0/api/R/var_samp.html ---------------------------------------------------------------------- diff --git a/site/docs/2.2.0/api/R/var_samp.html b/site/docs/2.2.0/api/R/var_samp.html new file mode 100644 index 0000000..169cc5d --- /dev/null +++ b/site/docs/2.2.0/api/R/var_samp.html @@ -0,0 +1,107 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: var_samp</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<link rel="stylesheet" type="text/css" href="R.css"> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for var_samp {SparkR}"><tr><td>var_samp {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>var_samp</h2> + +<h3>Description</h3> + +<p>Aggregate function: returns the unbiased variance of the values in a group. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +var_samp(x) + +var_samp(x) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>Column to compute on.</p> +</td></tr> +</table> + + +<h3>Note</h3> + +<p>var_samp since 1.6.0 +</p> + + +<h3>See Also</h3> + +<p><a href="var_pop.html">var_pop</a>, <a href="var.html">var</a> +</p> +<p>Other agg_funcs: <code><a href="summarize.html">agg</a></code>, <code><a href="summarize.html">agg</a></code>, +<code><a href="summarize.html">agg</a></code>, <code><a href="summarize.html">agg,GroupedData-method</a></code>, +<code><a href="summarize.html">agg,SparkDataFrame-method</a></code>, +<code><a href="summarize.html">summarize</a></code>, <code><a href="summarize.html">summarize</a></code>, +<code><a href="summarize.html">summarize</a></code>, +<code><a href="summarize.html">summarize,GroupedData-method</a></code>, +<code><a href="summarize.html">summarize,SparkDataFrame-method</a></code>; +<code><a href="avg.html">avg</a></code>, <code><a href="avg.html">avg</a></code>, +<code><a href="avg.html">avg,Column-method</a></code>; +<code><a href="countDistinct.html">countDistinct</a></code>, <code><a href="countDistinct.html">countDistinct</a></code>, +<code><a href="countDistinct.html">countDistinct,Column-method</a></code>, +<code><a href="countDistinct.html">n_distinct</a></code>, <code><a href="countDistinct.html">n_distinct</a></code>, +<code><a href="countDistinct.html">n_distinct,Column-method</a></code>; +<code><a href="count.html">count</a></code>, <code><a href="count.html">count</a></code>, +<code><a href="count.html">count,Column-method</a></code>, +<code><a href="count.html">count,GroupedData-method</a></code>, <code><a href="count.html">n</a></code>, +<code><a href="count.html">n</a></code>, <code><a href="count.html">n,Column-method</a></code>; +<code><a href="first.html">first</a></code>, <code><a href="first.html">first</a></code>, +<code><a href="first.html">first</a></code>, +<code><a href="first.html">first,SparkDataFrame-method</a></code>, +<code><a href="first.html">first,characterOrColumn-method</a></code>; +<code><a href="kurtosis.html">kurtosis</a></code>, <code><a href="kurtosis.html">kurtosis</a></code>, +<code><a href="kurtosis.html">kurtosis,Column-method</a></code>; <code><a href="last.html">last</a></code>, +<code><a href="last.html">last</a></code>, +<code><a href="last.html">last,characterOrColumn-method</a></code>; +<code><a href="max.html">max</a></code>, <code><a href="max.html">max,Column-method</a></code>; +<code><a href="mean.html">mean</a></code>, <code><a href="mean.html">mean,Column-method</a></code>; +<code><a href="min.html">min</a></code>, <code><a href="min.html">min,Column-method</a></code>; +<code><a href="sd.html">sd</a></code>, <code><a href="sd.html">sd</a></code>, +<code><a href="sd.html">sd,Column-method</a></code>, <code><a href="sd.html">stddev</a></code>, +<code><a href="sd.html">stddev</a></code>, <code><a href="sd.html">stddev,Column-method</a></code>; +<code><a href="skewness.html">skewness</a></code>, <code><a href="skewness.html">skewness</a></code>, +<code><a href="skewness.html">skewness,Column-method</a></code>; +<code><a href="stddev_pop.html">stddev_pop</a></code>, <code><a href="stddev_pop.html">stddev_pop</a></code>, +<code><a href="stddev_pop.html">stddev_pop,Column-method</a></code>; +<code><a href="stddev_samp.html">stddev_samp</a></code>, <code><a href="stddev_samp.html">stddev_samp</a></code>, +<code><a href="stddev_samp.html">stddev_samp,Column-method</a></code>; +<code><a href="sumDistinct.html">sumDistinct</a></code>, <code><a href="sumDistinct.html">sumDistinct</a></code>, +<code><a href="sumDistinct.html">sumDistinct,Column-method</a></code>; +<code><a href="sum.html">sum</a></code>, <code><a href="sum.html">sum,Column-method</a></code>; +<code><a href="var_pop.html">var_pop</a></code>, <code><a href="var_pop.html">var_pop</a></code>, +<code><a href="var_pop.html">var_pop,Column-method</a></code>; <code><a href="var.html">var</a></code>, +<code><a href="var.html">var</a></code>, <code><a href="var.html">var,Column-method</a></code>, +<code><a href="var.html">variance</a></code>, <code><a href="var.html">variance</a></code>, +<code><a href="var.html">variance,Column-method</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: var_samp(df$c) +</code></pre> + + +<hr><div align="center">[Package <em>SparkR</em> version 2.2.0 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/f7ec1155/site/docs/2.2.0/api/R/weekofyear.html ---------------------------------------------------------------------- diff --git a/site/docs/2.2.0/api/R/weekofyear.html b/site/docs/2.2.0/api/R/weekofyear.html new file mode 100644 index 0000000..08fc3d5 --- /dev/null +++ b/site/docs/2.2.0/api/R/weekofyear.html @@ -0,0 +1,118 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: weekofyear</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<link rel="stylesheet" type="text/css" href="R.css"> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for weekofyear {SparkR}"><tr><td>weekofyear {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>weekofyear</h2> + +<h3>Description</h3> + +<p>Extracts the week number as an integer from a given date/timestamp/string. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +weekofyear(x) + +weekofyear(x) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>Column to compute on.</p> +</td></tr> +</table> + + +<h3>Note</h3> + +<p>weekofyear since 1.5.0 +</p> + + +<h3>See Also</h3> + +<p>Other datetime_funcs: <code><a href="add_months.html">add_months</a></code>, +<code><a href="add_months.html">add_months</a></code>, +<code><a href="add_months.html">add_months,Column,numeric-method</a></code>; +<code><a href="date_add.html">date_add</a></code>, <code><a href="date_add.html">date_add</a></code>, +<code><a href="date_add.html">date_add,Column,numeric-method</a></code>; +<code><a href="date_format.html">date_format</a></code>, <code><a href="date_format.html">date_format</a></code>, +<code><a href="date_format.html">date_format,Column,character-method</a></code>; +<code><a href="date_sub.html">date_sub</a></code>, <code><a href="date_sub.html">date_sub</a></code>, +<code><a href="date_sub.html">date_sub,Column,numeric-method</a></code>; +<code><a href="datediff.html">datediff</a></code>, <code><a href="datediff.html">datediff</a></code>, +<code><a href="datediff.html">datediff,Column-method</a></code>; +<code><a href="dayofmonth.html">dayofmonth</a></code>, <code><a href="dayofmonth.html">dayofmonth</a></code>, +<code><a href="dayofmonth.html">dayofmonth,Column-method</a></code>; +<code><a href="dayofyear.html">dayofyear</a></code>, <code><a href="dayofyear.html">dayofyear</a></code>, +<code><a href="dayofyear.html">dayofyear,Column-method</a></code>; +<code><a href="from_unixtime.html">from_unixtime</a></code>, <code><a href="from_unixtime.html">from_unixtime</a></code>, +<code><a href="from_unixtime.html">from_unixtime,Column-method</a></code>; +<code><a href="from_utc_timestamp.html">from_utc_timestamp</a></code>, +<code><a href="from_utc_timestamp.html">from_utc_timestamp</a></code>, +<code><a href="from_utc_timestamp.html">from_utc_timestamp,Column,character-method</a></code>; +<code><a href="hour.html">hour</a></code>, <code><a href="hour.html">hour</a></code>, +<code><a href="hour.html">hour,Column-method</a></code>; <code><a href="last_day.html">last_day</a></code>, +<code><a href="last_day.html">last_day</a></code>, +<code><a href="last_day.html">last_day,Column-method</a></code>; +<code><a href="minute.html">minute</a></code>, <code><a href="minute.html">minute</a></code>, +<code><a href="minute.html">minute,Column-method</a></code>; +<code><a href="months_between.html">months_between</a></code>, +<code><a href="months_between.html">months_between</a></code>, +<code><a href="months_between.html">months_between,Column-method</a></code>; +<code><a href="month.html">month</a></code>, <code><a href="month.html">month</a></code>, +<code><a href="month.html">month,Column-method</a></code>; +<code><a href="next_day.html">next_day</a></code>, <code><a href="next_day.html">next_day</a></code>, +<code><a href="next_day.html">next_day,Column,character-method</a></code>; +<code><a href="quarter.html">quarter</a></code>, <code><a href="quarter.html">quarter</a></code>, +<code><a href="quarter.html">quarter,Column-method</a></code>; +<code><a href="second.html">second</a></code>, <code><a href="second.html">second</a></code>, +<code><a href="second.html">second,Column-method</a></code>; +<code><a href="to_date.html">to_date</a></code>, <code><a href="to_date.html">to_date</a></code>, +<code><a href="to_date.html">to_date</a></code>, +<code><a href="to_date.html">to_date,Column,character-method</a></code>, +<code><a href="to_date.html">to_date,Column,missing-method</a></code>; +<code><a href="to_timestamp.html">to_timestamp</a></code>, <code><a href="to_timestamp.html">to_timestamp</a></code>, +<code><a href="to_timestamp.html">to_timestamp</a></code>, +<code><a href="to_timestamp.html">to_timestamp,Column,character-method</a></code>, +<code><a href="to_timestamp.html">to_timestamp,Column,missing-method</a></code>; +<code><a href="to_utc_timestamp.html">to_utc_timestamp</a></code>, +<code><a href="to_utc_timestamp.html">to_utc_timestamp</a></code>, +<code><a href="to_utc_timestamp.html">to_utc_timestamp,Column,character-method</a></code>; +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp,Column,character-method</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp,Column,missing-method</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp,missing,missing-method</a></code>; +<code><a href="window.html">window</a></code>, <code><a href="window.html">window</a></code>, +<code><a href="window.html">window,Column-method</a></code>; <code><a href="year.html">year</a></code>, +<code><a href="year.html">year</a></code>, <code><a href="year.html">year,Column-method</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: weekofyear(df$c) +</code></pre> + + +<hr><div align="center">[Package <em>SparkR</em> version 2.2.0 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/f7ec1155/site/docs/2.2.0/api/R/when.html ---------------------------------------------------------------------- diff --git a/site/docs/2.2.0/api/R/when.html b/site/docs/2.2.0/api/R/when.html new file mode 100644 index 0000000..cd500e6 --- /dev/null +++ b/site/docs/2.2.0/api/R/when.html @@ -0,0 +1,105 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: when</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<link rel="stylesheet" type="text/css" href="R.css"> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for when {SparkR}"><tr><td>when {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>when</h2> + +<h3>Description</h3> + +<p>Evaluates a list of conditions and returns one of multiple possible result expressions. +For unmatched expressions null is returned. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +when(condition, value) + +when(condition, value) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>condition</code></td> +<td> +<p>the condition to test on. Must be a Column expression.</p> +</td></tr> +<tr valign="top"><td><code>value</code></td> +<td> +<p>result expression.</p> +</td></tr> +</table> + + +<h3>Note</h3> + +<p>when since 1.5.0 +</p> + + +<h3>See Also</h3> + +<p><a href="ifelse.html">ifelse</a> +</p> +<p>Other normal_funcs: <code><a href="column.html">Column-class</a></code>, +<code><a href="column.html">column</a></code>, <code><a href="column.html">column</a></code>, +<code><a href="column.html">column</a></code>, +<code><a href="column.html">column,character-method</a></code>, +<code><a href="column.html">column,jobj-method</a></code>; <code><a href="abs.html">abs</a></code>, +<code><a href="abs.html">abs,Column-method</a></code>; +<code><a href="bitwiseNOT.html">bitwiseNOT</a></code>, <code><a href="bitwiseNOT.html">bitwiseNOT</a></code>, +<code><a href="bitwiseNOT.html">bitwiseNOT,Column-method</a></code>; +<code><a href="coalesce.html">coalesce</a></code>, <code><a href="coalesce.html">coalesce</a></code>, +<code><a href="coalesce.html">coalesce</a></code>, +<code><a href="coalesce.html">coalesce,Column-method</a></code>, +<code><a href="coalesce.html">coalesce,SparkDataFrame-method</a></code>; +<code><a href="expr.html">expr</a></code>, <code><a href="expr.html">expr</a></code>, +<code><a href="expr.html">expr,character-method</a></code>; +<code><a href="from_json.html">from_json</a></code>, <code><a href="from_json.html">from_json</a></code>, +<code><a href="from_json.html">from_json,Column,structType-method</a></code>; +<code><a href="greatest.html">greatest</a></code>, <code><a href="greatest.html">greatest</a></code>, +<code><a href="greatest.html">greatest,Column-method</a></code>; +<code><a href="ifelse.html">ifelse</a></code>, <code><a href="ifelse.html">ifelse,Column-method</a></code>; +<code><a href="is.nan.html">is.nan</a></code>, <code><a href="is.nan.html">is.nan,Column-method</a></code>, +<code><a href="is.nan.html">isnan</a></code>, <code><a href="is.nan.html">isnan</a></code>, +<code><a href="is.nan.html">isnan,Column-method</a></code>; <code><a href="least.html">least</a></code>, +<code><a href="least.html">least</a></code>, <code><a href="least.html">least,Column-method</a></code>; +<code><a href="lit.html">lit</a></code>, <code><a href="lit.html">lit</a></code>, +<code><a href="lit.html">lit,ANY-method</a></code>; <code><a href="nanvl.html">nanvl</a></code>, +<code><a href="nanvl.html">nanvl</a></code>, <code><a href="nanvl.html">nanvl,Column-method</a></code>; +<code><a href="negate.html">negate</a></code>, <code><a href="negate.html">negate</a></code>, +<code><a href="negate.html">negate,Column-method</a></code>; <code><a href="randn.html">randn</a></code>, +<code><a href="randn.html">randn</a></code>, <code><a href="randn.html">randn</a></code>, +<code><a href="randn.html">randn,missing-method</a></code>, +<code><a href="randn.html">randn,numeric-method</a></code>; <code><a href="rand.html">rand</a></code>, +<code><a href="rand.html">rand</a></code>, <code><a href="rand.html">rand</a></code>, +<code><a href="rand.html">rand,missing-method</a></code>, +<code><a href="rand.html">rand,numeric-method</a></code>; <code><a href="struct.html">struct</a></code>, +<code><a href="struct.html">struct</a></code>, +<code><a href="struct.html">struct,characterOrColumn-method</a></code>; +<code><a href="to_json.html">to_json</a></code>, <code><a href="to_json.html">to_json</a></code>, +<code><a href="to_json.html">to_json,Column-method</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: when(df$age == 2, df$age + 1) +</code></pre> + + +<hr><div align="center">[Package <em>SparkR</em> version 2.2.0 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/f7ec1155/site/docs/2.2.0/api/R/window.html ---------------------------------------------------------------------- diff --git a/site/docs/2.2.0/api/R/window.html b/site/docs/2.2.0/api/R/window.html new file mode 100644 index 0000000..a45bd0e --- /dev/null +++ b/site/docs/2.2.0/api/R/window.html @@ -0,0 +1,169 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: window</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<link rel="stylesheet" type="text/css" href="R.css"> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for window {SparkR}"><tr><td>window {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>window</h2> + +<h3>Description</h3> + +<p>Bucketize rows into one or more time windows given a timestamp specifying column. Window +starts are inclusive but the window ends are exclusive, e.g. 12:05 will be in the window +[12:05,12:10) but not in [12:00,12:05). Windows can support microsecond precision. Windows in +the order of months are not supported. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +window(x, windowDuration, slideDuration = NULL, + startTime = NULL) + +window(x, ...) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>a time Column. Must be of TimestampType.</p> +</td></tr> +<tr valign="top"><td><code>windowDuration</code></td> +<td> +<p>a string specifying the width of the window, e.g. '1 second', +'1 day 12 hours', '2 minutes'. Valid interval strings are 'week', +'day', 'hour', 'minute', 'second', 'millisecond', 'microsecond'. Note that +the duration is a fixed length of time, and does not vary over time +according to a calendar. For example, '1 day' always means 86,400,000 +milliseconds, not a calendar day.</p> +</td></tr> +<tr valign="top"><td><code>slideDuration</code></td> +<td> +<p>a string specifying the sliding interval of the window. Same format as +<code>windowDuration</code>. A new window will be generated every +<code>slideDuration</code>. Must be less than or equal to +the <code>windowDuration</code>. This duration is likewise absolute, and does not +vary according to a calendar.</p> +</td></tr> +<tr valign="top"><td><code>startTime</code></td> +<td> +<p>the offset with respect to 1970-01-01 00:00:00 UTC with which to start +window intervals. For example, in order to have hourly tumbling windows +that start 15 minutes past the hour, e.g. 12:15-13:15, 13:15-14:15... provide +<code>startTime</code> as <code>"15 minutes"</code>.</p> +</td></tr> +<tr valign="top"><td><code>...</code></td> +<td> +<p>further arguments to be passed to or from other methods.</p> +</td></tr> +</table> + + +<h3>Value</h3> + +<p>An output column of struct called 'window' by default with the nested columns 'start' +and 'end'. +</p> + + +<h3>Note</h3> + +<p>window since 2.0.0 +</p> + + +<h3>See Also</h3> + +<p>Other datetime_funcs: <code><a href="add_months.html">add_months</a></code>, +<code><a href="add_months.html">add_months</a></code>, +<code><a href="add_months.html">add_months,Column,numeric-method</a></code>; +<code><a href="date_add.html">date_add</a></code>, <code><a href="date_add.html">date_add</a></code>, +<code><a href="date_add.html">date_add,Column,numeric-method</a></code>; +<code><a href="date_format.html">date_format</a></code>, <code><a href="date_format.html">date_format</a></code>, +<code><a href="date_format.html">date_format,Column,character-method</a></code>; +<code><a href="date_sub.html">date_sub</a></code>, <code><a href="date_sub.html">date_sub</a></code>, +<code><a href="date_sub.html">date_sub,Column,numeric-method</a></code>; +<code><a href="datediff.html">datediff</a></code>, <code><a href="datediff.html">datediff</a></code>, +<code><a href="datediff.html">datediff,Column-method</a></code>; +<code><a href="dayofmonth.html">dayofmonth</a></code>, <code><a href="dayofmonth.html">dayofmonth</a></code>, +<code><a href="dayofmonth.html">dayofmonth,Column-method</a></code>; +<code><a href="dayofyear.html">dayofyear</a></code>, <code><a href="dayofyear.html">dayofyear</a></code>, +<code><a href="dayofyear.html">dayofyear,Column-method</a></code>; +<code><a href="from_unixtime.html">from_unixtime</a></code>, <code><a href="from_unixtime.html">from_unixtime</a></code>, +<code><a href="from_unixtime.html">from_unixtime,Column-method</a></code>; +<code><a href="from_utc_timestamp.html">from_utc_timestamp</a></code>, +<code><a href="from_utc_timestamp.html">from_utc_timestamp</a></code>, +<code><a href="from_utc_timestamp.html">from_utc_timestamp,Column,character-method</a></code>; +<code><a href="hour.html">hour</a></code>, <code><a href="hour.html">hour</a></code>, +<code><a href="hour.html">hour,Column-method</a></code>; <code><a href="last_day.html">last_day</a></code>, +<code><a href="last_day.html">last_day</a></code>, +<code><a href="last_day.html">last_day,Column-method</a></code>; +<code><a href="minute.html">minute</a></code>, <code><a href="minute.html">minute</a></code>, +<code><a href="minute.html">minute,Column-method</a></code>; +<code><a href="months_between.html">months_between</a></code>, +<code><a href="months_between.html">months_between</a></code>, +<code><a href="months_between.html">months_between,Column-method</a></code>; +<code><a href="month.html">month</a></code>, <code><a href="month.html">month</a></code>, +<code><a href="month.html">month,Column-method</a></code>; +<code><a href="next_day.html">next_day</a></code>, <code><a href="next_day.html">next_day</a></code>, +<code><a href="next_day.html">next_day,Column,character-method</a></code>; +<code><a href="quarter.html">quarter</a></code>, <code><a href="quarter.html">quarter</a></code>, +<code><a href="quarter.html">quarter,Column-method</a></code>; +<code><a href="second.html">second</a></code>, <code><a href="second.html">second</a></code>, +<code><a href="second.html">second,Column-method</a></code>; +<code><a href="to_date.html">to_date</a></code>, <code><a href="to_date.html">to_date</a></code>, +<code><a href="to_date.html">to_date</a></code>, +<code><a href="to_date.html">to_date,Column,character-method</a></code>, +<code><a href="to_date.html">to_date,Column,missing-method</a></code>; +<code><a href="to_timestamp.html">to_timestamp</a></code>, <code><a href="to_timestamp.html">to_timestamp</a></code>, +<code><a href="to_timestamp.html">to_timestamp</a></code>, +<code><a href="to_timestamp.html">to_timestamp,Column,character-method</a></code>, +<code><a href="to_timestamp.html">to_timestamp,Column,missing-method</a></code>; +<code><a href="to_utc_timestamp.html">to_utc_timestamp</a></code>, +<code><a href="to_utc_timestamp.html">to_utc_timestamp</a></code>, +<code><a href="to_utc_timestamp.html">to_utc_timestamp,Column,character-method</a></code>; +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp,Column,character-method</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp,Column,missing-method</a></code>, +<code><a href="unix_timestamp.html">unix_timestamp,missing,missing-method</a></code>; +<code><a href="weekofyear.html">weekofyear</a></code>, <code><a href="weekofyear.html">weekofyear</a></code>, +<code><a href="weekofyear.html">weekofyear,Column-method</a></code>; +<code><a href="year.html">year</a></code>, <code><a href="year.html">year</a></code>, +<code><a href="year.html">year,Column-method</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D # One minute windows every 15 seconds 10 seconds after the minute, e.g. 09:00:10-09:01:10, +##D # 09:00:25-09:01:25, 09:00:40-09:01:40, ... +##D window(df$time, "1 minute", "15 seconds", "10 seconds") +##D +##D # One minute tumbling windows 15 seconds after the minute, e.g. 09:00:15-09:01:15, +##D # 09:01:15-09:02:15... +##D window(df$time, "1 minute", startTime = "15 seconds") +##D +##D # Thirty-second windows every 10 seconds, e.g. 09:00:00-09:00:30, 09:00:10-09:00:40, ... +##D window(df$time, "30 seconds", "10 seconds") +## End(Not run) +</code></pre> + + +<hr><div align="center">[Package <em>SparkR</em> version 2.2.0 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/f7ec1155/site/docs/2.2.0/api/R/windowOrderBy.html ---------------------------------------------------------------------- diff --git a/site/docs/2.2.0/api/R/windowOrderBy.html b/site/docs/2.2.0/api/R/windowOrderBy.html new file mode 100644 index 0000000..74d0c55 --- /dev/null +++ b/site/docs/2.2.0/api/R/windowOrderBy.html @@ -0,0 +1,72 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: windowOrderBy</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<link rel="stylesheet" type="text/css" href="R.css"> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for windowOrderBy {SparkR}"><tr><td>windowOrderBy {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>windowOrderBy</h2> + +<h3>Description</h3> + +<p>Creates a WindowSpec with the ordering defined. +</p> + + +<h3>Usage</h3> + +<pre> +windowOrderBy(col, ...) + +## S4 method for signature 'character' +windowOrderBy(col, ...) + +## S4 method for signature 'Column' +windowOrderBy(col, ...) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>col</code></td> +<td> +<p>A column name or Column by which rows are ordered within +windows.</p> +</td></tr> +<tr valign="top"><td><code>...</code></td> +<td> +<p>Optional column names or Columns in addition to col, by +which rows are ordered within windows.</p> +</td></tr> +</table> + + +<h3>Note</h3> + +<p>windowOrderBy(character) since 2.0.0 +</p> +<p>windowOrderBy(Column) since 2.0.0 +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D ws <- windowOrderBy("key1", "key2") +##D df1 <- select(df, over(lead("value", 1), ws)) +##D +##D ws <- windowOrderBy(df$key1, df$key2) +##D df1 <- select(df, over(lead("value", 1), ws)) +## End(Not run) +</code></pre> + + +<hr><div align="center">[Package <em>SparkR</em> version 2.2.0 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/f7ec1155/site/docs/2.2.0/api/R/windowPartitionBy.html ---------------------------------------------------------------------- diff --git a/site/docs/2.2.0/api/R/windowPartitionBy.html b/site/docs/2.2.0/api/R/windowPartitionBy.html new file mode 100644 index 0000000..b465298 --- /dev/null +++ b/site/docs/2.2.0/api/R/windowPartitionBy.html @@ -0,0 +1,72 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: windowPartitionBy</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<link rel="stylesheet" type="text/css" href="R.css"> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for windowPartitionBy {SparkR}"><tr><td>windowPartitionBy {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>windowPartitionBy</h2> + +<h3>Description</h3> + +<p>Creates a WindowSpec with the partitioning defined. +</p> + + +<h3>Usage</h3> + +<pre> +windowPartitionBy(col, ...) + +## S4 method for signature 'character' +windowPartitionBy(col, ...) + +## S4 method for signature 'Column' +windowPartitionBy(col, ...) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>col</code></td> +<td> +<p>A column name or Column by which rows are partitioned to +windows.</p> +</td></tr> +<tr valign="top"><td><code>...</code></td> +<td> +<p>Optional column names or Columns in addition to col, by +which rows are partitioned to windows.</p> +</td></tr> +</table> + + +<h3>Note</h3> + +<p>windowPartitionBy(character) since 2.0.0 +</p> +<p>windowPartitionBy(Column) since 2.0.0 +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D ws <- orderBy(windowPartitionBy("key1", "key2"), "key3") +##D df1 <- select(df, over(lead("value", 1), ws)) +##D +##D ws <- orderBy(windowPartitionBy(df$key1, df$key2), df$key3) +##D df1 <- select(df, over(lead("value", 1), ws)) +## End(Not run) +</code></pre> + + +<hr><div align="center">[Package <em>SparkR</em> version 2.2.0 <a href="00Index.html">Index</a>]</div> +</body></html> --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org