spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject [39/51] [partial] spark-website git commit: Add docs for 2.1.0
Date Thu, 22 Dec 2016 23:12:14 GMT
http://git-wip-us.apache.org/repos/asf/spark-website/blob/066dfa27/site/docs/2.1.0/api/R/floor.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.0/api/R/floor.html b/site/docs/2.1.0/api/R/floor.html
new file mode 100644
index 0000000..2dfc290
--- /dev/null
+++ b/site/docs/2.1.0/api/R/floor.html
@@ -0,0 +1,120 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html><head><title>R: floor</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 floor {SparkR}"><tr><td>floor {SparkR}</td><td align="right">R Documentation</td></tr></table>
+
+<h2>floor</h2>
+
+<h3>Description</h3>
+
+<p>Computes the floor of the given value.
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+## S4 method for signature 'Column'
+floor(x)
+</pre>
+
+
+<h3>Arguments</h3>
+
+<table summary="R argblock">
+<tr valign="top"><td><code>x</code></td>
+<td>
+<p>Column to compute on.</p>
+</td></tr>
+</table>
+
+
+<h3>Note</h3>
+
+<p>floor since 1.5.0
+</p>
+
+
+<h3>See Also</h3>
+
+<p>Other math_funcs: <code><a href="acos.html">acos</a></code>,
+<code><a href="acos.html">acos,Column-method</a></code>; <code><a href="asin.html">asin</a></code>,
+<code><a href="asin.html">asin,Column-method</a></code>; <code><a href="atan2.html">atan2</a></code>,
+<code><a href="atan2.html">atan2,Column-method</a></code>; <code><a href="atan.html">atan</a></code>,
+<code><a href="atan.html">atan,Column-method</a></code>; <code><a href="bin.html">bin</a></code>,
+<code><a href="bin.html">bin</a></code>, <code><a href="bin.html">bin,Column-method</a></code>;
+<code><a href="bround.html">bround</a></code>, <code><a href="bround.html">bround</a></code>,
+<code><a href="bround.html">bround,Column-method</a></code>; <code><a href="cbrt.html">cbrt</a></code>,
+<code><a href="cbrt.html">cbrt</a></code>, <code><a href="cbrt.html">cbrt,Column-method</a></code>;
+<code><a href="ceil.html">ceil</a></code>, <code><a href="ceil.html">ceil</a></code>,
+<code><a href="ceil.html">ceil,Column-method</a></code>, <code><a href="ceil.html">ceiling</a></code>,
+<code><a href="ceil.html">ceiling,Column-method</a></code>; <code><a href="conv.html">conv</a></code>,
+<code><a href="conv.html">conv</a></code>,
+<code><a href="conv.html">conv,Column,numeric,numeric-method</a></code>;
+<code><a href="corr.html">corr</a></code>, <code><a href="corr.html">corr</a></code>,
+<code><a href="corr.html">corr</a></code>, <code><a href="corr.html">corr,Column-method</a></code>,
+<code><a href="corr.html">corr,SparkDataFrame-method</a></code>;
+<code><a href="cosh.html">cosh</a></code>, <code><a href="cosh.html">cosh,Column-method</a></code>;
+<code><a href="cos.html">cos</a></code>, <code><a href="cos.html">cos,Column-method</a></code>;
+<code><a href="covar_pop.html">covar_pop</a></code>, <code><a href="covar_pop.html">covar_pop</a></code>,
+<code><a href="covar_pop.html">covar_pop,characterOrColumn,characterOrColumn-method</a></code>;
+<code><a href="cov.html">cov</a></code>, <code><a href="cov.html">cov</a></code>, <code><a href="cov.html">cov</a></code>,
+<code><a href="cov.html">cov,SparkDataFrame-method</a></code>,
+<code><a href="cov.html">cov,characterOrColumn-method</a></code>,
+<code><a href="cov.html">covar_samp</a></code>, <code><a href="cov.html">covar_samp</a></code>,
+<code><a href="cov.html">covar_samp,characterOrColumn,characterOrColumn-method</a></code>;
+<code><a href="expm1.html">expm1</a></code>, <code><a href="expm1.html">expm1,Column-method</a></code>;
+<code><a href="exp.html">exp</a></code>, <code><a href="exp.html">exp,Column-method</a></code>;
+<code><a href="factorial.html">factorial</a></code>,
+<code><a href="factorial.html">factorial,Column-method</a></code>; <code><a href="hex.html">hex</a></code>,
+<code><a href="hex.html">hex</a></code>, <code><a href="hex.html">hex,Column-method</a></code>;
+<code><a href="hypot.html">hypot</a></code>, <code><a href="hypot.html">hypot</a></code>,
+<code><a href="hypot.html">hypot,Column-method</a></code>; <code><a href="log10.html">log10</a></code>,
+<code><a href="log10.html">log10,Column-method</a></code>; <code><a href="log1p.html">log1p</a></code>,
+<code><a href="log1p.html">log1p,Column-method</a></code>; <code><a href="log2.html">log2</a></code>,
+<code><a href="log2.html">log2,Column-method</a></code>; <code><a href="log.html">log</a></code>,
+<code><a href="log.html">log,Column-method</a></code>; <code><a href="pmod.html">pmod</a></code>,
+<code><a href="pmod.html">pmod</a></code>, <code><a href="pmod.html">pmod,Column-method</a></code>;
+<code><a href="rint.html">rint</a></code>, <code><a href="rint.html">rint</a></code>,
+<code><a href="rint.html">rint,Column-method</a></code>; <code><a href="round.html">round</a></code>,
+<code><a href="round.html">round,Column-method</a></code>;
+<code><a href="shiftLeft.html">shiftLeft</a></code>, <code><a href="shiftLeft.html">shiftLeft</a></code>,
+<code><a href="shiftLeft.html">shiftLeft,Column,numeric-method</a></code>;
+<code><a href="shiftRightUnsigned.html">shiftRightUnsigned</a></code>,
+<code><a href="shiftRightUnsigned.html">shiftRightUnsigned</a></code>,
+<code><a href="shiftRightUnsigned.html">shiftRightUnsigned,Column,numeric-method</a></code>;
+<code><a href="shiftRight.html">shiftRight</a></code>, <code><a href="shiftRight.html">shiftRight</a></code>,
+<code><a href="shiftRight.html">shiftRight,Column,numeric-method</a></code>;
+<code><a href="sign.html">sign</a></code>, <code><a href="sign.html">sign,Column-method</a></code>,
+<code><a href="sign.html">signum</a></code>, <code><a href="sign.html">signum</a></code>,
+<code><a href="sign.html">signum,Column-method</a></code>; <code><a href="sinh.html">sinh</a></code>,
+<code><a href="sinh.html">sinh,Column-method</a></code>; <code><a href="sin.html">sin</a></code>,
+<code><a href="sin.html">sin,Column-method</a></code>; <code><a href="sqrt.html">sqrt</a></code>,
+<code><a href="sqrt.html">sqrt,Column-method</a></code>; <code><a href="tanh.html">tanh</a></code>,
+<code><a href="tanh.html">tanh,Column-method</a></code>; <code><a href="tan.html">tan</a></code>,
+<code><a href="tan.html">tan,Column-method</a></code>; <code><a href="toDegrees.html">toDegrees</a></code>,
+<code><a href="toDegrees.html">toDegrees</a></code>,
+<code><a href="toDegrees.html">toDegrees,Column-method</a></code>;
+<code><a href="toRadians.html">toRadians</a></code>, <code><a href="toRadians.html">toRadians</a></code>,
+<code><a href="toRadians.html">toRadians,Column-method</a></code>;
+<code><a href="unhex.html">unhex</a></code>, <code><a href="unhex.html">unhex</a></code>,
+<code><a href="unhex.html">unhex,Column-method</a></code>
+</p>
+
+
+<h3>Examples</h3>
+
+<pre><code class="r">## Not run: floor(df$c)
+</code></pre>
+
+
+<hr><div align="center">[Package <em>SparkR</em> version 2.1.0 <a href="00Index.html">Index</a>]</div>
+</body></html>

http://git-wip-us.apache.org/repos/asf/spark-website/blob/066dfa27/site/docs/2.1.0/api/R/format_number.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.0/api/R/format_number.html b/site/docs/2.1.0/api/R/format_number.html
new file mode 100644
index 0000000..79a69bc
--- /dev/null
+++ b/site/docs/2.1.0/api/R/format_number.html
@@ -0,0 +1,126 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html><head><title>R: format_number</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 format_number {SparkR}"><tr><td>format_number {SparkR}</td><td align="right">R Documentation</td></tr></table>
+
+<h2>format_number</h2>
+
+<h3>Description</h3>
+
+<p>Formats numeric column y to a format like '#,###,###.##', rounded to x decimal places,
+and returns the result as a string column.
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+## S4 method for signature 'Column,numeric'
+format_number(y, x)
+
+format_number(y, x)
+</pre>
+
+
+<h3>Arguments</h3>
+
+<table summary="R argblock">
+<tr valign="top"><td><code>y</code></td>
+<td>
+<p>column to format</p>
+</td></tr>
+<tr valign="top"><td><code>x</code></td>
+<td>
+<p>number of decimal place to format to</p>
+</td></tr>
+</table>
+
+
+<h3>Details</h3>
+
+<p>If x is 0, the result has no decimal point or fractional part.
+If x &lt; 0, the result will be null.
+</p>
+
+
+<h3>Note</h3>
+
+<p>format_number since 1.5.0
+</p>
+
+
+<h3>See Also</h3>
+
+<p>Other string_funcs: <code><a href="ascii.html">ascii</a></code>,
+<code><a href="ascii.html">ascii</a></code>, <code><a href="ascii.html">ascii,Column-method</a></code>;
+<code><a href="base64.html">base64</a></code>, <code><a href="base64.html">base64</a></code>,
+<code><a href="base64.html">base64,Column-method</a></code>;
+<code><a href="concat_ws.html">concat_ws</a></code>, <code><a href="concat_ws.html">concat_ws</a></code>,
+<code><a href="concat_ws.html">concat_ws,character,Column-method</a></code>;
+<code><a href="concat.html">concat</a></code>, <code><a href="concat.html">concat</a></code>,
+<code><a href="concat.html">concat,Column-method</a></code>; <code><a href="decode.html">decode</a></code>,
+<code><a href="decode.html">decode</a></code>,
+<code><a href="decode.html">decode,Column,character-method</a></code>;
+<code><a href="encode.html">encode</a></code>, <code><a href="encode.html">encode</a></code>,
+<code><a href="encode.html">encode,Column,character-method</a></code>;
+<code><a href="format_string.html">format_string</a></code>, <code><a href="format_string.html">format_string</a></code>,
+<code><a href="format_string.html">format_string,character,Column-method</a></code>;
+<code><a href="initcap.html">initcap</a></code>, <code><a href="initcap.html">initcap</a></code>,
+<code><a href="initcap.html">initcap,Column-method</a></code>; <code><a href="instr.html">instr</a></code>,
+<code><a href="instr.html">instr</a></code>,
+<code><a href="instr.html">instr,Column,character-method</a></code>;
+<code><a href="length.html">length</a></code>, <code><a href="length.html">length,Column-method</a></code>;
+<code><a href="levenshtein.html">levenshtein</a></code>, <code><a href="levenshtein.html">levenshtein</a></code>,
+<code><a href="levenshtein.html">levenshtein,Column-method</a></code>;
+<code><a href="locate.html">locate</a></code>, <code><a href="locate.html">locate</a></code>,
+<code><a href="locate.html">locate,character,Column-method</a></code>;
+<code><a href="lower.html">lower</a></code>, <code><a href="lower.html">lower</a></code>,
+<code><a href="lower.html">lower,Column-method</a></code>; <code><a href="lpad.html">lpad</a></code>,
+<code><a href="lpad.html">lpad</a></code>,
+<code><a href="lpad.html">lpad,Column,numeric,character-method</a></code>;
+<code><a href="ltrim.html">ltrim</a></code>, <code><a href="ltrim.html">ltrim</a></code>,
+<code><a href="ltrim.html">ltrim,Column-method</a></code>;
+<code><a href="regexp_extract.html">regexp_extract</a></code>,
+<code><a href="regexp_extract.html">regexp_extract</a></code>,
+<code><a href="regexp_extract.html">regexp_extract,Column,character,numeric-method</a></code>;
+<code><a href="regexp_replace.html">regexp_replace</a></code>,
+<code><a href="regexp_replace.html">regexp_replace</a></code>,
+<code><a href="regexp_replace.html">regexp_replace,Column,character,character-method</a></code>;
+<code><a href="reverse.html">reverse</a></code>, <code><a href="reverse.html">reverse</a></code>,
+<code><a href="reverse.html">reverse,Column-method</a></code>; <code><a href="rpad.html">rpad</a></code>,
+<code><a href="rpad.html">rpad</a></code>,
+<code><a href="rpad.html">rpad,Column,numeric,character-method</a></code>;
+<code><a href="rtrim.html">rtrim</a></code>, <code><a href="rtrim.html">rtrim</a></code>,
+<code><a href="rtrim.html">rtrim,Column-method</a></code>; <code><a href="soundex.html">soundex</a></code>,
+<code><a href="soundex.html">soundex</a></code>,
+<code><a href="soundex.html">soundex,Column-method</a></code>;
+<code><a href="substring_index.html">substring_index</a></code>,
+<code><a href="substring_index.html">substring_index</a></code>,
+<code><a href="substring_index.html">substring_index,Column,character,numeric-method</a></code>;
+<code><a href="translate.html">translate</a></code>, <code><a href="translate.html">translate</a></code>,
+<code><a href="translate.html">translate,Column,character,character-method</a></code>;
+<code><a href="trim.html">trim</a></code>, <code><a href="trim.html">trim</a></code>,
+<code><a href="trim.html">trim,Column-method</a></code>; <code><a href="unbase64.html">unbase64</a></code>,
+<code><a href="unbase64.html">unbase64</a></code>,
+<code><a href="unbase64.html">unbase64,Column-method</a></code>;
+<code><a href="upper.html">upper</a></code>, <code><a href="upper.html">upper</a></code>,
+<code><a href="upper.html">upper,Column-method</a></code>
+</p>
+
+
+<h3>Examples</h3>
+
+<pre><code class="r">## Not run: format_number(df$n, 4)
+</code></pre>
+
+
+<hr><div align="center">[Package <em>SparkR</em> version 2.1.0 <a href="00Index.html">Index</a>]</div>
+</body></html>

http://git-wip-us.apache.org/repos/asf/spark-website/blob/066dfa27/site/docs/2.1.0/api/R/format_string.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.0/api/R/format_string.html b/site/docs/2.1.0/api/R/format_string.html
new file mode 100644
index 0000000..c1b2d91
--- /dev/null
+++ b/site/docs/2.1.0/api/R/format_string.html
@@ -0,0 +1,122 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html><head><title>R: format_string</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 format_string {SparkR}"><tr><td>format_string {SparkR}</td><td align="right">R Documentation</td></tr></table>
+
+<h2>format_string</h2>
+
+<h3>Description</h3>
+
+<p>Formats the arguments in printf-style and returns the result as a string column.
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+## S4 method for signature 'character,Column'
+format_string(format, x, ...)
+
+format_string(format, x, ...)
+</pre>
+
+
+<h3>Arguments</h3>
+
+<table summary="R argblock">
+<tr valign="top"><td><code>format</code></td>
+<td>
+<p>a character object of format strings.</p>
+</td></tr>
+<tr valign="top"><td><code>x</code></td>
+<td>
+<p>a Column.</p>
+</td></tr>
+<tr valign="top"><td><code>...</code></td>
+<td>
+<p>additional Column(s).</p>
+</td></tr>
+</table>
+
+
+<h3>Note</h3>
+
+<p>format_string since 1.5.0
+</p>
+
+
+<h3>See Also</h3>
+
+<p>Other string_funcs: <code><a href="ascii.html">ascii</a></code>,
+<code><a href="ascii.html">ascii</a></code>, <code><a href="ascii.html">ascii,Column-method</a></code>;
+<code><a href="base64.html">base64</a></code>, <code><a href="base64.html">base64</a></code>,
+<code><a href="base64.html">base64,Column-method</a></code>;
+<code><a href="concat_ws.html">concat_ws</a></code>, <code><a href="concat_ws.html">concat_ws</a></code>,
+<code><a href="concat_ws.html">concat_ws,character,Column-method</a></code>;
+<code><a href="concat.html">concat</a></code>, <code><a href="concat.html">concat</a></code>,
+<code><a href="concat.html">concat,Column-method</a></code>; <code><a href="decode.html">decode</a></code>,
+<code><a href="decode.html">decode</a></code>,
+<code><a href="decode.html">decode,Column,character-method</a></code>;
+<code><a href="encode.html">encode</a></code>, <code><a href="encode.html">encode</a></code>,
+<code><a href="encode.html">encode,Column,character-method</a></code>;
+<code><a href="format_number.html">format_number</a></code>, <code><a href="format_number.html">format_number</a></code>,
+<code><a href="format_number.html">format_number,Column,numeric-method</a></code>;
+<code><a href="initcap.html">initcap</a></code>, <code><a href="initcap.html">initcap</a></code>,
+<code><a href="initcap.html">initcap,Column-method</a></code>; <code><a href="instr.html">instr</a></code>,
+<code><a href="instr.html">instr</a></code>,
+<code><a href="instr.html">instr,Column,character-method</a></code>;
+<code><a href="length.html">length</a></code>, <code><a href="length.html">length,Column-method</a></code>;
+<code><a href="levenshtein.html">levenshtein</a></code>, <code><a href="levenshtein.html">levenshtein</a></code>,
+<code><a href="levenshtein.html">levenshtein,Column-method</a></code>;
+<code><a href="locate.html">locate</a></code>, <code><a href="locate.html">locate</a></code>,
+<code><a href="locate.html">locate,character,Column-method</a></code>;
+<code><a href="lower.html">lower</a></code>, <code><a href="lower.html">lower</a></code>,
+<code><a href="lower.html">lower,Column-method</a></code>; <code><a href="lpad.html">lpad</a></code>,
+<code><a href="lpad.html">lpad</a></code>,
+<code><a href="lpad.html">lpad,Column,numeric,character-method</a></code>;
+<code><a href="ltrim.html">ltrim</a></code>, <code><a href="ltrim.html">ltrim</a></code>,
+<code><a href="ltrim.html">ltrim,Column-method</a></code>;
+<code><a href="regexp_extract.html">regexp_extract</a></code>,
+<code><a href="regexp_extract.html">regexp_extract</a></code>,
+<code><a href="regexp_extract.html">regexp_extract,Column,character,numeric-method</a></code>;
+<code><a href="regexp_replace.html">regexp_replace</a></code>,
+<code><a href="regexp_replace.html">regexp_replace</a></code>,
+<code><a href="regexp_replace.html">regexp_replace,Column,character,character-method</a></code>;
+<code><a href="reverse.html">reverse</a></code>, <code><a href="reverse.html">reverse</a></code>,
+<code><a href="reverse.html">reverse,Column-method</a></code>; <code><a href="rpad.html">rpad</a></code>,
+<code><a href="rpad.html">rpad</a></code>,
+<code><a href="rpad.html">rpad,Column,numeric,character-method</a></code>;
+<code><a href="rtrim.html">rtrim</a></code>, <code><a href="rtrim.html">rtrim</a></code>,
+<code><a href="rtrim.html">rtrim,Column-method</a></code>; <code><a href="soundex.html">soundex</a></code>,
+<code><a href="soundex.html">soundex</a></code>,
+<code><a href="soundex.html">soundex,Column-method</a></code>;
+<code><a href="substring_index.html">substring_index</a></code>,
+<code><a href="substring_index.html">substring_index</a></code>,
+<code><a href="substring_index.html">substring_index,Column,character,numeric-method</a></code>;
+<code><a href="translate.html">translate</a></code>, <code><a href="translate.html">translate</a></code>,
+<code><a href="translate.html">translate,Column,character,character-method</a></code>;
+<code><a href="trim.html">trim</a></code>, <code><a href="trim.html">trim</a></code>,
+<code><a href="trim.html">trim,Column-method</a></code>; <code><a href="unbase64.html">unbase64</a></code>,
+<code><a href="unbase64.html">unbase64</a></code>,
+<code><a href="unbase64.html">unbase64,Column-method</a></code>;
+<code><a href="upper.html">upper</a></code>, <code><a href="upper.html">upper</a></code>,
+<code><a href="upper.html">upper,Column-method</a></code>
+</p>
+
+
+<h3>Examples</h3>
+
+<pre><code class="r">## Not run: format_string(&#39;%d %s&#39;, df$a, df$b)
+</code></pre>
+
+
+<hr><div align="center">[Package <em>SparkR</em> version 2.1.0 <a href="00Index.html">Index</a>]</div>
+</body></html>

http://git-wip-us.apache.org/repos/asf/spark-website/blob/066dfa27/site/docs/2.1.0/api/R/freqItems.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.0/api/R/freqItems.html b/site/docs/2.1.0/api/R/freqItems.html
new file mode 100644
index 0000000..2177325
--- /dev/null
+++ b/site/docs/2.1.0/api/R/freqItems.html
@@ -0,0 +1,92 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html><head><title>R: Finding frequent items for columns, possibly with false...</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 freqItems {SparkR}"><tr><td>freqItems {SparkR}</td><td align="right">R Documentation</td></tr></table>
+
+<h2>Finding frequent items for columns, possibly with false positives</h2>
+
+<h3>Description</h3>
+
+<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>
+
+
+<h3>Usage</h3>
+
+<pre>
+## S4 method for signature 'SparkDataFrame,character'
+freqItems(x, cols, support = 0.01)
+</pre>
+
+
+<h3>Arguments</h3>
+
+<table summary="R argblock">
+<tr valign="top"><td><code>x</code></td>
+<td>
+<p>A SparkDataFrame.</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 <code>frequent</code>.
+Should be greater than 1e-4. Default support = 0.01.</p>
+</td></tr>
+</table>
+
+
+<h3>Value</h3>
+
+<p>a local R data.frame with the frequent items in each column
+</p>
+
+
+<h3>Note</h3>
+
+<p>freqItems since 1.6.0
+</p>
+
+
+<h3>See Also</h3>
+
+<p>Other stat functions: <code><a href="approxQuantile.html">approxQuantile</a></code>,
+<code><a href="approxQuantile.html">approxQuantile,SparkDataFrame,character,numeric,numeric-method</a></code>;
+<code><a href="corr.html">corr</a></code>, <code><a href="corr.html">corr</a></code>,
+<code><a href="corr.html">corr</a></code>, <code><a href="corr.html">corr,Column-method</a></code>,
+<code><a href="corr.html">corr,SparkDataFrame-method</a></code>;
+<code><a href="cov.html">cov</a></code>, <code><a href="cov.html">cov</a></code>, <code><a href="cov.html">cov</a></code>,
+<code><a href="cov.html">cov,SparkDataFrame-method</a></code>,
+<code><a href="cov.html">cov,characterOrColumn-method</a></code>,
+<code><a href="cov.html">covar_samp</a></code>, <code><a href="cov.html">covar_samp</a></code>,
+<code><a href="cov.html">covar_samp,characterOrColumn,characterOrColumn-method</a></code>;
+<code><a href="crosstab.html">crosstab</a></code>,
+<code><a href="crosstab.html">crosstab,SparkDataFrame,character,character-method</a></code>;
+<code><a href="sampleBy.html">sampleBy</a></code>, <code><a href="sampleBy.html">sampleBy</a></code>,
+<code><a href="sampleBy.html">sampleBy,SparkDataFrame,character,list,numeric-method</a></code>
+</p>
+
+
+<h3>Examples</h3>
+
+<pre><code class="r">## Not run: 
+##D df &lt;- read.json(&quot;/path/to/file.json&quot;)
+##D fi = freqItems(df, c(&quot;title&quot;, &quot;gender&quot;))
+## End(Not run)
+</code></pre>
+
+
+<hr><div align="center">[Package <em>SparkR</em> version 2.1.0 <a href="00Index.html">Index</a>]</div>
+</body></html>

http://git-wip-us.apache.org/repos/asf/spark-website/blob/066dfa27/site/docs/2.1.0/api/R/from_unixtime.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.0/api/R/from_unixtime.html b/site/docs/2.1.0/api/R/from_unixtime.html
new file mode 100644
index 0000000..1b8eead
--- /dev/null
+++ b/site/docs/2.1.0/api/R/from_unixtime.html
@@ -0,0 +1,127 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html><head><title>R: from_unixtime</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 from_unixtime {SparkR}"><tr><td>from_unixtime {SparkR}</td><td align="right">R Documentation</td></tr></table>
+
+<h2>from_unixtime</h2>
+
+<h3>Description</h3>
+
+<p>Converts the number of seconds from unix epoch (1970-01-01 00:00:00 UTC) to a string
+representing the timestamp of that moment in the current system time zone in the given
+format.
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+## S4 method for signature 'Column'
+from_unixtime(x, format = "yyyy-MM-dd HH:mm:ss")
+
+from_unixtime(x, ...)
+</pre>
+
+
+<h3>Arguments</h3>
+
+<table summary="R argblock">
+<tr valign="top"><td><code>x</code></td>
+<td>
+<p>a Column of unix timestamp.</p>
+</td></tr>
+<tr valign="top"><td><code>format</code></td>
+<td>
+<p>the target format. See
+<a href="http://docs.oracle.com/javase/tutorial/i18n/format/simpleDateFormat.html">
+Customizing Formats</a> for available options.</p>
+</td></tr>
+<tr valign="top"><td><code>...</code></td>
+<td>
+<p>further arguments to be passed to or from other methods.</p>
+</td></tr>
+</table>
+
+
+<h3>Note</h3>
+
+<p>from_unixtime since 1.5.0
+</p>
+
+
+<h3>See Also</h3>
+
+<p>Other datetime_funcs: <code><a href="add_months.html">add_months</a></code>,
+<code><a href="add_months.html">add_months</a></code>,
+<code><a href="add_months.html">add_months,Column,numeric-method</a></code>;
+<code><a href="date_add.html">date_add</a></code>, <code><a href="date_add.html">date_add</a></code>,
+<code><a href="date_add.html">date_add,Column,numeric-method</a></code>;
+<code><a href="date_format.html">date_format</a></code>, <code><a href="date_format.html">date_format</a></code>,
+<code><a href="date_format.html">date_format,Column,character-method</a></code>;
+<code><a href="date_sub.html">date_sub</a></code>, <code><a href="date_sub.html">date_sub</a></code>,
+<code><a href="date_sub.html">date_sub,Column,numeric-method</a></code>;
+<code><a href="datediff.html">datediff</a></code>, <code><a href="datediff.html">datediff</a></code>,
+<code><a href="datediff.html">datediff,Column-method</a></code>;
+<code><a href="dayofmonth.html">dayofmonth</a></code>, <code><a href="dayofmonth.html">dayofmonth</a></code>,
+<code><a href="dayofmonth.html">dayofmonth,Column-method</a></code>;
+<code><a href="dayofyear.html">dayofyear</a></code>, <code><a href="dayofyear.html">dayofyear</a></code>,
+<code><a href="dayofyear.html">dayofyear,Column-method</a></code>;
+<code><a href="from_utc_timestamp.html">from_utc_timestamp</a></code>,
+<code><a href="from_utc_timestamp.html">from_utc_timestamp</a></code>,
+<code><a href="from_utc_timestamp.html">from_utc_timestamp,Column,character-method</a></code>;
+<code><a href="hour.html">hour</a></code>, <code><a href="hour.html">hour</a></code>,
+<code><a href="hour.html">hour,Column-method</a></code>; <code><a href="last_day.html">last_day</a></code>,
+<code><a href="last_day.html">last_day</a></code>,
+<code><a href="last_day.html">last_day,Column-method</a></code>;
+<code><a href="minute.html">minute</a></code>, <code><a href="minute.html">minute</a></code>,
+<code><a href="minute.html">minute,Column-method</a></code>;
+<code><a href="months_between.html">months_between</a></code>,
+<code><a href="months_between.html">months_between</a></code>,
+<code><a href="months_between.html">months_between,Column-method</a></code>;
+<code><a href="month.html">month</a></code>, <code><a href="month.html">month</a></code>,
+<code><a href="month.html">month,Column-method</a></code>;
+<code><a href="next_day.html">next_day</a></code>, <code><a href="next_day.html">next_day</a></code>,
+<code><a href="next_day.html">next_day,Column,character-method</a></code>;
+<code><a href="quarter.html">quarter</a></code>, <code><a href="quarter.html">quarter</a></code>,
+<code><a href="quarter.html">quarter,Column-method</a></code>;
+<code><a href="second.html">second</a></code>, <code><a href="second.html">second</a></code>,
+<code><a href="second.html">second,Column-method</a></code>;
+<code><a href="to_date.html">to_date</a></code>, <code><a href="to_date.html">to_date</a></code>,
+<code><a href="to_date.html">to_date,Column-method</a></code>;
+<code><a href="to_utc_timestamp.html">to_utc_timestamp</a></code>,
+<code><a href="to_utc_timestamp.html">to_utc_timestamp</a></code>,
+<code><a href="to_utc_timestamp.html">to_utc_timestamp,Column,character-method</a></code>;
+<code><a href="unix_timestamp.html">unix_timestamp</a></code>,
+<code><a href="unix_timestamp.html">unix_timestamp</a></code>,
+<code><a href="unix_timestamp.html">unix_timestamp</a></code>,
+<code><a href="unix_timestamp.html">unix_timestamp</a></code>,
+<code><a href="unix_timestamp.html">unix_timestamp,Column,character-method</a></code>,
+<code><a href="unix_timestamp.html">unix_timestamp,Column,missing-method</a></code>,
+<code><a href="unix_timestamp.html">unix_timestamp,missing,missing-method</a></code>;
+<code><a href="weekofyear.html">weekofyear</a></code>, <code><a href="weekofyear.html">weekofyear</a></code>,
+<code><a href="weekofyear.html">weekofyear,Column-method</a></code>;
+<code><a href="window.html">window</a></code>, <code><a href="window.html">window</a></code>,
+<code><a href="window.html">window,Column-method</a></code>; <code><a href="year.html">year</a></code>,
+<code><a href="year.html">year</a></code>, <code><a href="year.html">year,Column-method</a></code>
+</p>
+
+
+<h3>Examples</h3>
+
+<pre><code class="r">## Not run: 
+##D from_unixtime(df$t)
+##D from_unixtime(df$t, &#39;yyyy/MM/dd HH&#39;)
+## End(Not run)
+</code></pre>
+
+
+<hr><div align="center">[Package <em>SparkR</em> version 2.1.0 <a href="00Index.html">Index</a>]</div>
+</body></html>

http://git-wip-us.apache.org/repos/asf/spark-website/blob/066dfa27/site/docs/2.1.0/api/R/from_utc_timestamp.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.0/api/R/from_utc_timestamp.html b/site/docs/2.1.0/api/R/from_utc_timestamp.html
new file mode 100644
index 0000000..c8d2e62
--- /dev/null
+++ b/site/docs/2.1.0/api/R/from_utc_timestamp.html
@@ -0,0 +1,116 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html><head><title>R: from_utc_timestamp</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 from_utc_timestamp {SparkR}"><tr><td>from_utc_timestamp {SparkR}</td><td align="right">R Documentation</td></tr></table>
+
+<h2>from_utc_timestamp</h2>
+
+<h3>Description</h3>
+
+<p>Given a timestamp, which corresponds to a certain time of day in UTC, returns another timestamp
+that corresponds to the same time of day in the given timezone.
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+## S4 method for signature 'Column,character'
+from_utc_timestamp(y, x)
+
+from_utc_timestamp(y, x)
+</pre>
+
+
+<h3>Arguments</h3>
+
+<table summary="R argblock">
+<tr valign="top"><td><code>y</code></td>
+<td>
+<p>Column to compute on.</p>
+</td></tr>
+<tr valign="top"><td><code>x</code></td>
+<td>
+<p>time zone to use.</p>
+</td></tr>
+</table>
+
+
+<h3>Note</h3>
+
+<p>from_utc_timestamp since 1.5.0
+</p>
+
+
+<h3>See Also</h3>
+
+<p>Other datetime_funcs: <code><a href="add_months.html">add_months</a></code>,
+<code><a href="add_months.html">add_months</a></code>,
+<code><a href="add_months.html">add_months,Column,numeric-method</a></code>;
+<code><a href="date_add.html">date_add</a></code>, <code><a href="date_add.html">date_add</a></code>,
+<code><a href="date_add.html">date_add,Column,numeric-method</a></code>;
+<code><a href="date_format.html">date_format</a></code>, <code><a href="date_format.html">date_format</a></code>,
+<code><a href="date_format.html">date_format,Column,character-method</a></code>;
+<code><a href="date_sub.html">date_sub</a></code>, <code><a href="date_sub.html">date_sub</a></code>,
+<code><a href="date_sub.html">date_sub,Column,numeric-method</a></code>;
+<code><a href="datediff.html">datediff</a></code>, <code><a href="datediff.html">datediff</a></code>,
+<code><a href="datediff.html">datediff,Column-method</a></code>;
+<code><a href="dayofmonth.html">dayofmonth</a></code>, <code><a href="dayofmonth.html">dayofmonth</a></code>,
+<code><a href="dayofmonth.html">dayofmonth,Column-method</a></code>;
+<code><a href="dayofyear.html">dayofyear</a></code>, <code><a href="dayofyear.html">dayofyear</a></code>,
+<code><a href="dayofyear.html">dayofyear,Column-method</a></code>;
+<code><a href="from_unixtime.html">from_unixtime</a></code>, <code><a href="from_unixtime.html">from_unixtime</a></code>,
+<code><a href="from_unixtime.html">from_unixtime,Column-method</a></code>;
+<code><a href="hour.html">hour</a></code>, <code><a href="hour.html">hour</a></code>,
+<code><a href="hour.html">hour,Column-method</a></code>; <code><a href="last_day.html">last_day</a></code>,
+<code><a href="last_day.html">last_day</a></code>,
+<code><a href="last_day.html">last_day,Column-method</a></code>;
+<code><a href="minute.html">minute</a></code>, <code><a href="minute.html">minute</a></code>,
+<code><a href="minute.html">minute,Column-method</a></code>;
+<code><a href="months_between.html">months_between</a></code>,
+<code><a href="months_between.html">months_between</a></code>,
+<code><a href="months_between.html">months_between,Column-method</a></code>;
+<code><a href="month.html">month</a></code>, <code><a href="month.html">month</a></code>,
+<code><a href="month.html">month,Column-method</a></code>;
+<code><a href="next_day.html">next_day</a></code>, <code><a href="next_day.html">next_day</a></code>,
+<code><a href="next_day.html">next_day,Column,character-method</a></code>;
+<code><a href="quarter.html">quarter</a></code>, <code><a href="quarter.html">quarter</a></code>,
+<code><a href="quarter.html">quarter,Column-method</a></code>;
+<code><a href="second.html">second</a></code>, <code><a href="second.html">second</a></code>,
+<code><a href="second.html">second,Column-method</a></code>;
+<code><a href="to_date.html">to_date</a></code>, <code><a href="to_date.html">to_date</a></code>,
+<code><a href="to_date.html">to_date,Column-method</a></code>;
+<code><a href="to_utc_timestamp.html">to_utc_timestamp</a></code>,
+<code><a href="to_utc_timestamp.html">to_utc_timestamp</a></code>,
+<code><a href="to_utc_timestamp.html">to_utc_timestamp,Column,character-method</a></code>;
+<code><a href="unix_timestamp.html">unix_timestamp</a></code>,
+<code><a href="unix_timestamp.html">unix_timestamp</a></code>,
+<code><a href="unix_timestamp.html">unix_timestamp</a></code>,
+<code><a href="unix_timestamp.html">unix_timestamp</a></code>,
+<code><a href="unix_timestamp.html">unix_timestamp,Column,character-method</a></code>,
+<code><a href="unix_timestamp.html">unix_timestamp,Column,missing-method</a></code>,
+<code><a href="unix_timestamp.html">unix_timestamp,missing,missing-method</a></code>;
+<code><a href="weekofyear.html">weekofyear</a></code>, <code><a href="weekofyear.html">weekofyear</a></code>,
+<code><a href="weekofyear.html">weekofyear,Column-method</a></code>;
+<code><a href="window.html">window</a></code>, <code><a href="window.html">window</a></code>,
+<code><a href="window.html">window,Column-method</a></code>; <code><a href="year.html">year</a></code>,
+<code><a href="year.html">year</a></code>, <code><a href="year.html">year,Column-method</a></code>
+</p>
+
+
+<h3>Examples</h3>
+
+<pre><code class="r">## Not run: from_utc_timestamp(df$t, &#39;PST&#39;)
+</code></pre>
+
+
+<hr><div align="center">[Package <em>SparkR</em> version 2.1.0 <a href="00Index.html">Index</a>]</div>
+</body></html>

http://git-wip-us.apache.org/repos/asf/spark-website/blob/066dfa27/site/docs/2.1.0/api/R/gapply.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.0/api/R/gapply.html b/site/docs/2.1.0/api/R/gapply.html
new file mode 100644
index 0000000..5bcad21
--- /dev/null
+++ b/site/docs/2.1.0/api/R/gapply.html
@@ -0,0 +1,353 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html><head><title>R: gapply</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 gapply {SparkR}"><tr><td>gapply {SparkR}</td><td align="right">R Documentation</td></tr></table>
+
+<h2>gapply</h2>
+
+<h3>Description</h3>
+
+<p>Groups the SparkDataFrame using the specified columns and applies the R function to each
+group.
+</p>
+<p>gapply
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+## S4 method for signature 'SparkDataFrame'
+gapply(x, cols, func, schema)
+
+gapply(x, ...)
+
+## S4 method for signature 'GroupedData'
+gapply(x, func, schema)
+</pre>
+
+
+<h3>Arguments</h3>
+
+<table summary="R argblock">
+<tr valign="top"><td><code>x</code></td>
+<td>
+<p>a SparkDataFrame or GroupedData.</p>
+</td></tr>
+<tr valign="top"><td><code>cols</code></td>
+<td>
+<p>grouping columns.</p>
+</td></tr>
+<tr valign="top"><td><code>func</code></td>
+<td>
+<p>a function to be applied to each group partition specified by grouping
+column of the SparkDataFrame. The function <code>func</code> takes as argument
+a key - grouping columns and a data frame - a local R data.frame.
+The output of <code>func</code> is a local R data.frame.</p>
+</td></tr>
+<tr valign="top"><td><code>schema</code></td>
+<td>
+<p>the schema of the resulting SparkDataFrame after the function is applied.
+The schema must match to output of <code>func</code>. It has to be defined for each
+output column with preferred output column name and corresponding data type.</p>
+</td></tr>
+<tr valign="top"><td><code>...</code></td>
+<td>
+<p>additional argument(s) passed to the method.</p>
+</td></tr>
+</table>
+
+
+<h3>Value</h3>
+
+<p>A SparkDataFrame.
+</p>
+
+
+<h3>Note</h3>
+
+<p>gapply(SparkDataFrame) since 2.0.0
+</p>
+<p>gapply(GroupedData) since 2.0.0
+</p>
+
+
+<h3>See Also</h3>
+
+<p><a href="gapplyCollect.html">gapplyCollect</a>
+</p>
+<p>Other SparkDataFrame functions: <code><a href="select.html">$</a></code>,
+<code><a href="select.html">$,SparkDataFrame-method</a></code>, <code><a href="select.html">$&lt;-</a></code>,
+<code><a href="select.html">$&lt;-,SparkDataFrame-method</a></code>,
+<code><a href="select.html">select</a></code>, <code><a href="select.html">select</a></code>,
+<code><a href="select.html">select,SparkDataFrame,Column-method</a></code>,
+<code><a href="select.html">select,SparkDataFrame,character-method</a></code>,
+<code><a href="select.html">select,SparkDataFrame,list-method</a></code>;
+<code><a href="SparkDataFrame.html">SparkDataFrame-class</a></code>; <code><a href="subset.html">[</a></code>,
+<code><a href="subset.html">[,SparkDataFrame-method</a></code>, <code><a href="subset.html">[[</a></code>,
+<code><a href="subset.html">[[,SparkDataFrame,numericOrcharacter-method</a></code>,
+<code><a href="subset.html">subset</a></code>, <code><a href="subset.html">subset</a></code>,
+<code><a href="subset.html">subset,SparkDataFrame-method</a></code>;
+<code><a href="summarize.html">agg</a></code>, <code><a href="summarize.html">agg</a></code>, <code><a href="summarize.html">agg</a></code>,
+<code><a href="summarize.html">agg,GroupedData-method</a></code>,
+<code><a href="summarize.html">agg,SparkDataFrame-method</a></code>,
+<code><a href="summarize.html">summarize</a></code>, <code><a href="summarize.html">summarize</a></code>,
+<code><a href="summarize.html">summarize</a></code>,
+<code><a href="summarize.html">summarize,GroupedData-method</a></code>,
+<code><a href="summarize.html">summarize,SparkDataFrame-method</a></code>;
+<code><a href="arrange.html">arrange</a></code>, <code><a href="arrange.html">arrange</a></code>,
+<code><a href="arrange.html">arrange</a></code>,
+<code><a href="arrange.html">arrange,SparkDataFrame,Column-method</a></code>,
+<code><a href="arrange.html">arrange,SparkDataFrame,character-method</a></code>,
+<code><a href="arrange.html">orderBy,SparkDataFrame,characterOrColumn-method</a></code>;
+<code><a href="as.data.frame.html">as.data.frame</a></code>,
+<code><a href="as.data.frame.html">as.data.frame,SparkDataFrame-method</a></code>;
+<code><a href="attach.html">attach</a></code>,
+<code><a href="attach.html">attach,SparkDataFrame-method</a></code>;
+<code><a href="cache.html">cache</a></code>, <code><a href="cache.html">cache</a></code>,
+<code><a href="cache.html">cache,SparkDataFrame-method</a></code>;
+<code><a href="collect.html">collect</a></code>, <code><a href="collect.html">collect</a></code>,
+<code><a href="collect.html">collect,SparkDataFrame-method</a></code>;
+<code><a href="columns.html">colnames</a></code>, <code><a href="columns.html">colnames</a></code>,
+<code><a href="columns.html">colnames,SparkDataFrame-method</a></code>,
+<code><a href="columns.html">colnames&lt;-</a></code>, <code><a href="columns.html">colnames&lt;-</a></code>,
+<code><a href="columns.html">colnames&lt;-,SparkDataFrame-method</a></code>,
+<code><a href="columns.html">columns</a></code>, <code><a href="columns.html">columns</a></code>,
+<code><a href="columns.html">columns,SparkDataFrame-method</a></code>,
+<code><a href="columns.html">names</a></code>,
+<code><a href="columns.html">names,SparkDataFrame-method</a></code>,
+<code><a href="columns.html">names&lt;-</a></code>,
+<code><a href="columns.html">names&lt;-,SparkDataFrame-method</a></code>;
+<code><a href="coltypes.html">coltypes</a></code>, <code><a href="coltypes.html">coltypes</a></code>,
+<code><a href="coltypes.html">coltypes,SparkDataFrame-method</a></code>,
+<code><a href="coltypes.html">coltypes&lt;-</a></code>, <code><a href="coltypes.html">coltypes&lt;-</a></code>,
+<code><a href="coltypes.html">coltypes&lt;-,SparkDataFrame,character-method</a></code>;
+<code><a href="nrow.html">count,SparkDataFrame-method</a></code>,
+<code><a href="nrow.html">nrow</a></code>, <code><a href="nrow.html">nrow</a></code>,
+<code><a href="nrow.html">nrow,SparkDataFrame-method</a></code>;
+<code><a href="createOrReplaceTempView.html">createOrReplaceTempView</a></code>,
+<code><a href="createOrReplaceTempView.html">createOrReplaceTempView</a></code>,
+<code><a href="createOrReplaceTempView.html">createOrReplaceTempView,SparkDataFrame,character-method</a></code>;
+<code><a href="crossJoin.html">crossJoin</a></code>,
+<code><a href="crossJoin.html">crossJoin,SparkDataFrame,SparkDataFrame-method</a></code>;
+<code><a href="dapplyCollect.html">dapplyCollect</a></code>, <code><a href="dapplyCollect.html">dapplyCollect</a></code>,
+<code><a href="dapplyCollect.html">dapplyCollect,SparkDataFrame,function-method</a></code>;
+<code><a href="dapply.html">dapply</a></code>, <code><a href="dapply.html">dapply</a></code>,
+<code><a href="dapply.html">dapply,SparkDataFrame,function,structType-method</a></code>;
+<code><a href="summary.html">describe</a></code>, <code><a href="summary.html">describe</a></code>,
+<code><a href="summary.html">describe</a></code>,
+<code><a href="summary.html">describe,SparkDataFrame,ANY-method</a></code>,
+<code><a href="summary.html">describe,SparkDataFrame,character-method</a></code>,
+<code><a href="summary.html">describe,SparkDataFrame-method</a></code>,
+<code><a href="summary.html">summary</a></code>, <code><a href="summary.html">summary</a></code>,
+<code><a href="summary.html">summary,SparkDataFrame-method</a></code>;
+<code><a href="dim.html">dim</a></code>,
+<code><a href="dim.html">dim,SparkDataFrame-method</a></code>;
+<code><a href="distinct.html">distinct</a></code>, <code><a href="distinct.html">distinct</a></code>,
+<code><a href="distinct.html">distinct,SparkDataFrame-method</a></code>,
+<code><a href="distinct.html">unique</a></code>,
+<code><a href="distinct.html">unique,SparkDataFrame-method</a></code>;
+<code><a href="dropDuplicates.html">dropDuplicates</a></code>,
+<code><a href="dropDuplicates.html">dropDuplicates</a></code>,
+<code><a href="dropDuplicates.html">dropDuplicates,SparkDataFrame-method</a></code>;
+<code><a href="nafunctions.html">dropna</a></code>, <code><a href="nafunctions.html">dropna</a></code>,
+<code><a href="nafunctions.html">dropna,SparkDataFrame-method</a></code>,
+<code><a href="nafunctions.html">fillna</a></code>, <code><a href="nafunctions.html">fillna</a></code>,
+<code><a href="nafunctions.html">fillna,SparkDataFrame-method</a></code>,
+<code><a href="nafunctions.html">na.omit</a></code>, <code><a href="nafunctions.html">na.omit</a></code>,
+<code><a href="nafunctions.html">na.omit,SparkDataFrame-method</a></code>;
+<code><a href="drop.html">drop</a></code>, <code><a href="drop.html">drop</a></code>,
+<code><a href="drop.html">drop</a></code>, <code><a href="drop.html">drop,ANY-method</a></code>,
+<code><a href="drop.html">drop,SparkDataFrame-method</a></code>;
+<code><a href="dtypes.html">dtypes</a></code>, <code><a href="dtypes.html">dtypes</a></code>,
+<code><a href="dtypes.html">dtypes,SparkDataFrame-method</a></code>;
+<code><a href="except.html">except</a></code>, <code><a href="except.html">except</a></code>,
+<code><a href="except.html">except,SparkDataFrame,SparkDataFrame-method</a></code>;
+<code><a href="explain.html">explain</a></code>, <code><a href="explain.html">explain</a></code>,
+<code><a href="explain.html">explain,SparkDataFrame-method</a></code>;
+<code><a href="filter.html">filter</a></code>, <code><a href="filter.html">filter</a></code>,
+<code><a href="filter.html">filter,SparkDataFrame,characterOrColumn-method</a></code>,
+<code><a href="filter.html">where</a></code>, <code><a href="filter.html">where</a></code>,
+<code><a href="filter.html">where,SparkDataFrame,characterOrColumn-method</a></code>;
+<code><a href="first.html">first</a></code>, <code><a href="first.html">first</a></code>,
+<code><a href="first.html">first</a></code>,
+<code><a href="first.html">first,SparkDataFrame-method</a></code>,
+<code><a href="first.html">first,characterOrColumn-method</a></code>;
+<code><a href="gapplyCollect.html">gapplyCollect</a></code>, <code><a href="gapplyCollect.html">gapplyCollect</a></code>,
+<code><a href="gapplyCollect.html">gapplyCollect</a></code>,
+<code><a href="gapplyCollect.html">gapplyCollect,GroupedData-method</a></code>,
+<code><a href="gapplyCollect.html">gapplyCollect,SparkDataFrame-method</a></code>;
+<code><a href="groupBy.html">groupBy</a></code>, <code><a href="groupBy.html">groupBy</a></code>,
+<code><a href="groupBy.html">groupBy,SparkDataFrame-method</a></code>,
+<code><a href="groupBy.html">group_by</a></code>, <code><a href="groupBy.html">group_by</a></code>,
+<code><a href="groupBy.html">group_by,SparkDataFrame-method</a></code>;
+<code><a href="head.html">head</a></code>,
+<code><a href="head.html">head,SparkDataFrame-method</a></code>;
+<code><a href="histogram.html">histogram</a></code>,
+<code><a href="histogram.html">histogram,SparkDataFrame,characterOrColumn-method</a></code>;
+<code><a href="insertInto.html">insertInto</a></code>, <code><a href="insertInto.html">insertInto</a></code>,
+<code><a href="insertInto.html">insertInto,SparkDataFrame,character-method</a></code>;
+<code><a href="intersect.html">intersect</a></code>, <code><a href="intersect.html">intersect</a></code>,
+<code><a href="intersect.html">intersect,SparkDataFrame,SparkDataFrame-method</a></code>;
+<code><a href="isLocal.html">isLocal</a></code>, <code><a href="isLocal.html">isLocal</a></code>,
+<code><a href="isLocal.html">isLocal,SparkDataFrame-method</a></code>;
+<code><a href="join.html">join</a></code>,
+<code><a href="join.html">join,SparkDataFrame,SparkDataFrame-method</a></code>;
+<code><a href="limit.html">limit</a></code>, <code><a href="limit.html">limit</a></code>,
+<code><a href="limit.html">limit,SparkDataFrame,numeric-method</a></code>;
+<code><a href="merge.html">merge</a></code>, <code><a href="merge.html">merge</a></code>,
+<code><a href="merge.html">merge,SparkDataFrame,SparkDataFrame-method</a></code>;
+<code><a href="mutate.html">mutate</a></code>, <code><a href="mutate.html">mutate</a></code>,
+<code><a href="mutate.html">mutate,SparkDataFrame-method</a></code>,
+<code><a href="mutate.html">transform</a></code>, <code><a href="mutate.html">transform</a></code>,
+<code><a href="mutate.html">transform,SparkDataFrame-method</a></code>;
+<code><a href="ncol.html">ncol</a></code>,
+<code><a href="ncol.html">ncol,SparkDataFrame-method</a></code>;
+<code><a href="persist.html">persist</a></code>, <code><a href="persist.html">persist</a></code>,
+<code><a href="persist.html">persist,SparkDataFrame,character-method</a></code>;
+<code><a href="printSchema.html">printSchema</a></code>, <code><a href="printSchema.html">printSchema</a></code>,
+<code><a href="printSchema.html">printSchema,SparkDataFrame-method</a></code>;
+<code><a href="randomSplit.html">randomSplit</a></code>, <code><a href="randomSplit.html">randomSplit</a></code>,
+<code><a href="randomSplit.html">randomSplit,SparkDataFrame,numeric-method</a></code>;
+<code><a href="rbind.html">rbind</a></code>, <code><a href="rbind.html">rbind</a></code>,
+<code><a href="rbind.html">rbind,SparkDataFrame-method</a></code>;
+<code><a href="registerTempTable-deprecated.html">registerTempTable</a></code>,
+<code><a href="registerTempTable-deprecated.html">registerTempTable</a></code>,
+<code><a href="registerTempTable-deprecated.html">registerTempTable,SparkDataFrame,character-method</a></code>;
+<code><a href="rename.html">rename</a></code>, <code><a href="rename.html">rename</a></code>,
+<code><a href="rename.html">rename,SparkDataFrame-method</a></code>,
+<code><a href="rename.html">withColumnRenamed</a></code>,
+<code><a href="rename.html">withColumnRenamed</a></code>,
+<code><a href="rename.html">withColumnRenamed,SparkDataFrame,character,character-method</a></code>;
+<code><a href="repartition.html">repartition</a></code>, <code><a href="repartition.html">repartition</a></code>,
+<code><a href="repartition.html">repartition,SparkDataFrame-method</a></code>;
+<code><a href="sample.html">sample</a></code>, <code><a href="sample.html">sample</a></code>,
+<code><a href="sample.html">sample,SparkDataFrame,logical,numeric-method</a></code>,
+<code><a href="sample.html">sample_frac</a></code>, <code><a href="sample.html">sample_frac</a></code>,
+<code><a href="sample.html">sample_frac,SparkDataFrame,logical,numeric-method</a></code>;
+<code><a href="write.parquet.html">saveAsParquetFile</a></code>,
+<code><a href="write.parquet.html">saveAsParquetFile</a></code>,
+<code><a href="write.parquet.html">saveAsParquetFile,SparkDataFrame,character-method</a></code>,
+<code><a href="write.parquet.html">write.parquet</a></code>, <code><a href="write.parquet.html">write.parquet</a></code>,
+<code><a href="write.parquet.html">write.parquet,SparkDataFrame,character-method</a></code>;
+<code><a href="saveAsTable.html">saveAsTable</a></code>, <code><a href="saveAsTable.html">saveAsTable</a></code>,
+<code><a href="saveAsTable.html">saveAsTable,SparkDataFrame,character-method</a></code>;
+<code><a href="write.df.html">saveDF</a></code>, <code><a href="write.df.html">saveDF</a></code>,
+<code><a href="write.df.html">saveDF,SparkDataFrame,character-method</a></code>,
+<code><a href="write.df.html">write.df</a></code>, <code><a href="write.df.html">write.df</a></code>,
+<code><a href="write.df.html">write.df</a></code>,
+<code><a href="write.df.html">write.df,SparkDataFrame-method</a></code>;
+<code><a href="schema.html">schema</a></code>, <code><a href="schema.html">schema</a></code>,
+<code><a href="schema.html">schema,SparkDataFrame-method</a></code>;
+<code><a href="selectExpr.html">selectExpr</a></code>, <code><a href="selectExpr.html">selectExpr</a></code>,
+<code><a href="selectExpr.html">selectExpr,SparkDataFrame,character-method</a></code>;
+<code><a href="showDF.html">showDF</a></code>, <code><a href="showDF.html">showDF</a></code>,
+<code><a href="showDF.html">showDF,SparkDataFrame-method</a></code>;
+<code><a href="show.html">show</a></code>, <code><a href="show.html">show</a></code>,
+<code><a href="show.html">show,Column-method</a></code>,
+<code><a href="show.html">show,GroupedData-method</a></code>,
+<code><a href="show.html">show,SparkDataFrame-method</a></code>,
+<code><a href="show.html">show,WindowSpec-method</a></code>;
+<code><a href="storageLevel.html">storageLevel</a></code>,
+<code><a href="storageLevel.html">storageLevel,SparkDataFrame-method</a></code>;
+<code><a href="str.html">str</a></code>,
+<code><a href="str.html">str,SparkDataFrame-method</a></code>;
+<code><a href="take.html">take</a></code>, <code><a href="take.html">take</a></code>,
+<code><a href="take.html">take,SparkDataFrame,numeric-method</a></code>;
+<code><a href="union.html">union</a></code>, <code><a href="union.html">union</a></code>,
+<code><a href="union.html">union,SparkDataFrame,SparkDataFrame-method</a></code>,
+<code><a href="union.html">unionAll</a></code>, <code><a href="union.html">unionAll</a></code>,
+<code><a href="union.html">unionAll,SparkDataFrame,SparkDataFrame-method</a></code>;
+<code><a href="unpersist.html">unpersist</a></code>, <code><a href="unpersist.html">unpersist</a></code>,
+<code><a href="unpersist.html">unpersist,SparkDataFrame-method</a></code>;
+<code><a href="withColumn.html">withColumn</a></code>, <code><a href="withColumn.html">withColumn</a></code>,
+<code><a href="withColumn.html">withColumn,SparkDataFrame,character,Column-method</a></code>;
+<code><a href="with.html">with</a></code>,
+<code><a href="with.html">with,SparkDataFrame-method</a></code>;
+<code><a href="write.jdbc.html">write.jdbc</a></code>, <code><a href="write.jdbc.html">write.jdbc</a></code>,
+<code><a href="write.jdbc.html">write.jdbc,SparkDataFrame,character,character-method</a></code>;
+<code><a href="write.json.html">write.json</a></code>, <code><a href="write.json.html">write.json</a></code>,
+<code><a href="write.json.html">write.json,SparkDataFrame,character-method</a></code>;
+<code><a href="write.orc.html">write.orc</a></code>, <code><a href="write.orc.html">write.orc</a></code>,
+<code><a href="write.orc.html">write.orc,SparkDataFrame,character-method</a></code>;
+<code><a href="write.text.html">write.text</a></code>, <code><a href="write.text.html">write.text</a></code>,
+<code><a href="write.text.html">write.text,SparkDataFrame,character-method</a></code>
+</p>
+
+
+<h3>Examples</h3>
+
+<pre><code class="r">## Not run: 
+##D Computes the arithmetic mean of the second column by grouping
+##D on the first and third columns. Output the grouping values and the average.
+##D 
+##D df &lt;- createDataFrame (
+##D list(list(1L, 1, &quot;1&quot;, 0.1), list(1L, 2, &quot;1&quot;, 0.2), list(3L, 3, &quot;3&quot;, 0.3)),
+##D   c(&quot;a&quot;, &quot;b&quot;, &quot;c&quot;, &quot;d&quot;))
+##D 
+##D Here our output contains three columns, the key which is a combination of two
+##D columns with data types integer and string and the mean which is a double.
+##D schema &lt;-  structType(structField(&quot;a&quot;, &quot;integer&quot;), structField(&quot;c&quot;, &quot;string&quot;),
+##D   structField(&quot;avg&quot;, &quot;double&quot;))
+##D result &lt;- gapply(
+##D   df,
+##D   c(&quot;a&quot;, &quot;c&quot;),
+##D   function(key, x) {
+##D     y &lt;- data.frame(key, mean(x$b), stringsAsFactors = FALSE)
+##D }, schema)
+##D 
+##D We can also group the data and afterwards call gapply on GroupedData.
+##D For Example:
+##D gdf &lt;- group_by(df, &quot;a&quot;, &quot;c&quot;)
+##D result &lt;- gapply(
+##D   gdf,
+##D   function(key, x) {
+##D     y &lt;- data.frame(key, mean(x$b), stringsAsFactors = FALSE)
+##D }, schema)
+##D collect(result)
+##D 
+##D Result
+##D ------
+##D a c avg
+##D 3 3 3.0
+##D 1 1 1.5
+##D 
+##D Fits linear models on iris dataset by grouping on the &#39;Species&#39; column and
+##D using &#39;Sepal_Length&#39; as a target variable, &#39;Sepal_Width&#39;, &#39;Petal_Length&#39;
+##D and &#39;Petal_Width&#39; as training features.
+##D 
+##D df &lt;- createDataFrame (iris)
+##D schema &lt;- structType(structField(&quot;(Intercept)&quot;, &quot;double&quot;),
+##D   structField(&quot;Sepal_Width&quot;, &quot;double&quot;),structField(&quot;Petal_Length&quot;, &quot;double&quot;),
+##D   structField(&quot;Petal_Width&quot;, &quot;double&quot;))
+##D df1 &lt;- gapply(
+##D   df,
+##D   df$&quot;Species&quot;,
+##D   function(key, x) {
+##D     m &lt;- suppressWarnings(lm(Sepal_Length ~
+##D     Sepal_Width + Petal_Length + Petal_Width, x))
+##D     data.frame(t(coef(m)))
+##D   }, schema)
+##D collect(df1)
+##D 
+##D Result
+##D ---------
+##D Model  (Intercept)  Sepal_Width  Petal_Length  Petal_Width
+##D 1        0.699883    0.3303370    0.9455356    -0.1697527
+##D 2        1.895540    0.3868576    0.9083370    -0.6792238
+##D 3        2.351890    0.6548350    0.2375602     0.2521257
+##D 
+## End(Not run)
+</code></pre>
+
+
+<hr><div align="center">[Package <em>SparkR</em> version 2.1.0 <a href="00Index.html">Index</a>]</div>
+</body></html>

http://git-wip-us.apache.org/repos/asf/spark-website/blob/066dfa27/site/docs/2.1.0/api/R/gapplyCollect.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.0/api/R/gapplyCollect.html b/site/docs/2.1.0/api/R/gapplyCollect.html
new file mode 100644
index 0000000..05efc46
--- /dev/null
+++ b/site/docs/2.1.0/api/R/gapplyCollect.html
@@ -0,0 +1,342 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html><head><title>R: gapplyCollect</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 gapplyCollect {SparkR}"><tr><td>gapplyCollect {SparkR}</td><td align="right">R Documentation</td></tr></table>
+
+<h2>gapplyCollect</h2>
+
+<h3>Description</h3>
+
+<p>Groups the SparkDataFrame using the specified columns, applies the R function to each
+group and collects the result back to R as data.frame.
+</p>
+<p>gapplyCollect
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+## S4 method for signature 'SparkDataFrame'
+gapplyCollect(x, cols, func)
+
+gapplyCollect(x, ...)
+
+## S4 method for signature 'GroupedData'
+gapplyCollect(x, func)
+</pre>
+
+
+<h3>Arguments</h3>
+
+<table summary="R argblock">
+<tr valign="top"><td><code>x</code></td>
+<td>
+<p>a SparkDataFrame or GroupedData.</p>
+</td></tr>
+<tr valign="top"><td><code>cols</code></td>
+<td>
+<p>grouping columns.</p>
+</td></tr>
+<tr valign="top"><td><code>func</code></td>
+<td>
+<p>a function to be applied to each group partition specified by grouping
+column of the SparkDataFrame. The function <code>func</code> takes as argument
+a key - grouping columns and a data frame - a local R data.frame.
+The output of <code>func</code> is a local R data.frame.</p>
+</td></tr>
+<tr valign="top"><td><code>...</code></td>
+<td>
+<p>additional argument(s) passed to the method.</p>
+</td></tr>
+</table>
+
+
+<h3>Value</h3>
+
+<p>A data.frame.
+</p>
+
+
+<h3>Note</h3>
+
+<p>gapplyCollect(SparkDataFrame) since 2.0.0
+</p>
+<p>gapplyCollect(GroupedData) since 2.0.0
+</p>
+
+
+<h3>See Also</h3>
+
+<p><a href="gapply.html">gapply</a>
+</p>
+<p>Other SparkDataFrame functions: <code><a href="select.html">$</a></code>,
+<code><a href="select.html">$,SparkDataFrame-method</a></code>, <code><a href="select.html">$&lt;-</a></code>,
+<code><a href="select.html">$&lt;-,SparkDataFrame-method</a></code>,
+<code><a href="select.html">select</a></code>, <code><a href="select.html">select</a></code>,
+<code><a href="select.html">select,SparkDataFrame,Column-method</a></code>,
+<code><a href="select.html">select,SparkDataFrame,character-method</a></code>,
+<code><a href="select.html">select,SparkDataFrame,list-method</a></code>;
+<code><a href="SparkDataFrame.html">SparkDataFrame-class</a></code>; <code><a href="subset.html">[</a></code>,
+<code><a href="subset.html">[,SparkDataFrame-method</a></code>, <code><a href="subset.html">[[</a></code>,
+<code><a href="subset.html">[[,SparkDataFrame,numericOrcharacter-method</a></code>,
+<code><a href="subset.html">subset</a></code>, <code><a href="subset.html">subset</a></code>,
+<code><a href="subset.html">subset,SparkDataFrame-method</a></code>;
+<code><a href="summarize.html">agg</a></code>, <code><a href="summarize.html">agg</a></code>, <code><a href="summarize.html">agg</a></code>,
+<code><a href="summarize.html">agg,GroupedData-method</a></code>,
+<code><a href="summarize.html">agg,SparkDataFrame-method</a></code>,
+<code><a href="summarize.html">summarize</a></code>, <code><a href="summarize.html">summarize</a></code>,
+<code><a href="summarize.html">summarize</a></code>,
+<code><a href="summarize.html">summarize,GroupedData-method</a></code>,
+<code><a href="summarize.html">summarize,SparkDataFrame-method</a></code>;
+<code><a href="arrange.html">arrange</a></code>, <code><a href="arrange.html">arrange</a></code>,
+<code><a href="arrange.html">arrange</a></code>,
+<code><a href="arrange.html">arrange,SparkDataFrame,Column-method</a></code>,
+<code><a href="arrange.html">arrange,SparkDataFrame,character-method</a></code>,
+<code><a href="arrange.html">orderBy,SparkDataFrame,characterOrColumn-method</a></code>;
+<code><a href="as.data.frame.html">as.data.frame</a></code>,
+<code><a href="as.data.frame.html">as.data.frame,SparkDataFrame-method</a></code>;
+<code><a href="attach.html">attach</a></code>,
+<code><a href="attach.html">attach,SparkDataFrame-method</a></code>;
+<code><a href="cache.html">cache</a></code>, <code><a href="cache.html">cache</a></code>,
+<code><a href="cache.html">cache,SparkDataFrame-method</a></code>;
+<code><a href="collect.html">collect</a></code>, <code><a href="collect.html">collect</a></code>,
+<code><a href="collect.html">collect,SparkDataFrame-method</a></code>;
+<code><a href="columns.html">colnames</a></code>, <code><a href="columns.html">colnames</a></code>,
+<code><a href="columns.html">colnames,SparkDataFrame-method</a></code>,
+<code><a href="columns.html">colnames&lt;-</a></code>, <code><a href="columns.html">colnames&lt;-</a></code>,
+<code><a href="columns.html">colnames&lt;-,SparkDataFrame-method</a></code>,
+<code><a href="columns.html">columns</a></code>, <code><a href="columns.html">columns</a></code>,
+<code><a href="columns.html">columns,SparkDataFrame-method</a></code>,
+<code><a href="columns.html">names</a></code>,
+<code><a href="columns.html">names,SparkDataFrame-method</a></code>,
+<code><a href="columns.html">names&lt;-</a></code>,
+<code><a href="columns.html">names&lt;-,SparkDataFrame-method</a></code>;
+<code><a href="coltypes.html">coltypes</a></code>, <code><a href="coltypes.html">coltypes</a></code>,
+<code><a href="coltypes.html">coltypes,SparkDataFrame-method</a></code>,
+<code><a href="coltypes.html">coltypes&lt;-</a></code>, <code><a href="coltypes.html">coltypes&lt;-</a></code>,
+<code><a href="coltypes.html">coltypes&lt;-,SparkDataFrame,character-method</a></code>;
+<code><a href="nrow.html">count,SparkDataFrame-method</a></code>,
+<code><a href="nrow.html">nrow</a></code>, <code><a href="nrow.html">nrow</a></code>,
+<code><a href="nrow.html">nrow,SparkDataFrame-method</a></code>;
+<code><a href="createOrReplaceTempView.html">createOrReplaceTempView</a></code>,
+<code><a href="createOrReplaceTempView.html">createOrReplaceTempView</a></code>,
+<code><a href="createOrReplaceTempView.html">createOrReplaceTempView,SparkDataFrame,character-method</a></code>;
+<code><a href="crossJoin.html">crossJoin</a></code>,
+<code><a href="crossJoin.html">crossJoin,SparkDataFrame,SparkDataFrame-method</a></code>;
+<code><a href="dapplyCollect.html">dapplyCollect</a></code>, <code><a href="dapplyCollect.html">dapplyCollect</a></code>,
+<code><a href="dapplyCollect.html">dapplyCollect,SparkDataFrame,function-method</a></code>;
+<code><a href="dapply.html">dapply</a></code>, <code><a href="dapply.html">dapply</a></code>,
+<code><a href="dapply.html">dapply,SparkDataFrame,function,structType-method</a></code>;
+<code><a href="summary.html">describe</a></code>, <code><a href="summary.html">describe</a></code>,
+<code><a href="summary.html">describe</a></code>,
+<code><a href="summary.html">describe,SparkDataFrame,ANY-method</a></code>,
+<code><a href="summary.html">describe,SparkDataFrame,character-method</a></code>,
+<code><a href="summary.html">describe,SparkDataFrame-method</a></code>,
+<code><a href="summary.html">summary</a></code>, <code><a href="summary.html">summary</a></code>,
+<code><a href="summary.html">summary,SparkDataFrame-method</a></code>;
+<code><a href="dim.html">dim</a></code>,
+<code><a href="dim.html">dim,SparkDataFrame-method</a></code>;
+<code><a href="distinct.html">distinct</a></code>, <code><a href="distinct.html">distinct</a></code>,
+<code><a href="distinct.html">distinct,SparkDataFrame-method</a></code>,
+<code><a href="distinct.html">unique</a></code>,
+<code><a href="distinct.html">unique,SparkDataFrame-method</a></code>;
+<code><a href="dropDuplicates.html">dropDuplicates</a></code>,
+<code><a href="dropDuplicates.html">dropDuplicates</a></code>,
+<code><a href="dropDuplicates.html">dropDuplicates,SparkDataFrame-method</a></code>;
+<code><a href="nafunctions.html">dropna</a></code>, <code><a href="nafunctions.html">dropna</a></code>,
+<code><a href="nafunctions.html">dropna,SparkDataFrame-method</a></code>,
+<code><a href="nafunctions.html">fillna</a></code>, <code><a href="nafunctions.html">fillna</a></code>,
+<code><a href="nafunctions.html">fillna,SparkDataFrame-method</a></code>,
+<code><a href="nafunctions.html">na.omit</a></code>, <code><a href="nafunctions.html">na.omit</a></code>,
+<code><a href="nafunctions.html">na.omit,SparkDataFrame-method</a></code>;
+<code><a href="drop.html">drop</a></code>, <code><a href="drop.html">drop</a></code>,
+<code><a href="drop.html">drop</a></code>, <code><a href="drop.html">drop,ANY-method</a></code>,
+<code><a href="drop.html">drop,SparkDataFrame-method</a></code>;
+<code><a href="dtypes.html">dtypes</a></code>, <code><a href="dtypes.html">dtypes</a></code>,
+<code><a href="dtypes.html">dtypes,SparkDataFrame-method</a></code>;
+<code><a href="except.html">except</a></code>, <code><a href="except.html">except</a></code>,
+<code><a href="except.html">except,SparkDataFrame,SparkDataFrame-method</a></code>;
+<code><a href="explain.html">explain</a></code>, <code><a href="explain.html">explain</a></code>,
+<code><a href="explain.html">explain,SparkDataFrame-method</a></code>;
+<code><a href="filter.html">filter</a></code>, <code><a href="filter.html">filter</a></code>,
+<code><a href="filter.html">filter,SparkDataFrame,characterOrColumn-method</a></code>,
+<code><a href="filter.html">where</a></code>, <code><a href="filter.html">where</a></code>,
+<code><a href="filter.html">where,SparkDataFrame,characterOrColumn-method</a></code>;
+<code><a href="first.html">first</a></code>, <code><a href="first.html">first</a></code>,
+<code><a href="first.html">first</a></code>,
+<code><a href="first.html">first,SparkDataFrame-method</a></code>,
+<code><a href="first.html">first,characterOrColumn-method</a></code>;
+<code><a href="gapply.html">gapply</a></code>, <code><a href="gapply.html">gapply</a></code>,
+<code><a href="gapply.html">gapply</a></code>,
+<code><a href="gapply.html">gapply,GroupedData-method</a></code>,
+<code><a href="gapply.html">gapply,SparkDataFrame-method</a></code>;
+<code><a href="groupBy.html">groupBy</a></code>, <code><a href="groupBy.html">groupBy</a></code>,
+<code><a href="groupBy.html">groupBy,SparkDataFrame-method</a></code>,
+<code><a href="groupBy.html">group_by</a></code>, <code><a href="groupBy.html">group_by</a></code>,
+<code><a href="groupBy.html">group_by,SparkDataFrame-method</a></code>;
+<code><a href="head.html">head</a></code>,
+<code><a href="head.html">head,SparkDataFrame-method</a></code>;
+<code><a href="histogram.html">histogram</a></code>,
+<code><a href="histogram.html">histogram,SparkDataFrame,characterOrColumn-method</a></code>;
+<code><a href="insertInto.html">insertInto</a></code>, <code><a href="insertInto.html">insertInto</a></code>,
+<code><a href="insertInto.html">insertInto,SparkDataFrame,character-method</a></code>;
+<code><a href="intersect.html">intersect</a></code>, <code><a href="intersect.html">intersect</a></code>,
+<code><a href="intersect.html">intersect,SparkDataFrame,SparkDataFrame-method</a></code>;
+<code><a href="isLocal.html">isLocal</a></code>, <code><a href="isLocal.html">isLocal</a></code>,
+<code><a href="isLocal.html">isLocal,SparkDataFrame-method</a></code>;
+<code><a href="join.html">join</a></code>,
+<code><a href="join.html">join,SparkDataFrame,SparkDataFrame-method</a></code>;
+<code><a href="limit.html">limit</a></code>, <code><a href="limit.html">limit</a></code>,
+<code><a href="limit.html">limit,SparkDataFrame,numeric-method</a></code>;
+<code><a href="merge.html">merge</a></code>, <code><a href="merge.html">merge</a></code>,
+<code><a href="merge.html">merge,SparkDataFrame,SparkDataFrame-method</a></code>;
+<code><a href="mutate.html">mutate</a></code>, <code><a href="mutate.html">mutate</a></code>,
+<code><a href="mutate.html">mutate,SparkDataFrame-method</a></code>,
+<code><a href="mutate.html">transform</a></code>, <code><a href="mutate.html">transform</a></code>,
+<code><a href="mutate.html">transform,SparkDataFrame-method</a></code>;
+<code><a href="ncol.html">ncol</a></code>,
+<code><a href="ncol.html">ncol,SparkDataFrame-method</a></code>;
+<code><a href="persist.html">persist</a></code>, <code><a href="persist.html">persist</a></code>,
+<code><a href="persist.html">persist,SparkDataFrame,character-method</a></code>;
+<code><a href="printSchema.html">printSchema</a></code>, <code><a href="printSchema.html">printSchema</a></code>,
+<code><a href="printSchema.html">printSchema,SparkDataFrame-method</a></code>;
+<code><a href="randomSplit.html">randomSplit</a></code>, <code><a href="randomSplit.html">randomSplit</a></code>,
+<code><a href="randomSplit.html">randomSplit,SparkDataFrame,numeric-method</a></code>;
+<code><a href="rbind.html">rbind</a></code>, <code><a href="rbind.html">rbind</a></code>,
+<code><a href="rbind.html">rbind,SparkDataFrame-method</a></code>;
+<code><a href="registerTempTable-deprecated.html">registerTempTable</a></code>,
+<code><a href="registerTempTable-deprecated.html">registerTempTable</a></code>,
+<code><a href="registerTempTable-deprecated.html">registerTempTable,SparkDataFrame,character-method</a></code>;
+<code><a href="rename.html">rename</a></code>, <code><a href="rename.html">rename</a></code>,
+<code><a href="rename.html">rename,SparkDataFrame-method</a></code>,
+<code><a href="rename.html">withColumnRenamed</a></code>,
+<code><a href="rename.html">withColumnRenamed</a></code>,
+<code><a href="rename.html">withColumnRenamed,SparkDataFrame,character,character-method</a></code>;
+<code><a href="repartition.html">repartition</a></code>, <code><a href="repartition.html">repartition</a></code>,
+<code><a href="repartition.html">repartition,SparkDataFrame-method</a></code>;
+<code><a href="sample.html">sample</a></code>, <code><a href="sample.html">sample</a></code>,
+<code><a href="sample.html">sample,SparkDataFrame,logical,numeric-method</a></code>,
+<code><a href="sample.html">sample_frac</a></code>, <code><a href="sample.html">sample_frac</a></code>,
+<code><a href="sample.html">sample_frac,SparkDataFrame,logical,numeric-method</a></code>;
+<code><a href="write.parquet.html">saveAsParquetFile</a></code>,
+<code><a href="write.parquet.html">saveAsParquetFile</a></code>,
+<code><a href="write.parquet.html">saveAsParquetFile,SparkDataFrame,character-method</a></code>,
+<code><a href="write.parquet.html">write.parquet</a></code>, <code><a href="write.parquet.html">write.parquet</a></code>,
+<code><a href="write.parquet.html">write.parquet,SparkDataFrame,character-method</a></code>;
+<code><a href="saveAsTable.html">saveAsTable</a></code>, <code><a href="saveAsTable.html">saveAsTable</a></code>,
+<code><a href="saveAsTable.html">saveAsTable,SparkDataFrame,character-method</a></code>;
+<code><a href="write.df.html">saveDF</a></code>, <code><a href="write.df.html">saveDF</a></code>,
+<code><a href="write.df.html">saveDF,SparkDataFrame,character-method</a></code>,
+<code><a href="write.df.html">write.df</a></code>, <code><a href="write.df.html">write.df</a></code>,
+<code><a href="write.df.html">write.df</a></code>,
+<code><a href="write.df.html">write.df,SparkDataFrame-method</a></code>;
+<code><a href="schema.html">schema</a></code>, <code><a href="schema.html">schema</a></code>,
+<code><a href="schema.html">schema,SparkDataFrame-method</a></code>;
+<code><a href="selectExpr.html">selectExpr</a></code>, <code><a href="selectExpr.html">selectExpr</a></code>,
+<code><a href="selectExpr.html">selectExpr,SparkDataFrame,character-method</a></code>;
+<code><a href="showDF.html">showDF</a></code>, <code><a href="showDF.html">showDF</a></code>,
+<code><a href="showDF.html">showDF,SparkDataFrame-method</a></code>;
+<code><a href="show.html">show</a></code>, <code><a href="show.html">show</a></code>,
+<code><a href="show.html">show,Column-method</a></code>,
+<code><a href="show.html">show,GroupedData-method</a></code>,
+<code><a href="show.html">show,SparkDataFrame-method</a></code>,
+<code><a href="show.html">show,WindowSpec-method</a></code>;
+<code><a href="storageLevel.html">storageLevel</a></code>,
+<code><a href="storageLevel.html">storageLevel,SparkDataFrame-method</a></code>;
+<code><a href="str.html">str</a></code>,
+<code><a href="str.html">str,SparkDataFrame-method</a></code>;
+<code><a href="take.html">take</a></code>, <code><a href="take.html">take</a></code>,
+<code><a href="take.html">take,SparkDataFrame,numeric-method</a></code>;
+<code><a href="union.html">union</a></code>, <code><a href="union.html">union</a></code>,
+<code><a href="union.html">union,SparkDataFrame,SparkDataFrame-method</a></code>,
+<code><a href="union.html">unionAll</a></code>, <code><a href="union.html">unionAll</a></code>,
+<code><a href="union.html">unionAll,SparkDataFrame,SparkDataFrame-method</a></code>;
+<code><a href="unpersist.html">unpersist</a></code>, <code><a href="unpersist.html">unpersist</a></code>,
+<code><a href="unpersist.html">unpersist,SparkDataFrame-method</a></code>;
+<code><a href="withColumn.html">withColumn</a></code>, <code><a href="withColumn.html">withColumn</a></code>,
+<code><a href="withColumn.html">withColumn,SparkDataFrame,character,Column-method</a></code>;
+<code><a href="with.html">with</a></code>,
+<code><a href="with.html">with,SparkDataFrame-method</a></code>;
+<code><a href="write.jdbc.html">write.jdbc</a></code>, <code><a href="write.jdbc.html">write.jdbc</a></code>,
+<code><a href="write.jdbc.html">write.jdbc,SparkDataFrame,character,character-method</a></code>;
+<code><a href="write.json.html">write.json</a></code>, <code><a href="write.json.html">write.json</a></code>,
+<code><a href="write.json.html">write.json,SparkDataFrame,character-method</a></code>;
+<code><a href="write.orc.html">write.orc</a></code>, <code><a href="write.orc.html">write.orc</a></code>,
+<code><a href="write.orc.html">write.orc,SparkDataFrame,character-method</a></code>;
+<code><a href="write.text.html">write.text</a></code>, <code><a href="write.text.html">write.text</a></code>,
+<code><a href="write.text.html">write.text,SparkDataFrame,character-method</a></code>
+</p>
+
+
+<h3>Examples</h3>
+
+<pre><code class="r">## Not run: 
+##D Computes the arithmetic mean of the second column by grouping
+##D on the first and third columns. Output the grouping values and the average.
+##D 
+##D df &lt;- createDataFrame (
+##D list(list(1L, 1, &quot;1&quot;, 0.1), list(1L, 2, &quot;1&quot;, 0.2), list(3L, 3, &quot;3&quot;, 0.3)),
+##D   c(&quot;a&quot;, &quot;b&quot;, &quot;c&quot;, &quot;d&quot;))
+##D 
+##D result &lt;- gapplyCollect(
+##D   df,
+##D   c(&quot;a&quot;, &quot;c&quot;),
+##D   function(key, x) {
+##D     y &lt;- data.frame(key, mean(x$b), stringsAsFactors = FALSE)
+##D     colnames(y) &lt;- c(&quot;key_a&quot;, &quot;key_c&quot;, &quot;mean_b&quot;)
+##D     y
+##D   })
+##D 
+##D We can also group the data and afterwards call gapply on GroupedData.
+##D For Example:
+##D gdf &lt;- group_by(df, &quot;a&quot;, &quot;c&quot;)
+##D result &lt;- gapplyCollect(
+##D   gdf,
+##D   function(key, x) {
+##D     y &lt;- data.frame(key, mean(x$b), stringsAsFactors = FALSE)
+##D     colnames(y) &lt;- c(&quot;key_a&quot;, &quot;key_c&quot;, &quot;mean_b&quot;)
+##D     y
+##D   })
+##D 
+##D Result
+##D ------
+##D key_a key_c mean_b
+##D 3 3 3.0
+##D 1 1 1.5
+##D 
+##D Fits linear models on iris dataset by grouping on the &#39;Species&#39; column and
+##D using &#39;Sepal_Length&#39; as a target variable, &#39;Sepal_Width&#39;, &#39;Petal_Length&#39;
+##D and &#39;Petal_Width&#39; as training features.
+##D 
+##D df &lt;- createDataFrame (iris)
+##D result &lt;- gapplyCollect(
+##D   df,
+##D   df$&quot;Species&quot;,
+##D   function(key, x) {
+##D     m &lt;- suppressWarnings(lm(Sepal_Length ~
+##D     Sepal_Width + Petal_Length + Petal_Width, x))
+##D     data.frame(t(coef(m)))
+##D   })
+##D 
+##D Result
+##D ---------
+##D Model  X.Intercept.  Sepal_Width  Petal_Length  Petal_Width
+##D 1        0.699883    0.3303370    0.9455356    -0.1697527
+##D 2        1.895540    0.3868576    0.9083370    -0.6792238
+##D 3        2.351890    0.6548350    0.2375602     0.2521257
+##D 
+## End(Not run)
+</code></pre>
+
+
+<hr><div align="center">[Package <em>SparkR</em> version 2.1.0 <a href="00Index.html">Index</a>]</div>
+</body></html>

http://git-wip-us.apache.org/repos/asf/spark-website/blob/066dfa27/site/docs/2.1.0/api/R/generateAliasesForIntersectedCols.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.0/api/R/generateAliasesForIntersectedCols.html b/site/docs/2.1.0/api/R/generateAliasesForIntersectedCols.html
new file mode 100644
index 0000000..ec2972d
--- /dev/null
+++ b/site/docs/2.1.0/api/R/generateAliasesForIntersectedCols.html
@@ -0,0 +1,55 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html><head><title>R: Creates a list of columns by replacing the intersected ones...</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 generateAliasesForIntersectedCols {SparkR}"><tr><td>generateAliasesForIntersectedCols {SparkR}</td><td align="right">R Documentation</td></tr></table>
+
+<h2>Creates a list of columns by replacing the intersected ones with aliases</h2>
+
+<h3>Description</h3>
+
+<p>Creates a list of columns by replacing the intersected ones with aliases.
+The name of the alias column is formed by concatanating the original column name and a suffix.
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+generateAliasesForIntersectedCols(x, intersectedColNames, suffix)
+</pre>
+
+
+<h3>Arguments</h3>
+
+<table summary="R argblock">
+<tr valign="top"><td><code>x</code></td>
+<td>
+<p>a SparkDataFrame</p>
+</td></tr>
+<tr valign="top"><td><code>intersectedColNames</code></td>
+<td>
+<p>a list of intersected column names of the SparkDataFrame</p>
+</td></tr>
+<tr valign="top"><td><code>suffix</code></td>
+<td>
+<p>a suffix for the column name</p>
+</td></tr>
+</table>
+
+
+<h3>Value</h3>
+
+<p>list of columns
+</p>
+
+
+<h3>Note</h3>
+
+<p>generateAliasesForIntersectedCols since 1.6.0
+</p>
+
+<hr><div align="center">[Package <em>SparkR</em> version 2.1.0 <a href="00Index.html">Index</a>]</div>
+</body></html>

http://git-wip-us.apache.org/repos/asf/spark-website/blob/066dfa27/site/docs/2.1.0/api/R/glm.html
----------------------------------------------------------------------
diff --git a/site/docs/2.1.0/api/R/glm.html b/site/docs/2.1.0/api/R/glm.html
new file mode 100644
index 0000000..e9d301f
--- /dev/null
+++ b/site/docs/2.1.0/api/R/glm.html
@@ -0,0 +1,186 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html><head><title>R: Generalized Linear Models (R-compliant)</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 glm {SparkR}"><tr><td>glm {SparkR}</td><td align="right">R Documentation</td></tr></table>
+
+<h2>Generalized Linear Models (R-compliant)</h2>
+
+<h3>Description</h3>
+
+<p>Fits a generalized linear model, similarly to R's glm().
+</p>
+
+
+<h3>Usage</h3>
+
+<pre>
+glm(formula, family = gaussian, data, weights, subset, na.action,
+  start = NULL, etastart, mustart, offset, control = list(...),
+  model = TRUE, method = "glm.fit", x = FALSE, y = TRUE,
+  contrasts = NULL, ...)
+
+## S4 method for signature 'formula,ANY,SparkDataFrame'
+glm(formula, family = gaussian, data,
+  epsilon = 1e-06, maxit = 25, weightCol = NULL)
+</pre>
+
+
+<h3>Arguments</h3>
+
+<table summary="R argblock">
+<tr valign="top"><td><code>formula</code></td>
+<td>
+<p>a symbolic description of the model to be fitted. Currently only a few formula
+operators are supported, including '~', '.', ':', '+', and '-'.</p>
+</td></tr>
+<tr valign="top"><td><code>family</code></td>
+<td>
+<p>a description of the error distribution and link function to be used in the model.
+This can be a character string naming a family function, a family function or
+the result of a call to a family function. Refer R family at
+<a href="https://stat.ethz.ch/R-manual/R-devel/library/stats/html/family.html">https://stat.ethz.ch/R-manual/R-devel/library/stats/html/family.html</a>.</p>
+</td></tr>
+<tr valign="top"><td><code>data</code></td>
+<td>
+<p>a SparkDataFrame or R's glm data for training.</p>
+</td></tr>
+<tr valign="top"><td><code>weights</code></td>
+<td>
+<p>an optional vector of &lsquo;prior weights&rsquo; to be used
+in the fitting process.  Should be <code>NULL</code> or a numeric vector.</p>
+</td></tr>
+<tr valign="top"><td><code>subset</code></td>
+<td>
+<p>an optional vector specifying a subset of observations
+to be used in the fitting process.</p>
+</td></tr>
+<tr valign="top"><td><code>na.action</code></td>
+<td>
+<p>a function which indicates what should happen
+when the data contain <code>NA</code>s.  The default is set by
+the <code>na.action</code> setting of <code><a href="../../base/html/options.html">options</a></code>, and is
+<code><a href="../../stats/html/na.fail.html">na.fail</a></code> if that is unset.  The &lsquo;factory-fresh&rsquo;
+default is <code><a href="nafunctions.html">na.omit</a></code>.  Another possible value is
+<code>NULL</code>, no action.  Value <code><a href="../../stats/html/na.fail.html">na.exclude</a></code> can be useful.</p>
+</td></tr>
+<tr valign="top"><td><code>start</code></td>
+<td>
+<p>starting values for the parameters in the linear predictor.</p>
+</td></tr>
+<tr valign="top"><td><code>etastart</code></td>
+<td>
+<p>starting values for the linear predictor.</p>
+</td></tr>
+<tr valign="top"><td><code>mustart</code></td>
+<td>
+<p>starting values for the vector of means.</p>
+</td></tr>
+<tr valign="top"><td><code>offset</code></td>
+<td>
+<p>this can be used to specify an <EM>a priori</EM> known
+component to be included in the linear predictor during fitting.
+This should be <code>NULL</code> or a numeric vector of length equal to
+the number of cases.  One or more <code><a href="../../stats/html/offset.html">offset</a></code> terms can be
+included in the formula instead or as well, and if more than one is
+specified their sum is used.  See <code><a href="../../stats/html/model.extract.html">model.offset</a></code>.</p>
+</td></tr>
+<tr valign="top"><td><code>control</code></td>
+<td>
+<p>a list of parameters for controlling the fitting
+process.  For <code>glm.fit</code> this is passed to
+<code><a href="../../stats/html/glm.control.html">glm.control</a></code>.</p>
+</td></tr>
+<tr valign="top"><td><code>model</code></td>
+<td>
+<p>a logical value indicating whether <EM>model frame</EM>
+should be included as a component of the returned value.</p>
+</td></tr>
+<tr valign="top"><td><code>method</code></td>
+<td>
+<p>the method to be used in fitting the model.  The default
+method <code>"glm.fit"</code> uses iteratively reweighted least squares
+(IWLS): the alternative <code>"model.frame"</code> returns the model frame
+and does no fitting.
+</p>
+<p>User-supplied fitting functions can be supplied either as a function
+or a character string naming a function, with a function which takes
+the same arguments as <code>glm.fit</code>.  If specified as a character
+string it is looked up from within the <span class="pkg">stats</span> namespace.
+</p>
+</td></tr>
+<tr valign="top"><td><code>x,y</code></td>
+<td>
+<p>For <code>glm</code>: logical values indicating whether the response vector
+and model matrix used in the fitting process should be returned as
+components of the returned value.</p>
+</td></tr>
+<tr valign="top"><td><code>contrasts</code></td>
+<td>
+<p>an optional list. See the <code>contrasts.arg</code>
+of <code>model.matrix.default</code>.</p>
+</td></tr>
+<tr valign="top"><td><code>...</code></td>
+<td>
+
+<p>For <code>glm</code>: arguments to be used to form the default
+<code>control</code> argument if it is not supplied directly.
+</p>
+<p>For <code>weights</code>: further arguments passed to or from other methods.
+</p>
+</td></tr>
+<tr valign="top"><td><code>epsilon</code></td>
+<td>
+<p>positive convergence tolerance of iterations.</p>
+</td></tr>
+<tr valign="top"><td><code>maxit</code></td>
+<td>
+<p>integer giving the maximal number of IRLS iterations.</p>
+</td></tr>
+<tr valign="top"><td><code>weightCol</code></td>
+<td>
+<p>the weight column name. If this is not set or <code>NULL</code>, we treat all instance
+weights as 1.0.</p>
+</td></tr>
+</table>
+
+
+<h3>Value</h3>
+
+<p><code>glm</code> returns a fitted generalized linear model.
+</p>
+
+
+<h3>Note</h3>
+
+<p>glm since 1.5.0
+</p>
+
+
+<h3>See Also</h3>
+
+<p><a href="spark.glm.html">spark.glm</a>
+</p>
+
+
+<h3>Examples</h3>
+
+<pre><code class="r">## Not run: 
+##D sparkR.session()
+##D data(iris)
+##D df &lt;- createDataFrame(iris)
+##D model &lt;- glm(Sepal_Length ~ Sepal_Width, df, family = &quot;gaussian&quot;)
+##D summary(model)
+## End(Not run)
+</code></pre>
+
+
+<hr><div align="center">[Package <em>SparkR</em> version 2.1.0 <a href="00Index.html">Index</a>]</div>
+</body></html>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org


Mime
View raw message