http://git-wip-us.apache.org/repos/asf/spark-website/blob/24d32b75/site/docs/1.6.3/api/R/str.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/str.html b/site/docs/1.6.3/api/R/str.html new file mode 100644 index 0000000..170cdb4 --- /dev/null +++ b/site/docs/1.6.3/api/R/str.html @@ -0,0 +1,135 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: Compactly display the structure of a dataset</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 str {SparkR}"><tr><td>str {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>Compactly display the structure of a dataset</h2> + +<h3>Description</h3> + +<p>Display the structure of a DataFrame, including column names, column types, as well as a +a small sample of rows. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame' +str(object) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>object</code></td> +<td> +<p>a DataFrame</p> +</td></tr> +</table> + + +<h3>See Also</h3> + +<p>Other DataFrame functions: <code><a href="select.html">$</a></code>, +<code><a href="select.html">$<-</a></code>, <code><a href="select.html">select</a></code>, +<code><a href="select.html">select</a></code>, +<code><a href="select.html">select,DataFrame,Column-method</a></code>, +<code><a href="select.html">select,DataFrame,list-method</a></code>, +<code><a href="selectExpr.html">selectExpr</a></code>; <code><a href="DataFrame.html">DataFrame-class</a></code>, +<code><a href="DataFrame.html">dataFrame</a></code>, <code><a href="DataFrame.html">groupedData</a></code>; +<code><a href="subset.html">[</a></code>, <code><a href="subset.html">[</a></code>, <code><a href="subset.html">[[</a></code>, +<code><a href="subset.html">subset</a></code>; <code><a href="summarize.html">agg</a></code>, +<code><a href="summarize.html">agg</a></code>, +<code><a href="agg.html">count,GroupedData-method</a></code>, +<code><a href="summarize.html">summarize</a></code>, <code><a href="summarize.html">summarize</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">orderBy</a></code>, +<code><a href="arrange.html">orderBy</a></code>; <code><a href="as.data.frame.html">as.data.frame</a></code>, +<code><a href="as.data.frame.html">as.data.frame,DataFrame-method</a></code>; +<code><a href="attach.html">attach</a></code>, +<code><a href="attach.html">attach,DataFrame-method</a></code>; +<code><a href="cache.html">cache</a></code>; <code><a href="collect.html">collect</a></code>; +<code><a href="columns.html">colnames</a></code>, <code><a href="columns.html">colnames</a></code>, +<code><a href="columns.html">colnames<-</a></code>, <code><a href="columns.html">colnames<-</a></code>, +<code><a href="schema.html">columns</a></code>, <code><a href="columns.html">names</a></code>, +<code><a href="columns.html">names<-</a></code>; <code><a href="coltypes.html">coltypes</a></code>, +<code><a href="coltypes.html">coltypes</a></code>, <code><a href="coltypes.html">coltypes<-</a></code>, +<code><a href="coltypes.html">coltypes<-</a></code>; <code><a href="schema.html">columns</a></code>, +<code><a href="schema.html">dtypes</a></code>, <code><a href="schema.html">printSchema</a></code>, +<code><a href="schema.html">schema</a></code>, <code><a href="schema.html">schema</a></code>; +<code><a href="nrow.html">count</a></code>, <code><a href="nrow.html">nrow</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">summary</a></code>, +<code><a href="summary.html">summary</a></code>, +<code><a href="summary.html">summary,PipelineModel-method</a></code>; +<code><a href="dim.html">dim</a></code>; <code><a href="distinct.html">distinct</a></code>, +<code><a href="distinct.html">unique</a></code>; <code><a href="nafunctions.html">dropna</a></code>, +<code><a href="nafunctions.html">dropna</a></code>, <code><a href="nafunctions.html">fillna</a></code>, +<code><a href="nafunctions.html">fillna</a></code>, <code><a href="nafunctions.html">na.omit</a></code>, +<code><a href="nafunctions.html">na.omit</a></code>; <code><a href="schema.html">dtypes</a></code>; +<code><a href="except.html">except</a></code>, <code><a href="except.html">except</a></code>; +<code><a href="explain.html">explain</a></code>, <code><a href="explain.html">explain</a></code>; +<code><a href="filter.html">filter</a></code>, <code><a href="filter.html">filter</a></code>, +<code><a href="filter.html">where</a></code>, <code><a href="filter.html">where</a></code>; +<code><a href="first.html">first</a></code>, <code><a href="first.html">first</a></code>; +<code><a href="groupBy.html">groupBy</a></code>, <code><a href="groupBy.html">groupBy</a></code>, +<code><a href="groupBy.html">group_by</a></code>, <code><a href="groupBy.html">group_by</a></code>; +<code><a href="head.html">head</a></code>; <code><a href="insertInto.html">insertInto</a></code>, +<code><a href="insertInto.html">insertInto</a></code>; <code><a href="intersect.html">intersect</a></code>, +<code><a href="intersect.html">intersect</a></code>; <code><a href="isLocal.html">isLocal</a></code>, +<code><a href="isLocal.html">isLocal</a></code>; <code><a href="join.html">join</a></code>; +<code><a href="limit.html">limit</a></code>, <code><a href="limit.html">limit</a></code>; +<code><a href="merge.html">merge</a></code>, <code><a href="merge.html">merge</a></code>; +<code><a href="mutate.html">mutate</a></code>, <code><a href="mutate.html">mutate</a></code>, +<code><a href="mutate.html">transform</a></code>, <code><a href="mutate.html">transform</a></code>; +<code><a href="ncol.html">ncol</a></code>; <code><a href="persist.html">persist</a></code>; +<code><a href="schema.html">printSchema</a></code>; <code><a href="rbind.html">rbind</a></code>, +<code><a href="rbind.html">rbind</a></code>, <code><a href="rbind.html">unionAll</a></code>, +<code><a href="rbind.html">unionAll</a></code>; <code><a href="registerTempTable.html">registerTempTable</a></code>, +<code><a href="registerTempTable.html">registerTempTable</a></code>; <code><a href="rename.html">rename</a></code>, +<code><a href="rename.html">rename</a></code>, <code><a href="rename.html">withColumnRenamed</a></code>, +<code><a href="rename.html">withColumnRenamed</a></code>; +<code><a href="repartition.html">repartition</a></code>; <code><a href="sample.html">sample</a></code>, +<code><a href="sample.html">sample</a></code>, <code><a href="sample.html">sample_frac</a></code>, +<code><a href="sample.html">sample_frac</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">write.parquet</a></code>, <code><a href="write.parquet.html">write.parquet</a></code>; +<code><a href="saveAsTable.html">saveAsTable</a></code>, <code><a href="saveAsTable.html">saveAsTable</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">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="selectExpr.html">selectExpr</a></code>; +<code><a href="showDF.html">showDF</a></code>, <code><a href="showDF.html">showDF</a></code>; +<code><a href="show.html">show</a></code>, <code><a href="show.html">show</a></code>, +<code><a href="show.html">show,GroupedData-method</a></code>; +<code><a href="take.html">take</a></code>; <code><a href="unpersist-methods.html">unpersist</a></code>; +<code><a href="withColumn.html">withColumn</a></code>, <code><a href="withColumn.html">withColumn</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.text.html">write.text</a></code>, <code><a href="write.text.html">write.text</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D # Create a DataFrame from the Iris dataset +##D irisDF <- createDataFrame(sqlContext, iris) +##D +##D # Show the structure of the DataFrame +##D str(irisDF) +## End(Not run) +</code></pre> + + +<hr><div align="center">[Package <em>SparkR</em> version 1.6.3 <a href="00Index.html">Index</a>]</div> +</body></html>
http://git-wip-us.apache.org/repos/asf/spark-website/blob/24d32b75/site/docs/1.6.3/api/R/struct.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/struct.html b/site/docs/1.6.3/api/R/struct.html new file mode 100644 index 0000000..e4b81fb --- /dev/null +++ b/site/docs/1.6.3/api/R/struct.html @@ -0,0 +1,62 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: struct</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 struct {SparkR}"><tr><td>struct {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>struct</h2> + +<h3>Description</h3> + +<p>Creates a new struct column that composes multiple input columns. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'characterOrColumn' +struct(x, ...) + +struct(x, ...) +</pre> + + +<h3>See Also</h3> + +<p>Other normal_funcs: <code><a href="abs.html">abs</a></code>; +<code><a href="bitwiseNOT.html">bitwiseNOT</a></code>, <code><a href="bitwiseNOT.html">bitwiseNOT</a></code>; +<code><a href="col.html">col</a></code>, <code><a href="col.html">column</a></code>, +<code><a href="col.html">column</a></code>; <code><a href="expr.html">expr</a></code>, +<code><a href="expr.html">expr</a></code>; <code><a href="greatest.html">greatest</a></code>, +<code><a href="greatest.html">greatest</a></code>; <code><a href="ifelse.html">ifelse</a></code>; +<code><a href="is.nan.html">is.nan</a></code>, <code><a href="is.nan.html">isnan</a></code>, +<code><a href="is.nan.html">isnan</a></code>; <code><a href="least.html">least</a></code>, +<code><a href="least.html">least</a></code>; <code><a href="lit.html">lit</a></code>, +<code><a href="lit.html">lit</a></code>; <code><a href="nanvl.html">nanvl</a></code>, +<code><a href="nanvl.html">nanvl</a></code>; <code><a href="negate.html">negate</a></code>, +<code><a href="negate.html">negate</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="rand.html">rand</a></code>, <code><a href="rand.html">rand</a></code>, +<code><a href="rand.html">rand</a></code>; <code><a href="when.html">when</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D struct(df$c, df$d) +##D struct("col1", "col2") +## End(Not run) +</code></pre> + + +<hr><div align="center">[Package <em>SparkR</em> version 1.6.3 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/24d32b75/site/docs/1.6.3/api/R/structField.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/structField.html b/site/docs/1.6.3/api/R/structField.html new file mode 100644 index 0000000..9cb99a4 --- /dev/null +++ b/site/docs/1.6.3/api/R/structField.html @@ -0,0 +1,68 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: structField</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 structField {SparkR}"><tr><td>structField {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>structField</h2> + +<h3>Description</h3> + +<p>Create a structField object that contains the metadata for a single field in a schema. +</p> + + +<h3>Usage</h3> + +<pre> +structField(x, ...) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>The name of the field</p> +</td></tr> +<tr valign="top"><td><code>type</code></td> +<td> +<p>The data type of the field</p> +</td></tr> +<tr valign="top"><td><code>nullable</code></td> +<td> +<p>A logical vector indicating whether or not the field is nullable</p> +</td></tr> +</table> + + +<h3>Value</h3> + +<p>a structField object +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D sc <- sparkR.init() +##D sqlCtx <- sparkRSQL.init(sc) +##D rdd <- lapply(parallelize(sc, 1:10), function(x) { list(x, as.character(x)) }) +##D field1 <- structField("a", "integer", TRUE) +##D field2 <- structField("b", "string", TRUE) +##D schema <- structType(field1, field2) +##D df <- createDataFrame(sqlCtx, rdd, schema) +## End(Not run) +</code></pre> + + +<hr><div align="center">[Package <em>SparkR</em> version 1.6.3 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/24d32b75/site/docs/1.6.3/api/R/structType.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/structType.html b/site/docs/1.6.3/api/R/structType.html new file mode 100644 index 0000000..9568d46 --- /dev/null +++ b/site/docs/1.6.3/api/R/structType.html @@ -0,0 +1,63 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: structType</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 structType {SparkR}"><tr><td>structType {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>structType</h2> + +<h3>Description</h3> + +<p>Create a structType object that contains the metadata for a DataFrame. Intended for +use with createDataFrame and toDF. +</p> + + +<h3>Usage</h3> + +<pre> +structType(x, ...) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>a structField object (created with the field() function)</p> +</td></tr> +<tr valign="top"><td><code>...</code></td> +<td> +<p>additional structField objects</p> +</td></tr> +</table> + + +<h3>Value</h3> + +<p>a structType object +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D sc <- sparkR.init() +##D sqlCtx <- sparkRSQL.init(sc) +##D rdd <- lapply(parallelize(sc, 1:10), function(x) { list(x, as.character(x)) }) +##D schema <- structType(structField("a", "integer"), structField("b", "string")) +##D df <- createDataFrame(sqlCtx, rdd, schema) +## End(Not run) +</code></pre> + + +<hr><div align="center">[Package <em>SparkR</em> version 1.6.3 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/24d32b75/site/docs/1.6.3/api/R/subset.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/subset.html b/site/docs/1.6.3/api/R/subset.html new file mode 100644 index 0000000..7d2beaa --- /dev/null +++ b/site/docs/1.6.3/api/R/subset.html @@ -0,0 +1,171 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: Subset</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 [[ {SparkR}"><tr><td>[[ {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>Subset</h2> + +<h3>Description</h3> + +<p>Return subsets of DataFrame according to given conditions +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame,numericOrcharacter' +x[[i]] + +## S4 method for signature 'DataFrame,missing' +x[i, j, ..., drop = TRUE] + +## S4 method for signature 'DataFrame,Column' +x[i, j, ..., drop = TRUE] + +## S4 method for signature 'DataFrame' +subset(x, subset, select, ...) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>A DataFrame</p> +</td></tr> +<tr valign="top"><td><code>subset</code></td> +<td> +<p>(Optional) A logical expression to filter on rows</p> +</td></tr> +<tr valign="top"><td><code>select</code></td> +<td> +<p>expression for the single Column or a list of columns to select from the DataFrame</p> +</td></tr> +</table> + + +<h3>Value</h3> + +<p>A new DataFrame containing only the rows that meet the condition with selected columns +</p> + + +<h3>See Also</h3> + +<p>Other DataFrame functions: <code><a href="select.html">$</a></code>, +<code><a href="select.html">$<-</a></code>, <code><a href="select.html">select</a></code>, +<code><a href="select.html">select</a></code>, +<code><a href="select.html">select,DataFrame,Column-method</a></code>, +<code><a href="select.html">select,DataFrame,list-method</a></code>, +<code><a href="selectExpr.html">selectExpr</a></code>; <code><a href="DataFrame.html">DataFrame-class</a></code>, +<code><a href="DataFrame.html">dataFrame</a></code>, <code><a href="DataFrame.html">groupedData</a></code>; +<code><a href="summarize.html">agg</a></code>, <code><a href="summarize.html">agg</a></code>, +<code><a href="agg.html">count,GroupedData-method</a></code>, +<code><a href="summarize.html">summarize</a></code>, <code><a href="summarize.html">summarize</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">orderBy</a></code>, +<code><a href="arrange.html">orderBy</a></code>; <code><a href="as.data.frame.html">as.data.frame</a></code>, +<code><a href="as.data.frame.html">as.data.frame,DataFrame-method</a></code>; +<code><a href="attach.html">attach</a></code>, +<code><a href="attach.html">attach,DataFrame-method</a></code>; +<code><a href="cache.html">cache</a></code>; <code><a href="collect.html">collect</a></code>; +<code><a href="columns.html">colnames</a></code>, <code><a href="columns.html">colnames</a></code>, +<code><a href="columns.html">colnames<-</a></code>, <code><a href="columns.html">colnames<-</a></code>, +<code><a href="schema.html">columns</a></code>, <code><a href="columns.html">names</a></code>, +<code><a href="columns.html">names<-</a></code>; <code><a href="coltypes.html">coltypes</a></code>, +<code><a href="coltypes.html">coltypes</a></code>, <code><a href="coltypes.html">coltypes<-</a></code>, +<code><a href="coltypes.html">coltypes<-</a></code>; <code><a href="schema.html">columns</a></code>, +<code><a href="schema.html">dtypes</a></code>, <code><a href="schema.html">printSchema</a></code>, +<code><a href="schema.html">schema</a></code>, <code><a href="schema.html">schema</a></code>; +<code><a href="nrow.html">count</a></code>, <code><a href="nrow.html">nrow</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">summary</a></code>, +<code><a href="summary.html">summary</a></code>, +<code><a href="summary.html">summary,PipelineModel-method</a></code>; +<code><a href="dim.html">dim</a></code>; <code><a href="distinct.html">distinct</a></code>, +<code><a href="distinct.html">unique</a></code>; <code><a href="nafunctions.html">dropna</a></code>, +<code><a href="nafunctions.html">dropna</a></code>, <code><a href="nafunctions.html">fillna</a></code>, +<code><a href="nafunctions.html">fillna</a></code>, <code><a href="nafunctions.html">na.omit</a></code>, +<code><a href="nafunctions.html">na.omit</a></code>; <code><a href="schema.html">dtypes</a></code>; +<code><a href="except.html">except</a></code>, <code><a href="except.html">except</a></code>; +<code><a href="explain.html">explain</a></code>, <code><a href="explain.html">explain</a></code>; +<code><a href="filter.html">filter</a></code>, <code><a href="filter.html">filter</a></code>, +<code><a href="filter.html">where</a></code>, <code><a href="filter.html">where</a></code>; +<code><a href="first.html">first</a></code>, <code><a href="first.html">first</a></code>; +<code><a href="groupBy.html">groupBy</a></code>, <code><a href="groupBy.html">groupBy</a></code>, +<code><a href="groupBy.html">group_by</a></code>, <code><a href="groupBy.html">group_by</a></code>; +<code><a href="head.html">head</a></code>; <code><a href="insertInto.html">insertInto</a></code>, +<code><a href="insertInto.html">insertInto</a></code>; <code><a href="intersect.html">intersect</a></code>, +<code><a href="intersect.html">intersect</a></code>; <code><a href="isLocal.html">isLocal</a></code>, +<code><a href="isLocal.html">isLocal</a></code>; <code><a href="join.html">join</a></code>; +<code><a href="limit.html">limit</a></code>, <code><a href="limit.html">limit</a></code>; +<code><a href="merge.html">merge</a></code>, <code><a href="merge.html">merge</a></code>; +<code><a href="mutate.html">mutate</a></code>, <code><a href="mutate.html">mutate</a></code>, +<code><a href="mutate.html">transform</a></code>, <code><a href="mutate.html">transform</a></code>; +<code><a href="ncol.html">ncol</a></code>; <code><a href="persist.html">persist</a></code>; +<code><a href="schema.html">printSchema</a></code>; <code><a href="rbind.html">rbind</a></code>, +<code><a href="rbind.html">rbind</a></code>, <code><a href="rbind.html">unionAll</a></code>, +<code><a href="rbind.html">unionAll</a></code>; <code><a href="registerTempTable.html">registerTempTable</a></code>, +<code><a href="registerTempTable.html">registerTempTable</a></code>; <code><a href="rename.html">rename</a></code>, +<code><a href="rename.html">rename</a></code>, <code><a href="rename.html">withColumnRenamed</a></code>, +<code><a href="rename.html">withColumnRenamed</a></code>; +<code><a href="repartition.html">repartition</a></code>; <code><a href="sample.html">sample</a></code>, +<code><a href="sample.html">sample</a></code>, <code><a href="sample.html">sample_frac</a></code>, +<code><a href="sample.html">sample_frac</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">write.parquet</a></code>, <code><a href="write.parquet.html">write.parquet</a></code>; +<code><a href="saveAsTable.html">saveAsTable</a></code>, <code><a href="saveAsTable.html">saveAsTable</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">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="selectExpr.html">selectExpr</a></code>; +<code><a href="showDF.html">showDF</a></code>, <code><a href="showDF.html">showDF</a></code>; +<code><a href="show.html">show</a></code>, <code><a href="show.html">show</a></code>, +<code><a href="show.html">show,GroupedData-method</a></code>; <code><a href="str.html">str</a></code>; +<code><a href="take.html">take</a></code>; <code><a href="unpersist-methods.html">unpersist</a></code>; +<code><a href="withColumn.html">withColumn</a></code>, <code><a href="withColumn.html">withColumn</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.text.html">write.text</a></code>, <code><a href="write.text.html">write.text</a></code> +</p> +<p>Other subsetting functions: <code><a href="select.html">$</a></code>, +<code><a href="select.html">$<-</a></code>, <code><a href="select.html">select</a></code>, +<code><a href="select.html">select</a></code>, +<code><a href="select.html">select,DataFrame,Column-method</a></code>, +<code><a href="select.html">select,DataFrame,list-method</a></code>, +<code><a href="selectExpr.html">selectExpr</a></code>; <code><a href="filter.html">filter</a></code>, +<code><a href="filter.html">filter</a></code>, <code><a href="filter.html">where</a></code>, +<code><a href="filter.html">where</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D # Columns can be selected using `[[` and `[` +##D df[[2]] == df[["age"]] +##D df[,2] == df[,"age"] +##D df[,c("name", "age")] +##D # Or to filter rows +##D df[df$age > 20,] +##D # DataFrame can be subset on both rows and Columns +##D df[df$name == "Smith", c(1,2)] +##D df[df$age %in% c(19, 30), 1:2] +##D subset(df, df$age %in% c(19, 30), 1:2) +##D subset(df, df$age %in% c(19), select = c(1,2)) +##D subset(df, select = c(1,2)) +## End(Not run) +</code></pre> + + +<hr><div align="center">[Package <em>SparkR</em> version 1.6.3 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/24d32b75/site/docs/1.6.3/api/R/substr.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/substr.html b/site/docs/1.6.3/api/R/substr.html new file mode 100644 index 0000000..78d15ce --- /dev/null +++ b/site/docs/1.6.3/api/R/substr.html @@ -0,0 +1,47 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: substr</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<link rel="stylesheet" type="text/css" href="R.css"> +</head><body> + +<table width="100%" summary="page for substr {SparkR}"><tr><td>substr {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>substr</h2> + +<h3>Description</h3> + +<p>An expression that returns a substring. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +substr(x, start, stop) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>start</code></td> +<td> +<p>starting position</p> +</td></tr> +<tr valign="top"><td><code>stop</code></td> +<td> +<p>ending position</p> +</td></tr> +</table> + + +<h3>See Also</h3> + +<p>Other colum_func: <code><a href="alias.html">alias</a></code>; +<code><a href="column.html">between</a></code>; <code><a href="column.html">cast</a></code>; +<code><a href="otherwise.html">otherwise</a></code> +</p> + +<hr><div align="center">[Package <em>SparkR</em> version 1.6.3 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/24d32b75/site/docs/1.6.3/api/R/substring_index.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/substring_index.html b/site/docs/1.6.3/api/R/substring_index.html new file mode 100644 index 0000000..3f2f580 --- /dev/null +++ b/site/docs/1.6.3/api/R/substring_index.html @@ -0,0 +1,78 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: substring_index</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 substring_index {SparkR}"><tr><td>substring_index {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>substring_index</h2> + +<h3>Description</h3> + +<p>Returns the substring from string str before count occurrences of the delimiter delim. +If count is positive, everything the left of the final delimiter (counting from left) is +returned. If count is negative, every to the right of the final delimiter (counting from the +right) is returned. substring_index performs a case-sensitive match when searching for delim. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column,character,numeric' +substring_index(x, delim, count) + +substring_index(x, delim, count) +</pre> + + +<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="base64.html">base64</a></code>, +<code><a href="base64.html">base64</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.html">concat</a></code>, +<code><a href="concat.html">concat</a></code>; <code><a href="decode.html">decode</a></code>, +<code><a href="decode.html">decode</a></code>; <code><a href="encode.html">encode</a></code>, +<code><a href="encode.html">encode</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_string.html">format_string</a></code>, +<code><a href="format_string.html">format_string</a></code>; <code><a href="initcap.html">initcap</a></code>, +<code><a href="initcap.html">initcap</a></code>; <code><a href="instr.html">instr</a></code>, +<code><a href="instr.html">instr</a></code>; <code><a href="length.html">length</a></code>; +<code><a href="levenshtein.html">levenshtein</a></code>, <code><a href="levenshtein.html">levenshtein</a></code>; +<code><a href="locate.html">locate</a></code>, <code><a href="locate.html">locate</a></code>; +<code><a href="lower.html">lower</a></code>, <code><a href="lower.html">lower</a></code>; +<code><a href="lpad.html">lpad</a></code>, <code><a href="lpad.html">lpad</a></code>; +<code><a href="ltrim.html">ltrim</a></code>, <code><a href="ltrim.html">ltrim</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_replace.html">regexp_replace</a></code>, +<code><a href="regexp_replace.html">regexp_replace</a></code>; <code><a href="reverse.html">reverse</a></code>, +<code><a href="reverse.html">reverse</a></code>; <code><a href="rpad.html">rpad</a></code>, +<code><a href="rpad.html">rpad</a></code>; <code><a href="rtrim.html">rtrim</a></code>, +<code><a href="rtrim.html">rtrim</a></code>; <code><a href="soundex.html">soundex</a></code>, +<code><a href="soundex.html">soundex</a></code>; <code><a href="translate.html">translate</a></code>, +<code><a href="translate.html">translate</a></code>; <code><a href="trim.html">trim</a></code>, +<code><a href="trim.html">trim</a></code>; <code><a href="unbase64.html">unbase64</a></code>, +<code><a href="unbase64.html">unbase64</a></code>; <code><a href="upper.html">upper</a></code>, +<code><a href="upper.html">upper</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D substring_index(df$c, '.', 2) +##D substring_index(df$c, '.', -1) +## End(Not run) +</code></pre> + + +<hr><div align="center">[Package <em>SparkR</em> version 1.6.3 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/24d32b75/site/docs/1.6.3/api/R/sum.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/sum.html b/site/docs/1.6.3/api/R/sum.html new file mode 100644 index 0000000..9d734ff --- /dev/null +++ b/site/docs/1.6.3/api/R/sum.html @@ -0,0 +1,65 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: sum</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 sum {SparkR}"><tr><td>sum {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>sum</h2> + +<h3>Description</h3> + +<p>Aggregate function: returns the sum of all values in the expression. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +sum(x) +</pre> + + +<h3>See Also</h3> + +<p>Other agg_funcs: <code><a href="summarize.html">agg</a></code>, +<code><a href="summarize.html">summarize</a></code>; +<code><a href="approxCountDistinct.html">approxCountDistinct</a></code>, +<code><a href="approxCountDistinct.html">approxCountDistinct</a></code>, +<code><a href="approxCountDistinct.html">approxCountDistinct</a></code>; <code><a href="avg.html">avg</a></code>, +<code><a href="avg.html">avg</a></code>; <code><a href="countDistinct.html">countDistinct</a></code>, +<code><a href="countDistinct.html">countDistinct</a></code>, <code><a href="countDistinct.html">n_distinct</a></code>, +<code><a href="countDistinct.html">n_distinct</a></code>; <code><a href="nrow.html">count</a></code>, +<code><a href="count.html">n</a></code>, <code><a href="count.html">n</a></code>; <code><a href="first.html">first</a></code>, +<code><a href="first.html">first</a></code>; <code><a href="kurtosis.html">kurtosis</a></code>, +<code><a href="kurtosis.html">kurtosis</a></code>; <code><a href="last.html">last</a></code>, +<code><a href="last.html">last</a></code>; <code><a href="max.html">max</a></code>; +<code><a href="mean.html">mean</a></code>; <code><a href="min.html">min</a></code>; <code><a href="sd.html">sd</a></code>, +<code><a href="sd.html">sd</a></code>, <code><a href="sd.html">stddev</a></code>, +<code><a href="sd.html">stddev</a></code>; <code><a href="skewness.html">skewness</a></code>, +<code><a href="skewness.html">skewness</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_samp.html">stddev_samp</a></code>, +<code><a href="stddev_samp.html">stddev_samp</a></code>; <code><a href="sumDistinct.html">sumDistinct</a></code>, +<code><a href="sumDistinct.html">sumDistinct</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_samp.html">var_samp</a></code>, +<code><a href="var_samp.html">var_samp</a></code>; <code><a href="var.html">var</a></code>, +<code><a href="var.html">var</a></code>, <code><a href="var.html">variance</a></code>, +<code><a href="var.html">variance</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: sum(df$c) +</code></pre> + + +<hr><div align="center">[Package <em>SparkR</em> version 1.6.3 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/24d32b75/site/docs/1.6.3/api/R/sumDistinct.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/sumDistinct.html b/site/docs/1.6.3/api/R/sumDistinct.html new file mode 100644 index 0000000..080e64b --- /dev/null +++ b/site/docs/1.6.3/api/R/sumDistinct.html @@ -0,0 +1,66 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: sumDistinct</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 sumDistinct {SparkR}"><tr><td>sumDistinct {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>sumDistinct</h2> + +<h3>Description</h3> + +<p>Aggregate function: returns the sum of distinct values in the expression. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +sumDistinct(x) + +sumDistinct(x) +</pre> + + +<h3>See Also</h3> + +<p>Other agg_funcs: <code><a href="summarize.html">agg</a></code>, +<code><a href="summarize.html">summarize</a></code>; +<code><a href="approxCountDistinct.html">approxCountDistinct</a></code>, +<code><a href="approxCountDistinct.html">approxCountDistinct</a></code>, +<code><a href="approxCountDistinct.html">approxCountDistinct</a></code>; <code><a href="avg.html">avg</a></code>, +<code><a href="avg.html">avg</a></code>; <code><a href="countDistinct.html">countDistinct</a></code>, +<code><a href="countDistinct.html">countDistinct</a></code>, <code><a href="countDistinct.html">n_distinct</a></code>, +<code><a href="countDistinct.html">n_distinct</a></code>; <code><a href="nrow.html">count</a></code>, +<code><a href="count.html">n</a></code>, <code><a href="count.html">n</a></code>; <code><a href="first.html">first</a></code>, +<code><a href="first.html">first</a></code>; <code><a href="kurtosis.html">kurtosis</a></code>, +<code><a href="kurtosis.html">kurtosis</a></code>; <code><a href="last.html">last</a></code>, +<code><a href="last.html">last</a></code>; <code><a href="max.html">max</a></code>; +<code><a href="mean.html">mean</a></code>; <code><a href="min.html">min</a></code>; <code><a href="sd.html">sd</a></code>, +<code><a href="sd.html">sd</a></code>, <code><a href="sd.html">stddev</a></code>, +<code><a href="sd.html">stddev</a></code>; <code><a href="skewness.html">skewness</a></code>, +<code><a href="skewness.html">skewness</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_samp.html">stddev_samp</a></code>, +<code><a href="stddev_samp.html">stddev_samp</a></code>; <code><a href="sum.html">sum</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_samp.html">var_samp</a></code>, <code><a href="var_samp.html">var_samp</a></code>; +<code><a href="var.html">var</a></code>, <code><a href="var.html">var</a></code>, +<code><a href="var.html">variance</a></code>, <code><a href="var.html">variance</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: sumDistinct(df$c) +</code></pre> + + +<hr><div align="center">[Package <em>SparkR</em> version 1.6.3 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/24d32b75/site/docs/1.6.3/api/R/summarize.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/summarize.html b/site/docs/1.6.3/api/R/summarize.html new file mode 100644 index 0000000..606c637 --- /dev/null +++ b/site/docs/1.6.3/api/R/summarize.html @@ -0,0 +1,94 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: summarize</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 agg {SparkR}"><tr><td>agg {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>summarize</h2> + +<h3>Description</h3> + +<p>Aggregates on the entire DataFrame without groups. +The resulting DataFrame will also contain the grouping columns. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'GroupedData' +agg(x, ...) + +## S4 method for signature 'GroupedData' +summarize(x, ...) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>a GroupedData</p> +</td></tr> +</table> + + +<h3>Details</h3> + +<p>df2 <- agg(df, <column> = <aggFunction>) +df2 <- agg(df, newColName = aggFunction(column)) +</p> + + +<h3>Value</h3> + +<p>a DataFrame +</p> + + +<h3>See Also</h3> + +<p>Other agg_funcs: <code><a href="approxCountDistinct.html">approxCountDistinct</a></code>, +<code><a href="approxCountDistinct.html">approxCountDistinct</a></code>, +<code><a href="approxCountDistinct.html">approxCountDistinct</a></code>; <code><a href="avg.html">avg</a></code>, +<code><a href="avg.html">avg</a></code>; <code><a href="countDistinct.html">countDistinct</a></code>, +<code><a href="countDistinct.html">countDistinct</a></code>, <code><a href="countDistinct.html">n_distinct</a></code>, +<code><a href="countDistinct.html">n_distinct</a></code>; <code><a href="nrow.html">count</a></code>, +<code><a href="count.html">n</a></code>, <code><a href="count.html">n</a></code>; <code><a href="first.html">first</a></code>, +<code><a href="first.html">first</a></code>; <code><a href="kurtosis.html">kurtosis</a></code>, +<code><a href="kurtosis.html">kurtosis</a></code>; <code><a href="last.html">last</a></code>, +<code><a href="last.html">last</a></code>; <code><a href="max.html">max</a></code>; +<code><a href="mean.html">mean</a></code>; <code><a href="min.html">min</a></code>; <code><a href="sd.html">sd</a></code>, +<code><a href="sd.html">sd</a></code>, <code><a href="sd.html">stddev</a></code>, +<code><a href="sd.html">stddev</a></code>; <code><a href="skewness.html">skewness</a></code>, +<code><a href="skewness.html">skewness</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_samp.html">stddev_samp</a></code>, +<code><a href="stddev_samp.html">stddev_samp</a></code>; <code><a href="sumDistinct.html">sumDistinct</a></code>, +<code><a href="sumDistinct.html">sumDistinct</a></code>; <code><a href="sum.html">sum</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_samp.html">var_samp</a></code>, <code><a href="var_samp.html">var_samp</a></code>; +<code><a href="var.html">var</a></code>, <code><a href="var.html">var</a></code>, +<code><a href="var.html">variance</a></code>, <code><a href="var.html">variance</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D df2 <- agg(df, age = "sum") # new column name will be created as 'SUM(age#0)' +##D df3 <- agg(df, ageSum = sum(df$age)) # Creates a new column named ageSum +##D df4 <- summarize(df, ageSum = max(df$age)) +## End(Not run) +</code></pre> + + +<hr><div align="center">[Package <em>SparkR</em> version 1.6.3 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/24d32b75/site/docs/1.6.3/api/R/summary.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/summary.html b/site/docs/1.6.3/api/R/summary.html new file mode 100644 index 0000000..096f654 --- /dev/null +++ b/site/docs/1.6.3/api/R/summary.html @@ -0,0 +1,179 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: summary</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 describe {SparkR}"><tr><td>describe {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>summary</h2> + +<h3>Description</h3> + +<p>Computes statistics for numeric columns. +If no columns are given, this function computes statistics for all numerical columns. +</p> +<p>Returns the summary of a model produced by glm(), similarly to R's summary(). +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame,character' +describe(x, col, ...) + +## S4 method for signature 'DataFrame,ANY' +describe(x) + +## S4 method for signature 'DataFrame' +summary(object, ...) + +describe(x, col, ...) + +summary(object, ...) + +## S4 method for signature 'PipelineModel' +summary(object, ...) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>A DataFrame to be computed.</p> +</td></tr> +<tr valign="top"><td><code>col</code></td> +<td> +<p>A string of name</p> +</td></tr> +<tr valign="top"><td><code>...</code></td> +<td> +<p>Additional expressions</p> +</td></tr> +<tr valign="top"><td><code>object</code></td> +<td> +<p>A fitted MLlib model</p> +</td></tr> +</table> + + +<h3>Value</h3> + +<p>A DataFrame +</p> +<p>a list with 'devianceResiduals' and 'coefficients' components for gaussian family +or a list with 'coefficients' component for binomial family. <br> +For gaussian family: the 'devianceResiduals' gives the min/max deviance residuals +of the estimation, the 'coefficients' gives the estimated coefficients and their +estimated standard errors, t values and p-values. (It only available when model +fitted by normal solver.) <br> +For binomial family: the 'coefficients' gives the estimated coefficients. +See summary.glm for more information. <br> +</p> + + +<h3>See Also</h3> + +<p>Other DataFrame functions: <code><a href="select.html">$</a></code>, +<code><a href="select.html">$<-</a></code>, <code><a href="select.html">select</a></code>, +<code><a href="select.html">select</a></code>, +<code><a href="select.html">select,DataFrame,Column-method</a></code>, +<code><a href="select.html">select,DataFrame,list-method</a></code>, +<code><a href="selectExpr.html">selectExpr</a></code>; <code><a href="DataFrame.html">DataFrame-class</a></code>, +<code><a href="DataFrame.html">dataFrame</a></code>, <code><a href="DataFrame.html">groupedData</a></code>; +<code><a href="subset.html">[</a></code>, <code><a href="subset.html">[</a></code>, <code><a href="subset.html">[[</a></code>, +<code><a href="subset.html">subset</a></code>; <code><a href="summarize.html">agg</a></code>, +<code><a href="summarize.html">agg</a></code>, +<code><a href="agg.html">count,GroupedData-method</a></code>, +<code><a href="summarize.html">summarize</a></code>, <code><a href="summarize.html">summarize</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">orderBy</a></code>, +<code><a href="arrange.html">orderBy</a></code>; <code><a href="as.data.frame.html">as.data.frame</a></code>, +<code><a href="as.data.frame.html">as.data.frame,DataFrame-method</a></code>; +<code><a href="attach.html">attach</a></code>, +<code><a href="attach.html">attach,DataFrame-method</a></code>; +<code><a href="cache.html">cache</a></code>; <code><a href="collect.html">collect</a></code>; +<code><a href="columns.html">colnames</a></code>, <code><a href="columns.html">colnames</a></code>, +<code><a href="columns.html">colnames<-</a></code>, <code><a href="columns.html">colnames<-</a></code>, +<code><a href="schema.html">columns</a></code>, <code><a href="columns.html">names</a></code>, +<code><a href="columns.html">names<-</a></code>; <code><a href="coltypes.html">coltypes</a></code>, +<code><a href="coltypes.html">coltypes</a></code>, <code><a href="coltypes.html">coltypes<-</a></code>, +<code><a href="coltypes.html">coltypes<-</a></code>; <code><a href="schema.html">columns</a></code>, +<code><a href="schema.html">dtypes</a></code>, <code><a href="schema.html">printSchema</a></code>, +<code><a href="schema.html">schema</a></code>, <code><a href="schema.html">schema</a></code>; +<code><a href="nrow.html">count</a></code>, <code><a href="nrow.html">nrow</a></code>; +<code><a href="dim.html">dim</a></code>; <code><a href="distinct.html">distinct</a></code>, +<code><a href="distinct.html">unique</a></code>; <code><a href="nafunctions.html">dropna</a></code>, +<code><a href="nafunctions.html">dropna</a></code>, <code><a href="nafunctions.html">fillna</a></code>, +<code><a href="nafunctions.html">fillna</a></code>, <code><a href="nafunctions.html">na.omit</a></code>, +<code><a href="nafunctions.html">na.omit</a></code>; <code><a href="schema.html">dtypes</a></code>; +<code><a href="except.html">except</a></code>, <code><a href="except.html">except</a></code>; +<code><a href="explain.html">explain</a></code>, <code><a href="explain.html">explain</a></code>; +<code><a href="filter.html">filter</a></code>, <code><a href="filter.html">filter</a></code>, +<code><a href="filter.html">where</a></code>, <code><a href="filter.html">where</a></code>; +<code><a href="first.html">first</a></code>, <code><a href="first.html">first</a></code>; +<code><a href="groupBy.html">groupBy</a></code>, <code><a href="groupBy.html">groupBy</a></code>, +<code><a href="groupBy.html">group_by</a></code>, <code><a href="groupBy.html">group_by</a></code>; +<code><a href="head.html">head</a></code>; <code><a href="insertInto.html">insertInto</a></code>, +<code><a href="insertInto.html">insertInto</a></code>; <code><a href="intersect.html">intersect</a></code>, +<code><a href="intersect.html">intersect</a></code>; <code><a href="isLocal.html">isLocal</a></code>, +<code><a href="isLocal.html">isLocal</a></code>; <code><a href="join.html">join</a></code>; +<code><a href="limit.html">limit</a></code>, <code><a href="limit.html">limit</a></code>; +<code><a href="merge.html">merge</a></code>, <code><a href="merge.html">merge</a></code>; +<code><a href="mutate.html">mutate</a></code>, <code><a href="mutate.html">mutate</a></code>, +<code><a href="mutate.html">transform</a></code>, <code><a href="mutate.html">transform</a></code>; +<code><a href="ncol.html">ncol</a></code>; <code><a href="persist.html">persist</a></code>; +<code><a href="schema.html">printSchema</a></code>; <code><a href="rbind.html">rbind</a></code>, +<code><a href="rbind.html">rbind</a></code>, <code><a href="rbind.html">unionAll</a></code>, +<code><a href="rbind.html">unionAll</a></code>; <code><a href="registerTempTable.html">registerTempTable</a></code>, +<code><a href="registerTempTable.html">registerTempTable</a></code>; <code><a href="rename.html">rename</a></code>, +<code><a href="rename.html">rename</a></code>, <code><a href="rename.html">withColumnRenamed</a></code>, +<code><a href="rename.html">withColumnRenamed</a></code>; +<code><a href="repartition.html">repartition</a></code>; <code><a href="sample.html">sample</a></code>, +<code><a href="sample.html">sample</a></code>, <code><a href="sample.html">sample_frac</a></code>, +<code><a href="sample.html">sample_frac</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">write.parquet</a></code>, <code><a href="write.parquet.html">write.parquet</a></code>; +<code><a href="saveAsTable.html">saveAsTable</a></code>, <code><a href="saveAsTable.html">saveAsTable</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">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="selectExpr.html">selectExpr</a></code>; +<code><a href="showDF.html">showDF</a></code>, <code><a href="showDF.html">showDF</a></code>; +<code><a href="show.html">show</a></code>, <code><a href="show.html">show</a></code>, +<code><a href="show.html">show,GroupedData-method</a></code>; <code><a href="str.html">str</a></code>; +<code><a href="take.html">take</a></code>; <code><a href="unpersist-methods.html">unpersist</a></code>; +<code><a href="withColumn.html">withColumn</a></code>, <code><a href="withColumn.html">withColumn</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.text.html">write.text</a></code>, <code><a href="write.text.html">write.text</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D sc <- sparkR.init() +##D sqlContext <- sparkRSQL.init(sc) +##D path <- "path/to/file.json" +##D df <- read.json(sqlContext, path) +##D describe(df) +##D describe(df, "col1") +##D describe(df, "col1", "col2") +## End(Not run) +## Not run: +##D model <- glm(y ~ x, trainingData) +##D summary(model) +## End(Not run) +</code></pre> + + +<hr><div align="center">[Package <em>SparkR</em> version 1.6.3 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/24d32b75/site/docs/1.6.3/api/R/table.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/table.html b/site/docs/1.6.3/api/R/table.html new file mode 100644 index 0000000..10e65c3 --- /dev/null +++ b/site/docs/1.6.3/api/R/table.html @@ -0,0 +1,64 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: Create a DataFrame from a SparkSQL Table</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 table {SparkR}"><tr><td>table {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>Create a DataFrame from a SparkSQL Table</h2> + +<h3>Description</h3> + +<p>Returns the specified Table as a DataFrame. The Table must have already been registered +in the SQLContext. +</p> + + +<h3>Usage</h3> + +<pre> +table(sqlContext, tableName) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>sqlContext</code></td> +<td> +<p>SQLContext to use</p> +</td></tr> +<tr valign="top"><td><code>tableName</code></td> +<td> +<p>The SparkSQL Table to convert to a DataFrame.</p> +</td></tr> +</table> + + +<h3>Value</h3> + +<p>DataFrame +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D sc <- sparkR.init() +##D sqlContext <- sparkRSQL.init(sc) +##D path <- "path/to/file.json" +##D df <- read.json(sqlContext, path) +##D registerTempTable(df, "table") +##D new_df <- table(sqlContext, "table") +## End(Not run) +</code></pre> + + +<hr><div align="center">[Package <em>SparkR</em> version 1.6.3 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/24d32b75/site/docs/1.6.3/api/R/tableNames.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/tableNames.html b/site/docs/1.6.3/api/R/tableNames.html new file mode 100644 index 0000000..98ae10c --- /dev/null +++ b/site/docs/1.6.3/api/R/tableNames.html @@ -0,0 +1,60 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: Table Names</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 tableNames {SparkR}"><tr><td>tableNames {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>Table Names</h2> + +<h3>Description</h3> + +<p>Returns the names of tables in the given database as an array. +</p> + + +<h3>Usage</h3> + +<pre> +tableNames(sqlContext, databaseName = NULL) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>sqlContext</code></td> +<td> +<p>SQLContext to use</p> +</td></tr> +<tr valign="top"><td><code>databaseName</code></td> +<td> +<p>name of the database</p> +</td></tr> +</table> + + +<h3>Value</h3> + +<p>a list of table names +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D sc <- sparkR.init() +##D sqlContext <- sparkRSQL.init(sc) +##D tableNames(sqlContext, "hive") +## End(Not run) +</code></pre> + + +<hr><div align="center">[Package <em>SparkR</em> version 1.6.3 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/24d32b75/site/docs/1.6.3/api/R/tables.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/tables.html b/site/docs/1.6.3/api/R/tables.html new file mode 100644 index 0000000..03edd27 --- /dev/null +++ b/site/docs/1.6.3/api/R/tables.html @@ -0,0 +1,60 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: Tables</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 tables {SparkR}"><tr><td>tables {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>Tables</h2> + +<h3>Description</h3> + +<p>Returns a DataFrame containing names of tables in the given database. +</p> + + +<h3>Usage</h3> + +<pre> +tables(sqlContext, databaseName = NULL) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>sqlContext</code></td> +<td> +<p>SQLContext to use</p> +</td></tr> +<tr valign="top"><td><code>databaseName</code></td> +<td> +<p>name of the database</p> +</td></tr> +</table> + + +<h3>Value</h3> + +<p>a DataFrame +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D sc <- sparkR.init() +##D sqlContext <- sparkRSQL.init(sc) +##D tables(sqlContext, "hive") +## End(Not run) +</code></pre> + + +<hr><div align="center">[Package <em>SparkR</em> version 1.6.3 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/24d32b75/site/docs/1.6.3/api/R/take.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/take.html b/site/docs/1.6.3/api/R/take.html new file mode 100644 index 0000000..2f2bda8 --- /dev/null +++ b/site/docs/1.6.3/api/R/take.html @@ -0,0 +1,124 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: Take the first NUM rows of a DataFrame and return a the...</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 take {SparkR}"><tr><td>take {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>Take the first NUM rows of a DataFrame and return a the results as a data.frame</h2> + +<h3>Description</h3> + +<p>Take the first NUM rows of a DataFrame and return a the results as a data.frame +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame,numeric' +take(x, num) +</pre> + + +<h3>See Also</h3> + +<p>Other DataFrame functions: <code><a href="select.html">$</a></code>, +<code><a href="select.html">$<-</a></code>, <code><a href="select.html">select</a></code>, +<code><a href="select.html">select</a></code>, +<code><a href="select.html">select,DataFrame,Column-method</a></code>, +<code><a href="select.html">select,DataFrame,list-method</a></code>, +<code><a href="selectExpr.html">selectExpr</a></code>; <code><a href="DataFrame.html">DataFrame-class</a></code>, +<code><a href="DataFrame.html">dataFrame</a></code>, <code><a href="DataFrame.html">groupedData</a></code>; +<code><a href="subset.html">[</a></code>, <code><a href="subset.html">[</a></code>, <code><a href="subset.html">[[</a></code>, +<code><a href="subset.html">subset</a></code>; <code><a href="summarize.html">agg</a></code>, +<code><a href="summarize.html">agg</a></code>, +<code><a href="agg.html">count,GroupedData-method</a></code>, +<code><a href="summarize.html">summarize</a></code>, <code><a href="summarize.html">summarize</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">orderBy</a></code>, +<code><a href="arrange.html">orderBy</a></code>; <code><a href="as.data.frame.html">as.data.frame</a></code>, +<code><a href="as.data.frame.html">as.data.frame,DataFrame-method</a></code>; +<code><a href="attach.html">attach</a></code>, +<code><a href="attach.html">attach,DataFrame-method</a></code>; +<code><a href="cache.html">cache</a></code>; <code><a href="collect.html">collect</a></code>; +<code><a href="columns.html">colnames</a></code>, <code><a href="columns.html">colnames</a></code>, +<code><a href="columns.html">colnames<-</a></code>, <code><a href="columns.html">colnames<-</a></code>, +<code><a href="schema.html">columns</a></code>, <code><a href="columns.html">names</a></code>, +<code><a href="columns.html">names<-</a></code>; <code><a href="coltypes.html">coltypes</a></code>, +<code><a href="coltypes.html">coltypes</a></code>, <code><a href="coltypes.html">coltypes<-</a></code>, +<code><a href="coltypes.html">coltypes<-</a></code>; <code><a href="schema.html">columns</a></code>, +<code><a href="schema.html">dtypes</a></code>, <code><a href="schema.html">printSchema</a></code>, +<code><a href="schema.html">schema</a></code>, <code><a href="schema.html">schema</a></code>; +<code><a href="nrow.html">count</a></code>, <code><a href="nrow.html">nrow</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">summary</a></code>, +<code><a href="summary.html">summary</a></code>, +<code><a href="summary.html">summary,PipelineModel-method</a></code>; +<code><a href="dim.html">dim</a></code>; <code><a href="distinct.html">distinct</a></code>, +<code><a href="distinct.html">unique</a></code>; <code><a href="nafunctions.html">dropna</a></code>, +<code><a href="nafunctions.html">dropna</a></code>, <code><a href="nafunctions.html">fillna</a></code>, +<code><a href="nafunctions.html">fillna</a></code>, <code><a href="nafunctions.html">na.omit</a></code>, +<code><a href="nafunctions.html">na.omit</a></code>; <code><a href="schema.html">dtypes</a></code>; +<code><a href="except.html">except</a></code>, <code><a href="except.html">except</a></code>; +<code><a href="explain.html">explain</a></code>, <code><a href="explain.html">explain</a></code>; +<code><a href="filter.html">filter</a></code>, <code><a href="filter.html">filter</a></code>, +<code><a href="filter.html">where</a></code>, <code><a href="filter.html">where</a></code>; +<code><a href="first.html">first</a></code>, <code><a href="first.html">first</a></code>; +<code><a href="groupBy.html">groupBy</a></code>, <code><a href="groupBy.html">groupBy</a></code>, +<code><a href="groupBy.html">group_by</a></code>, <code><a href="groupBy.html">group_by</a></code>; +<code><a href="head.html">head</a></code>; <code><a href="insertInto.html">insertInto</a></code>, +<code><a href="insertInto.html">insertInto</a></code>; <code><a href="intersect.html">intersect</a></code>, +<code><a href="intersect.html">intersect</a></code>; <code><a href="isLocal.html">isLocal</a></code>, +<code><a href="isLocal.html">isLocal</a></code>; <code><a href="join.html">join</a></code>; +<code><a href="limit.html">limit</a></code>, <code><a href="limit.html">limit</a></code>; +<code><a href="merge.html">merge</a></code>, <code><a href="merge.html">merge</a></code>; +<code><a href="mutate.html">mutate</a></code>, <code><a href="mutate.html">mutate</a></code>, +<code><a href="mutate.html">transform</a></code>, <code><a href="mutate.html">transform</a></code>; +<code><a href="ncol.html">ncol</a></code>; <code><a href="persist.html">persist</a></code>; +<code><a href="schema.html">printSchema</a></code>; <code><a href="rbind.html">rbind</a></code>, +<code><a href="rbind.html">rbind</a></code>, <code><a href="rbind.html">unionAll</a></code>, +<code><a href="rbind.html">unionAll</a></code>; <code><a href="registerTempTable.html">registerTempTable</a></code>, +<code><a href="registerTempTable.html">registerTempTable</a></code>; <code><a href="rename.html">rename</a></code>, +<code><a href="rename.html">rename</a></code>, <code><a href="rename.html">withColumnRenamed</a></code>, +<code><a href="rename.html">withColumnRenamed</a></code>; +<code><a href="repartition.html">repartition</a></code>; <code><a href="sample.html">sample</a></code>, +<code><a href="sample.html">sample</a></code>, <code><a href="sample.html">sample_frac</a></code>, +<code><a href="sample.html">sample_frac</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">write.parquet</a></code>, <code><a href="write.parquet.html">write.parquet</a></code>; +<code><a href="saveAsTable.html">saveAsTable</a></code>, <code><a href="saveAsTable.html">saveAsTable</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">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="selectExpr.html">selectExpr</a></code>; +<code><a href="showDF.html">showDF</a></code>, <code><a href="showDF.html">showDF</a></code>; +<code><a href="show.html">show</a></code>, <code><a href="show.html">show</a></code>, +<code><a href="show.html">show,GroupedData-method</a></code>; <code><a href="str.html">str</a></code>; +<code><a href="unpersist-methods.html">unpersist</a></code>; <code><a href="withColumn.html">withColumn</a></code>, +<code><a href="withColumn.html">withColumn</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.text.html">write.text</a></code>, +<code><a href="write.text.html">write.text</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D sc <- sparkR.init() +##D sqlContext <- sparkRSQL.init(sc) +##D path <- "path/to/file.json" +##D df <- read.json(sqlContext, path) +##D take(df, 2) +## End(Not run) +</code></pre> + + +<hr><div align="center">[Package <em>SparkR</em> version 1.6.3 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/24d32b75/site/docs/1.6.3/api/R/tan.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/tan.html b/site/docs/1.6.3/api/R/tan.html new file mode 100644 index 0000000..9c42786 --- /dev/null +++ b/site/docs/1.6.3/api/R/tan.html @@ -0,0 +1,69 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: tan</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 tan {SparkR}"><tr><td>tan {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>tan</h2> + +<h3>Description</h3> + +<p>Computes the tangent of the given value. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +tan(x) +</pre> + + +<h3>See Also</h3> + +<p>Other math_funcs: <code><a href="acos.html">acos</a></code>; <code><a href="asin.html">asin</a></code>; +<code><a href="atan2.html">atan2</a></code>; <code><a href="atan.html">atan</a></code>; +<code><a href="bin.html">bin</a></code>, <code><a href="bin.html">bin</a></code>; <code><a href="cbrt.html">cbrt</a></code>, +<code><a href="cbrt.html">cbrt</a></code>; <code><a href="ceil.html">ceil</a></code>, +<code><a href="ceil.html">ceil</a></code>, <code><a href="ceil.html">ceiling</a></code>; +<code><a href="conv.html">conv</a></code>, <code><a href="conv.html">conv</a></code>; +<code><a href="statfunctions.html">corr</a></code>; <code><a href="cosh.html">cosh</a></code>; +<code><a href="cos.html">cos</a></code>; <code><a href="expm1.html">expm1</a></code>; +<code><a href="exp.html">exp</a></code>; <code><a href="factorial.html">factorial</a></code>; +<code><a href="floor.html">floor</a></code>; <code><a href="hex.html">hex</a></code>, +<code><a href="hex.html">hex</a></code>; <code><a href="hypot.html">hypot</a></code>, +<code><a href="hypot.html">hypot</a></code>; <code><a href="log10.html">log10</a></code>; +<code><a href="log1p.html">log1p</a></code>; <code><a href="log2.html">log2</a></code>; +<code><a href="log.html">log</a></code>; <code><a href="pmod.html">pmod</a></code>, +<code><a href="pmod.html">pmod</a></code>; <code><a href="rint.html">rint</a></code>, +<code><a href="rint.html">rint</a></code>; <code><a href="round.html">round</a></code>; +<code><a href="shiftLeft.html">shiftLeft</a></code>, <code><a href="shiftLeft.html">shiftLeft</a></code>; +<code><a href="shiftRightUnsigned.html">shiftRightUnsigned</a></code>, +<code><a href="shiftRightUnsigned.html">shiftRightUnsigned</a></code>; +<code><a href="shiftRight.html">shiftRight</a></code>, <code><a href="shiftRight.html">shiftRight</a></code>; +<code><a href="signum.html">sign</a></code>, <code><a href="signum.html">signum</a></code>, +<code><a href="signum.html">signum</a></code>; <code><a href="sinh.html">sinh</a></code>; +<code><a href="sin.html">sin</a></code>; <code><a href="sqrt.html">sqrt</a></code>; +<code><a href="tanh.html">tanh</a></code>; <code><a href="toDegrees.html">toDegrees</a></code>, +<code><a href="toDegrees.html">toDegrees</a></code>; <code><a href="toRadians.html">toRadians</a></code>, +<code><a href="toRadians.html">toRadians</a></code>; <code><a href="unhex.html">unhex</a></code>, +<code><a href="unhex.html">unhex</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: tan(df$c) +</code></pre> + + +<hr><div align="center">[Package <em>SparkR</em> version 1.6.3 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/24d32b75/site/docs/1.6.3/api/R/tanh.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/tanh.html b/site/docs/1.6.3/api/R/tanh.html new file mode 100644 index 0000000..ac6aea9 --- /dev/null +++ b/site/docs/1.6.3/api/R/tanh.html @@ -0,0 +1,68 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: tanh</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 tanh {SparkR}"><tr><td>tanh {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>tanh</h2> + +<h3>Description</h3> + +<p>Computes the hyperbolic tangent of the given value. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +tanh(x) +</pre> + + +<h3>See Also</h3> + +<p>Other math_funcs: <code><a href="acos.html">acos</a></code>; <code><a href="asin.html">asin</a></code>; +<code><a href="atan2.html">atan2</a></code>; <code><a href="atan.html">atan</a></code>; +<code><a href="bin.html">bin</a></code>, <code><a href="bin.html">bin</a></code>; <code><a href="cbrt.html">cbrt</a></code>, +<code><a href="cbrt.html">cbrt</a></code>; <code><a href="ceil.html">ceil</a></code>, +<code><a href="ceil.html">ceil</a></code>, <code><a href="ceil.html">ceiling</a></code>; +<code><a href="conv.html">conv</a></code>, <code><a href="conv.html">conv</a></code>; +<code><a href="statfunctions.html">corr</a></code>; <code><a href="cosh.html">cosh</a></code>; +<code><a href="cos.html">cos</a></code>; <code><a href="expm1.html">expm1</a></code>; +<code><a href="exp.html">exp</a></code>; <code><a href="factorial.html">factorial</a></code>; +<code><a href="floor.html">floor</a></code>; <code><a href="hex.html">hex</a></code>, +<code><a href="hex.html">hex</a></code>; <code><a href="hypot.html">hypot</a></code>, +<code><a href="hypot.html">hypot</a></code>; <code><a href="log10.html">log10</a></code>; +<code><a href="log1p.html">log1p</a></code>; <code><a href="log2.html">log2</a></code>; +<code><a href="log.html">log</a></code>; <code><a href="pmod.html">pmod</a></code>, +<code><a href="pmod.html">pmod</a></code>; <code><a href="rint.html">rint</a></code>, +<code><a href="rint.html">rint</a></code>; <code><a href="round.html">round</a></code>; +<code><a href="shiftLeft.html">shiftLeft</a></code>, <code><a href="shiftLeft.html">shiftLeft</a></code>; +<code><a href="shiftRightUnsigned.html">shiftRightUnsigned</a></code>, +<code><a href="shiftRightUnsigned.html">shiftRightUnsigned</a></code>; +<code><a href="shiftRight.html">shiftRight</a></code>, <code><a href="shiftRight.html">shiftRight</a></code>; +<code><a href="signum.html">sign</a></code>, <code><a href="signum.html">signum</a></code>, +<code><a href="signum.html">signum</a></code>; <code><a href="sinh.html">sinh</a></code>; +<code><a href="sin.html">sin</a></code>; <code><a href="sqrt.html">sqrt</a></code>; <code><a href="tan.html">tan</a></code>; +<code><a href="toDegrees.html">toDegrees</a></code>, <code><a href="toDegrees.html">toDegrees</a></code>; +<code><a href="toRadians.html">toRadians</a></code>, <code><a href="toRadians.html">toRadians</a></code>; +<code><a href="unhex.html">unhex</a></code>, <code><a href="unhex.html">unhex</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: tanh(df$c) +</code></pre> + + +<hr><div align="center">[Package <em>SparkR</em> version 1.6.3 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/24d32b75/site/docs/1.6.3/api/R/toDegrees.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/toDegrees.html b/site/docs/1.6.3/api/R/toDegrees.html new file mode 100644 index 0000000..332ba22 --- /dev/null +++ b/site/docs/1.6.3/api/R/toDegrees.html @@ -0,0 +1,70 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: toDegrees</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 toDegrees {SparkR}"><tr><td>toDegrees {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>toDegrees</h2> + +<h3>Description</h3> + +<p>Converts an angle measured in radians to an approximately equivalent angle measured in degrees. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +toDegrees(x) + +toDegrees(x) +</pre> + + +<h3>See Also</h3> + +<p>Other math_funcs: <code><a href="acos.html">acos</a></code>; <code><a href="asin.html">asin</a></code>; +<code><a href="atan2.html">atan2</a></code>; <code><a href="atan.html">atan</a></code>; +<code><a href="bin.html">bin</a></code>, <code><a href="bin.html">bin</a></code>; <code><a href="cbrt.html">cbrt</a></code>, +<code><a href="cbrt.html">cbrt</a></code>; <code><a href="ceil.html">ceil</a></code>, +<code><a href="ceil.html">ceil</a></code>, <code><a href="ceil.html">ceiling</a></code>; +<code><a href="conv.html">conv</a></code>, <code><a href="conv.html">conv</a></code>; +<code><a href="statfunctions.html">corr</a></code>; <code><a href="cosh.html">cosh</a></code>; +<code><a href="cos.html">cos</a></code>; <code><a href="expm1.html">expm1</a></code>; +<code><a href="exp.html">exp</a></code>; <code><a href="factorial.html">factorial</a></code>; +<code><a href="floor.html">floor</a></code>; <code><a href="hex.html">hex</a></code>, +<code><a href="hex.html">hex</a></code>; <code><a href="hypot.html">hypot</a></code>, +<code><a href="hypot.html">hypot</a></code>; <code><a href="log10.html">log10</a></code>; +<code><a href="log1p.html">log1p</a></code>; <code><a href="log2.html">log2</a></code>; +<code><a href="log.html">log</a></code>; <code><a href="pmod.html">pmod</a></code>, +<code><a href="pmod.html">pmod</a></code>; <code><a href="rint.html">rint</a></code>, +<code><a href="rint.html">rint</a></code>; <code><a href="round.html">round</a></code>; +<code><a href="shiftLeft.html">shiftLeft</a></code>, <code><a href="shiftLeft.html">shiftLeft</a></code>; +<code><a href="shiftRightUnsigned.html">shiftRightUnsigned</a></code>, +<code><a href="shiftRightUnsigned.html">shiftRightUnsigned</a></code>; +<code><a href="shiftRight.html">shiftRight</a></code>, <code><a href="shiftRight.html">shiftRight</a></code>; +<code><a href="signum.html">sign</a></code>, <code><a href="signum.html">signum</a></code>, +<code><a href="signum.html">signum</a></code>; <code><a href="sinh.html">sinh</a></code>; +<code><a href="sin.html">sin</a></code>; <code><a href="sqrt.html">sqrt</a></code>; +<code><a href="tanh.html">tanh</a></code>; <code><a href="tan.html">tan</a></code>; +<code><a href="toRadians.html">toRadians</a></code>, <code><a href="toRadians.html">toRadians</a></code>; +<code><a href="unhex.html">unhex</a></code>, <code><a href="unhex.html">unhex</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: toDegrees(df$c) +</code></pre> + + +<hr><div align="center">[Package <em>SparkR</em> version 1.6.3 <a href="00Index.html">Index</a>]</div> +</body></html> http://git-wip-us.apache.org/repos/asf/spark-website/blob/24d32b75/site/docs/1.6.3/api/R/toRadians.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/toRadians.html b/site/docs/1.6.3/api/R/toRadians.html new file mode 100644 index 0000000..b92a88e --- /dev/null +++ b/site/docs/1.6.3/api/R/toRadians.html @@ -0,0 +1,70 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: toRadians</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 toRadians {SparkR}"><tr><td>toRadians {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>toRadians</h2> + +<h3>Description</h3> + +<p>Converts an angle measured in degrees to an approximately equivalent angle measured in radians. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +toRadians(x) + +toRadians(x) +</pre> + + +<h3>See Also</h3> + +<p>Other math_funcs: <code><a href="acos.html">acos</a></code>; <code><a href="asin.html">asin</a></code>; +<code><a href="atan2.html">atan2</a></code>; <code><a href="atan.html">atan</a></code>; +<code><a href="bin.html">bin</a></code>, <code><a href="bin.html">bin</a></code>; <code><a href="cbrt.html">cbrt</a></code>, +<code><a href="cbrt.html">cbrt</a></code>; <code><a href="ceil.html">ceil</a></code>, +<code><a href="ceil.html">ceil</a></code>, <code><a href="ceil.html">ceiling</a></code>; +<code><a href="conv.html">conv</a></code>, <code><a href="conv.html">conv</a></code>; +<code><a href="statfunctions.html">corr</a></code>; <code><a href="cosh.html">cosh</a></code>; +<code><a href="cos.html">cos</a></code>; <code><a href="expm1.html">expm1</a></code>; +<code><a href="exp.html">exp</a></code>; <code><a href="factorial.html">factorial</a></code>; +<code><a href="floor.html">floor</a></code>; <code><a href="hex.html">hex</a></code>, +<code><a href="hex.html">hex</a></code>; <code><a href="hypot.html">hypot</a></code>, +<code><a href="hypot.html">hypot</a></code>; <code><a href="log10.html">log10</a></code>; +<code><a href="log1p.html">log1p</a></code>; <code><a href="log2.html">log2</a></code>; +<code><a href="log.html">log</a></code>; <code><a href="pmod.html">pmod</a></code>, +<code><a href="pmod.html">pmod</a></code>; <code><a href="rint.html">rint</a></code>, +<code><a href="rint.html">rint</a></code>; <code><a href="round.html">round</a></code>; +<code><a href="shiftLeft.html">shiftLeft</a></code>, <code><a href="shiftLeft.html">shiftLeft</a></code>; +<code><a href="shiftRightUnsigned.html">shiftRightUnsigned</a></code>, +<code><a href="shiftRightUnsigned.html">shiftRightUnsigned</a></code>; +<code><a href="shiftRight.html">shiftRight</a></code>, <code><a href="shiftRight.html">shiftRight</a></code>; +<code><a href="signum.html">sign</a></code>, <code><a href="signum.html">signum</a></code>, +<code><a href="signum.html">signum</a></code>; <code><a href="sinh.html">sinh</a></code>; +<code><a href="sin.html">sin</a></code>; <code><a href="sqrt.html">sqrt</a></code>; +<code><a href="tanh.html">tanh</a></code>; <code><a href="tan.html">tan</a></code>; +<code><a href="toDegrees.html">toDegrees</a></code>, <code><a href="toDegrees.html">toDegrees</a></code>; +<code><a href="unhex.html">unhex</a></code>, <code><a href="unhex.html">unhex</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: toRadians(df$c) +</code></pre> + + +<hr><div align="center">[Package <em>SparkR</em> version 1.6.3 <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