[ https://issues.apache.org/jira/browse/SPARK-15237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15283234#comment-15283234 ]
Felix Cheung commented on SPARK-15237: -------------------------------------- as per the @rdname (https://github.com/apache/spark/blame/a55fbe2a16aa0866ff8aca25bf9f772e6eb516a1/R/pkg/R/stats.R#L89), the other `corr` is here: http://spark.apache.org/docs/latest/api/R/statfunctions.html I'm sure we could put both under "corr" if we change that rdname - but should we? I think it is confusing. I suspect it is better to group all column functions onto a (long?) pages and move the DataFrame function to the former space, http://spark.apache.org/docs/latest/api/R/corr.html. > SparkR corr function documentation > ---------------------------------- > > Key: SPARK-15237 > URL: https://issues.apache.org/jira/browse/SPARK-15237 > Project: Spark > Issue Type: Documentation > Components: SparkR > Affects Versions: 1.6.0, 1.6.1 > Reporter: Shaul > Priority: Minor > Labels: corr, sparkr > > Please review the documentation of the corr function in SparkR, the example > given: corr(df$c, df$d) won't run. The correct usage seems to be > corr(dataFrame,"someColumn","OtherColumn"), is this correct? > Thank you. -- 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