Skip to content

Commit

Permalink
fixed output labels
Browse files Browse the repository at this point in the history
  • Loading branch information
lbechberger committed May 25, 2022
1 parent 0877f38 commit c1f28dd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions code/mds/data_analysis/analyze_features.r
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,21 @@ print("------------------------------------------------")

# preattentive
print("preattentive")
print(" FORM")
print(" FORM-LINES")
cor.test(data.preattentive$FORM, data.preattentive$LINES, method="pearson")
print(" LINES")
print(" FORM-ORIENTATION")
cor.test(data.preattentive$FORM, data.preattentive$ORIENTATION, method="pearson")
print(" ORIENTATION")
print(" LINES-ORIENTATION")
cor.test(data.preattentive$LINES, data.preattentive$ORIENTATION, method="pearson")
print("")

#attentive
print("attentive")
print(" FORM")
print(" FORM-LINES")
cor.test(data.attentive$FORM, data.attentive$LINES, method="pearson")
print(" LINES")
print(" FORM-ORIENTATION")
cor.test(data.attentive$FORM, data.attentive$ORIENTATION, method="pearson")
print(" ORIENTATION")
print(" LINES-ORIENTATION")
cor.test(data.attentive$LINES, data.attentive$ORIENTATION, method="pearson")
print("")

Expand Down
12 changes: 6 additions & 6 deletions data/Shapes/mds/features/statistical_analysis.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Loading required package: optparse
[1] "Correlation between features of same rating type"
[1] "------------------------------------------------"
[1] "preattentive"
[1] " FORM"
[1] " FORM-LINES"

Pearson's product-moment correlation

Expand All @@ -15,7 +15,7 @@ sample estimates:
cor
0.2244221

[1] " LINES"
[1] " FORM-ORIENTATION"

Pearson's product-moment correlation

Expand All @@ -28,7 +28,7 @@ sample estimates:
cor
0.05912771

[1] " ORIENTATION"
[1] " LINES-ORIENTATION"

Pearson's product-moment correlation

Expand All @@ -43,7 +43,7 @@ sample estimates:

[1] ""
[1] "attentive"
[1] " FORM"
[1] " FORM-LINES"

Pearson's product-moment correlation

Expand All @@ -56,7 +56,7 @@ sample estimates:
cor
0.2324319

[1] " LINES"
[1] " FORM-ORIENTATION"

Pearson's product-moment correlation

Expand All @@ -69,7 +69,7 @@ sample estimates:
cor
-0.1878979

[1] " ORIENTATION"
[1] " LINES-ORIENTATION"

Pearson's product-moment correlation

Expand Down

0 comments on commit c1f28dd

Please sign in to comment.