http://git-wip-us.apache.org/repos/asf/spark-website/blob/24d32b75/site/docs/1.6.3/api/R/shiftLeft.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/shiftLeft.html b/site/docs/1.6.3/api/R/shiftLeft.html new file mode 100644 index 0000000..fc7ffd9 --- /dev/null +++ b/site/docs/1.6.3/api/R/shiftLeft.html @@ -0,0 +1,71 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: shiftLeft</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 shiftLeft {SparkR}"><tr><td>shiftLeft {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>shiftLeft</h2> + +<h3>Description</h3> + +<p>Shift the the given value numBits left. If the given value is a long value, this function +will return a long value else it will return an integer value. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column,numeric' +shiftLeft(y, x) + +shiftLeft(y, 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="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="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: shiftLeft(df$c, 1) +</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/shiftRight.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/shiftRight.html b/site/docs/1.6.3/api/R/shiftRight.html new file mode 100644 index 0000000..1849cce --- /dev/null +++ b/site/docs/1.6.3/api/R/shiftRight.html @@ -0,0 +1,71 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: shiftRight</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 shiftRight {SparkR}"><tr><td>shiftRight {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>shiftRight</h2> + +<h3>Description</h3> + +<p>Shift the the given value numBits right. If the given value is a long value, it will return +a long value else it will return an integer value. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column,numeric' +shiftRight(y, x) + +shiftRight(y, 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="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="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: shiftRight(df$c, 1) +</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/shiftRightUnsigned.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/shiftRightUnsigned.html b/site/docs/1.6.3/api/R/shiftRightUnsigned.html new file mode 100644 index 0000000..63c7f8c --- /dev/null +++ b/site/docs/1.6.3/api/R/shiftRightUnsigned.html @@ -0,0 +1,70 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: shiftRightUnsigned</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 shiftRightUnsigned {SparkR}"><tr><td>shiftRightUnsigned {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>shiftRightUnsigned</h2> + +<h3>Description</h3> + +<p>Unsigned shift the the given value numBits right. If the given value is a long value, +it will return a long value else it will return an integer value. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column,numeric' +shiftRightUnsigned(y, x) + +shiftRightUnsigned(y, 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="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="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: shiftRightUnsigned(df$c, 1) +</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/show.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/show.html b/site/docs/1.6.3/api/R/show.html new file mode 100644 index 0000000..84e02dc --- /dev/null +++ b/site/docs/1.6.3/api/R/show.html @@ -0,0 +1,139 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: show</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 show {SparkR}"><tr><td>show {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>show</h2> + +<h3>Description</h3> + +<p>Print the DataFrame column names and types +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame' +show(object) + +## S4 method for signature 'Column' +show(object) + +## S4 method for signature 'GroupedData' +show(object) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>A SparkSQL 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="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 df +## 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/showDF.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/showDF.html b/site/docs/1.6.3/api/R/showDF.html new file mode 100644 index 0000000..7513dc4 --- /dev/null +++ b/site/docs/1.6.3/api/R/showDF.html @@ -0,0 +1,139 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: showDF</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 showDF {SparkR}"><tr><td>showDF {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>showDF</h2> + +<h3>Description</h3> + +<p>Print the first numRows rows of a DataFrame +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame' +showDF(x, numRows = 20, truncate = TRUE) + +showDF(x, ...) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>A SparkSQL DataFrame</p> +</td></tr> +<tr valign="top"><td><code>numRows</code></td> +<td> +<p>The number of rows to print. Defaults to 20.</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="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 showDF(df) +## 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/signum.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/signum.html b/site/docs/1.6.3/api/R/signum.html new file mode 100644 index 0000000..b6a0248 --- /dev/null +++ b/site/docs/1.6.3/api/R/signum.html @@ -0,0 +1,76 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: signum</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 signum {SparkR}"><tr><td>signum {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>signum</h2> + +<h3>Description</h3> + +<p>Computes the signum of the given value. +</p> +<p>Computes the signum of the given value. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +signum(x) + +## S4 method for signature 'Column' +sign(x) + +signum(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="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="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: signum(df$c) +## Not run: sign(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/sin.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/sin.html b/site/docs/1.6.3/api/R/sin.html new file mode 100644 index 0000000..26cf200 --- /dev/null +++ b/site/docs/1.6.3/api/R/sin.html @@ -0,0 +1,69 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: sin</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 sin {SparkR}"><tr><td>sin {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>sin</h2> + +<h3>Description</h3> + +<p>Computes the sine of the given value. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +sin(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="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="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: sin(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/sinh.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/sinh.html b/site/docs/1.6.3/api/R/sinh.html new file mode 100644 index 0000000..e7457e8 --- /dev/null +++ b/site/docs/1.6.3/api/R/sinh.html @@ -0,0 +1,69 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: sinh</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 sinh {SparkR}"><tr><td>sinh {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>sinh</h2> + +<h3>Description</h3> + +<p>Computes the hyperbolic sine of the given value. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +sinh(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="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="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: sinh(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/size.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/size.html b/site/docs/1.6.3/api/R/size.html new file mode 100644 index 0000000..8968b0f --- /dev/null +++ b/site/docs/1.6.3/api/R/size.html @@ -0,0 +1,48 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: size</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 size {SparkR}"><tr><td>size {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>size</h2> + +<h3>Description</h3> + +<p>Returns length of array or map. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +size(x) + +size(x) +</pre> + + +<h3>See Also</h3> + +<p>Other collection_funcs: <code><a href="array_contains.html">array_contains</a></code>, +<code><a href="array_contains.html">array_contains</a></code>; <code><a href="explode.html">explode</a></code>, +<code><a href="explode.html">explode</a></code>; <code><a href="sort_array.html">sort_array</a></code>, +<code><a href="sort_array.html">sort_array</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: size(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/skewness.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/skewness.html b/site/docs/1.6.3/api/R/skewness.html new file mode 100644 index 0000000..95f8faf --- /dev/null +++ b/site/docs/1.6.3/api/R/skewness.html @@ -0,0 +1,66 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: skewness</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 skewness {SparkR}"><tr><td>skewness {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>skewness</h2> + +<h3>Description</h3> + +<p>Aggregate function: returns the skewness of the values in a group. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +skewness(x) + +skewness(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="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: skewness(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/sort_array.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/sort_array.html b/site/docs/1.6.3/api/R/sort_array.html new file mode 100644 index 0000000..de47d59 --- /dev/null +++ b/site/docs/1.6.3/api/R/sort_array.html @@ -0,0 +1,68 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: sort_array</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 sort_array {SparkR}"><tr><td>sort_array {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>sort_array</h2> + +<h3>Description</h3> + +<p>Sorts the input array for the given column in ascending order, +according to the natural ordering of the array elements. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +sort_array(x, asc = TRUE) + +sort_array(x, asc = TRUE) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>A Column to sort</p> +</td></tr> +<tr valign="top"><td><code>asc</code></td> +<td> +<p>A logical flag indicating the sorting order. +TRUE, sorting is in ascending order. +FALSE, sorting is in descending order.</p> +</td></tr> +</table> + + +<h3>See Also</h3> + +<p>Other collection_funcs: <code><a href="array_contains.html">array_contains</a></code>, +<code><a href="array_contains.html">array_contains</a></code>; <code><a href="explode.html">explode</a></code>, +<code><a href="explode.html">explode</a></code>; <code><a href="size.html">size</a></code>, +<code><a href="size.html">size</a></code> +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D sort_array(df$c) +##D sort_array(df$c, FALSE) +## 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/soundex.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/soundex.html b/site/docs/1.6.3/api/R/soundex.html new file mode 100644 index 0000000..d2a35dc --- /dev/null +++ b/site/docs/1.6.3/api/R/soundex.html @@ -0,0 +1,72 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: soundex</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 soundex {SparkR}"><tr><td>soundex {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>soundex</h2> + +<h3>Description</h3> + +<p>Return the soundex code for the specified expression. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +soundex(x) + +soundex(x) +</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="substring_index.html">substring_index</a></code>, +<code><a href="substring_index.html">substring_index</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: soundex(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/sparkR.init.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/sparkR.init.html b/site/docs/1.6.3/api/R/sparkR.init.html new file mode 100644 index 0000000..d8c313d --- /dev/null +++ b/site/docs/1.6.3/api/R/sparkR.init.html @@ -0,0 +1,84 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: Initialize a new Spark Context.</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.init {SparkR}"><tr><td>sparkR.init {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>Initialize a new Spark Context.</h2> + +<h3>Description</h3> + +<p>This function initializes a new SparkContext. For details on how to initialize +and use SparkR, refer to SparkR programming guide at +<a href="http://spark.apache.org/docs/latest/sparkr.html#starting-up-sparkcontext-sqlcontext">http://spark.apache.org/docs/latest/sparkr.html#starting-up-sparkcontext-sqlcontext</a>. +</p> + + +<h3>Usage</h3> + +<pre> +sparkR.init(master = "", appName = "SparkR", + sparkHome = Sys.getenv("SPARK_HOME"), sparkEnvir = list(), + sparkExecutorEnv = list(), sparkJars = "", sparkPackages = "") +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>master</code></td> +<td> +<p>The Spark master URL</p> +</td></tr> +<tr valign="top"><td><code>appName</code></td> +<td> +<p>Application name to register with cluster manager</p> +</td></tr> +<tr valign="top"><td><code>sparkHome</code></td> +<td> +<p>Spark Home directory</p> +</td></tr> +<tr valign="top"><td><code>sparkEnvir</code></td> +<td> +<p>Named list of environment variables to set on worker nodes</p> +</td></tr> +<tr valign="top"><td><code>sparkExecutorEnv</code></td> +<td> +<p>Named list of environment variables to be used when launching executors</p> +</td></tr> +<tr valign="top"><td><code>sparkJars</code></td> +<td> +<p>Character vector of jar files to pass to the worker nodes</p> +</td></tr> +<tr valign="top"><td><code>sparkPackages</code></td> +<td> +<p>Character vector of packages from spark-packages.org</p> +</td></tr> +</table> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D sc <- sparkR.init("local[2]", "SparkR", "/home/spark") +##D sc <- sparkR.init("local[2]", "SparkR", "/home/spark", +##D list(spark.executor.memory="1g")) +##D sc <- sparkR.init("yarn-client", "SparkR", "/home/spark", +##D list(spark.executor.memory="4g"), +##D list(LD_LIBRARY_PATH="/directory of JVM libraries (libjvm.so) on workers/"), +##D c("one.jar", "two.jar", "three.jar"), +##D c("com.databricks:spark-avro_2.10:2.0.1", +##D "com.databricks:spark-csv_2.10:1.3.0")) +## 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/sparkR.stop.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/sparkR.stop.html b/site/docs/1.6.3/api/R/sparkR.stop.html new file mode 100644 index 0000000..c84fd44 --- /dev/null +++ b/site/docs/1.6.3/api/R/sparkR.stop.html @@ -0,0 +1,24 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: Stop the Spark context.</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 sparkR.stop {SparkR}"><tr><td>sparkR.stop {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>Stop the Spark context.</h2> + +<h3>Description</h3> + +<p>Also terminates the backend this R session is connected to +</p> + + +<h3>Usage</h3> + +<pre> +sparkR.stop() +</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/sparkRHive.init.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/sparkRHive.init.html b/site/docs/1.6.3/api/R/sparkRHive.init.html new file mode 100644 index 0000000..c971cff --- /dev/null +++ b/site/docs/1.6.3/api/R/sparkRHive.init.html @@ -0,0 +1,49 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: Initialize a new HiveContext.</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 sparkRHive.init {SparkR}"><tr><td>sparkRHive.init {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>Initialize a new HiveContext.</h2> + +<h3>Description</h3> + +<p>This function creates a HiveContext from an existing JavaSparkContext +</p> + + +<h3>Usage</h3> + +<pre> +sparkRHive.init(jsc = NULL) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>jsc</code></td> +<td> +<p>The existing JavaSparkContext created with SparkR.init()</p> +</td></tr> +</table> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D sc <- sparkR.init() +##D sqlContext <- sparkRHive.init(sc) +## 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/sparkRSQL.init.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/sparkRSQL.init.html b/site/docs/1.6.3/api/R/sparkRSQL.init.html new file mode 100644 index 0000000..a457c47 --- /dev/null +++ b/site/docs/1.6.3/api/R/sparkRSQL.init.html @@ -0,0 +1,50 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: Initialize a new SQLContext.</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 sparkRSQL.init {SparkR}"><tr><td>sparkRSQL.init {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>Initialize a new SQLContext.</h2> + +<h3>Description</h3> + +<p>This function creates a SparkContext from an existing JavaSparkContext and +then uses it to initialize a new SQLContext +</p> + + +<h3>Usage</h3> + +<pre> +sparkRSQL.init(jsc = NULL) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>jsc</code></td> +<td> +<p>The existing JavaSparkContext created with SparkR.init()</p> +</td></tr> +</table> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D sc <- sparkR.init() +##D sqlContext <- sparkRSQL.init(sc) +## 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/sql.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/sql.html b/site/docs/1.6.3/api/R/sql.html new file mode 100644 index 0000000..7870b38 --- /dev/null +++ b/site/docs/1.6.3/api/R/sql.html @@ -0,0 +1,63 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: SQL Query</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 sql {SparkR}"><tr><td>sql {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>SQL Query</h2> + +<h3>Description</h3> + +<p>Executes a SQL query using Spark, returning the result as a DataFrame. +</p> + + +<h3>Usage</h3> + +<pre> +sql(sqlContext, sqlQuery) +</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>sqlQuery</code></td> +<td> +<p>A character vector containing the SQL query</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 <- sql(sqlContext, "SELECT * FROM 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/sqrt.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/sqrt.html b/site/docs/1.6.3/api/R/sqrt.html new file mode 100644 index 0000000..b93d900 --- /dev/null +++ b/site/docs/1.6.3/api/R/sqrt.html @@ -0,0 +1,68 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: sqrt</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 sqrt {SparkR}"><tr><td>sqrt {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>sqrt</h2> + +<h3>Description</h3> + +<p>Computes the square root of the specified float value. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +sqrt(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="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="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: sqrt(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/statfunctions.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/statfunctions.html b/site/docs/1.6.3/api/R/statfunctions.html new file mode 100644 index 0000000..a430785 --- /dev/null +++ b/site/docs/1.6.3/api/R/statfunctions.html @@ -0,0 +1,179 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: crosstab</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 cov {SparkR}"><tr><td>cov {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>crosstab</h2> + +<h3>Description</h3> + +<p>Computes a pair-wise frequency table of the given columns. Also known as a contingency +table. The number of distinct values for each column should be less than 1e4. At most 1e6 +non-zero pair frequencies will be returned. +</p> +<p>Calculate the sample covariance of two numerical columns of a DataFrame. +</p> +<p>Calculates the correlation of two columns of a DataFrame. +Currently only supports the Pearson Correlation Coefficient. +For Spearman Correlation, consider using RDD methods found in MLlib's Statistics. +</p> +<p>Finding frequent items for columns, possibly with false positives. +Using the frequent element count algorithm described in +<a href="http://dx.doi.org/10.1145/762471.762473">http://dx.doi.org/10.1145/762471.762473</a>, proposed by Karp, Schenker, and Papadimitriou. +</p> +<p>Returns a stratified sample without replacement based on the fraction given on each stratum. +</p> + + +<h3>Usage</h3> + +<pre> +cov(x, col1, col2) + +corr(x, ...) + +sampleBy(x, col, fractions, seed) + +## S4 method for signature 'DataFrame,character,character' +crosstab(x, col1, col2) + +## S4 method for signature 'DataFrame,character,character' +cov(x, col1, col2) + +## S4 method for signature 'DataFrame' +corr(x, col1, col2, method = "pearson") + +## S4 method for signature 'DataFrame,character' +freqItems(x, cols, support = 0.01) + +## S4 method for signature 'DataFrame,character,list,numeric' +sampleBy(x, col, fractions, seed) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>A SparkSQL DataFrame</p> +</td></tr> +<tr valign="top"><td><code>col1</code></td> +<td> +<p>name of the first column. Distinct items will make the first item of each row.</p> +</td></tr> +<tr valign="top"><td><code>col2</code></td> +<td> +<p>name of the second column. Distinct items will make the column names of the output.</p> +</td></tr> +<tr valign="top"><td><code>col</code></td> +<td> +<p>column that defines strata</p> +</td></tr> +<tr valign="top"><td><code>fractions</code></td> +<td> +<p>A named list giving sampling fraction for each stratum. If a stratum is +not specified, we treat its fraction as zero.</p> +</td></tr> +<tr valign="top"><td><code>seed</code></td> +<td> +<p>random seed</p> +</td></tr> +<tr valign="top"><td><code>method</code></td> +<td> +<p>Optional. A character specifying the method for calculating the correlation. +only "pearson" is allowed now.</p> +</td></tr> +<tr valign="top"><td><code>cols</code></td> +<td> +<p>A vector column names to search frequent items in.</p> +</td></tr> +<tr valign="top"><td><code>support</code></td> +<td> +<p>(Optional) The minimum frequency for an item to be considered 'frequent'. +Should be greater than 1e-4. Default support = 0.01.</p> +</td></tr> +<tr valign="top"><td><code>col1</code></td> +<td> +<p>the name of the first column</p> +</td></tr> +<tr valign="top"><td><code>col2</code></td> +<td> +<p>the name of the second column</p> +</td></tr> +<tr valign="top"><td><code>x</code></td> +<td> +<p>A SparkSQL DataFrame</p> +</td></tr> +<tr valign="top"><td><code>col1</code></td> +<td> +<p>the name of the first column</p> +</td></tr> +<tr valign="top"><td><code>col2</code></td> +<td> +<p>the name of the second column</p> +</td></tr> +<tr valign="top"><td><code>x</code></td> +<td> +<p>A SparkSQL DataFrame.</p> +</td></tr> +<tr valign="top"><td><code>x</code></td> +<td> +<p>A SparkSQL DataFrame</p> +</td></tr> +</table> + + +<h3>Value</h3> + +<p>a local R data.frame representing the contingency table. The first column of each row +will be the distinct values of 'col1' and the column names will be the distinct values +of 'col2'. The name of the first column will be '$col1_$col2'. Pairs that have no +occurrences will have zero as their counts. +</p> +<p>the covariance of the two columns. +</p> +<p>The Pearson Correlation Coefficient as a Double. +</p> +<p>a local R data.frame with the frequent items in each column +</p> +<p>A new DataFrame that represents the stratified sample +</p> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D df <- jsonFile(sqlContext, "/path/to/file.json") +##D ct <- crosstab(df, "title", "gender") +## End(Not run) +## Not run: +##D df <- jsonFile(sqlContext, "/path/to/file.json") +##D cov <- cov(df, "title", "gender") +## End(Not run) +## Not run: +##D df <- jsonFile(sqlContext, "/path/to/file.json") +##D corr <- corr(df, "title", "gender") +##D corr <- corr(df, "title", "gender", method = "pearson") +## End(Not run) +## Not run: +##D df <- jsonFile(sqlContext, "/path/to/file.json") +##D fi = freqItems(df, c("title", "gender")) +## End(Not run) +## Not run: +##D df <- jsonFile(sqlContext, "/path/to/file.json") +##D sample <- sampleBy(df, "key", fractions, 36) +## 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/stddev_pop.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/stddev_pop.html b/site/docs/1.6.3/api/R/stddev_pop.html new file mode 100644 index 0000000..bfbdabe --- /dev/null +++ b/site/docs/1.6.3/api/R/stddev_pop.html @@ -0,0 +1,68 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: stddev_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 stddev_pop {SparkR}"><tr><td>stddev_pop {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>stddev_pop</h2> + +<h3>Description</h3> + +<p>Aggregate function: returns the population standard deviation of the expression in a group. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +stddev_pop(x) + +stddev_pop(x) +</pre> + + +<h3>See Also</h3> + +<p><a href="sd.html">sd</a>, <a href="stddev_samp.html">stddev_samp</a> +</p> +<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_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: stddev_pop(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/stddev_samp.html ---------------------------------------------------------------------- diff --git a/site/docs/1.6.3/api/R/stddev_samp.html b/site/docs/1.6.3/api/R/stddev_samp.html new file mode 100644 index 0000000..3d1b418 --- /dev/null +++ b/site/docs/1.6.3/api/R/stddev_samp.html @@ -0,0 +1,68 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><title>R: stddev_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 stddev_samp {SparkR}"><tr><td>stddev_samp {SparkR}</td><td align="right">R Documentation</td></tr></table> + +<h2>stddev_samp</h2> + +<h3>Description</h3> + +<p>Aggregate function: returns the unbiased sample standard deviation of the expression in a group. +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'Column' +stddev_samp(x) + +stddev_samp(x) +</pre> + + +<h3>See Also</h3> + +<p><a href="stddev_pop.html">stddev_pop</a>, <a href="sd.html">sd</a> +</p> +<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="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: stddev_samp(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