[ 
https://issues.apache.org/jira/browse/SPARK-6841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14516057#comment-14516057
 ] 

Qian Huang edited comment on SPARK-6841 at 4/28/15 12:41 AM:
-------------------------------------------------------------

Hi, Shivaram. Sorry for delay. Do you mean it would be better if we implement 
it only as DataFrame API? On the other hand, i wonder if we need to create a 
new R file (statcounter.R) like statcounter.py and use a S4 class to implement 
it in this new R file.


was (Author: qhuang):
So, do you mean it would be better if we implement it only as DataFrame API? On 
the other hand, i wonder if we need to create a new R file (statcounter.R) like 
statcounter.py and use a S4 class to implement it in this new R file.

> Similar to `stats.py` in Python, add support for mean, median, stdev etc.
> -------------------------------------------------------------------------
>
>                 Key: SPARK-6841
>                 URL: https://issues.apache.org/jira/browse/SPARK-6841
>             Project: Spark
>          Issue Type: New Feature
>          Components: SparkR
>            Reporter: Shivaram Venkataraman
>
> Similar to `stats.py` in Python, we should add support for mean, median, 
> stdev etc. More specifically the functions we should support include
> 1. sum(rdd)
> 2. histogram(rdd, buckets)
> 3. mean(rdd)
> 4. variance(rdd)
> 5. stdev(rdd) 
> 6. sampleStdev(rdd)
> 7. sampleVariance(rdd)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to