[ https://issues.apache.org/jira/browse/SPARK-15237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15277454#comment-15277454 ]
Sun Rui commented on SPARK-15237: --------------------------------- SparkR supports two types of corr(), something like corr(SparkDataFrame, "col1", "col2") and corr(df$col1, df$col2). But the documentation of corr seems containing only the example for the latter. [~felixcheung] how to fix the documentation? > 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