It is used to investigate the dependence between multiple variables at the same time and to highlight the most correlated variables in a data table.
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

plugin-schema.handlebars.json 4.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. {
  2. "fields": [
  3. {
  4. "key": "name",
  5. "dataIndex": "name",
  6. "valueType": "text",
  7. "title": "Name",
  8. "tooltip": "The name of the corrplot chart.",
  9. "formItemProps": {
  10. "initialValue": "corrplot",
  11. "rules": [
  12. {
  13. "required": true,
  14. "message": "Please enter the name."
  15. }
  16. ]
  17. }
  18. },
  19. {
  20. "key": "datafile",
  21. "dataIndex": "datafile",
  22. "valueType": "select",
  23. "title": "Data File",
  24. "tooltip": "Where is the data?",
  25. "valueEnum": "#{{{toselect datafile }}}#",
  26. "formItemProps": {
  27. "rules": [
  28. {
  29. "required": true,
  30. "message": "Please load file firstly."
  31. }
  32. ]
  33. }
  34. },
  35. {
  36. "key": "corr_vars",
  37. "dataIndex": "corr_vars",
  38. "valueType": "select",
  39. "title": "Correlation Variables",
  40. "tooltip": "Which variables do you want to analyze?",
  41. "valueEnum": "#{{{toselect columns }}}#",
  42. "fieldProps": {
  43. "mode": "multiple"
  44. },
  45. "formItemProps": {
  46. "rules": [
  47. {
  48. "required": true,
  49. "message": "Please select several variables."
  50. }
  51. ]
  52. }
  53. },
  54. {
  55. "key": "method",
  56. "dataIndex": "method",
  57. "valueType": "select",
  58. "title": "Method",
  59. "tooltip": "The visualization method of correlation matrix to be used. Allowed values are square (default), circle.",
  60. "valueEnum": {
  61. "square": {
  62. "text": "Square"
  63. },
  64. "circle": {
  65. "text": "Circle"
  66. }
  67. },
  68. "formItemProps": {
  69. "initialValue": "square"
  70. }
  71. },
  72. {
  73. "key": "corr_type",
  74. "dataIndex": "corr_type",
  75. "valueType": "select",
  76. "title": "Correlation Type",
  77. "tooltip": "full (default), lower or upper display.",
  78. "valueEnum": {
  79. "full": {
  80. "text": "Full"
  81. },
  82. "lower": {
  83. "text": "Lower"
  84. },
  85. "upper": {
  86. "text": "Upper"
  87. }
  88. },
  89. "formItemProps": {
  90. "initialValue": "full"
  91. }
  92. },
  93. {
  94. "key": "hc_method",
  95. "dataIndex": "hc_method",
  96. "valueType": "select",
  97. "title": "Cluster Method",
  98. "tooltip": "The agglomeration method to be used in hclust (see ?hclust).",
  99. "valueEnum": {
  100. "ward.D": {
  101. "text": "ward.D"
  102. },
  103. "ward.D2": {
  104. "text": "ward.D2"
  105. },
  106. "single": {
  107. "text": "single"
  108. },
  109. "complete": {
  110. "text": "complete"
  111. },
  112. "average": {
  113. "text": "average"
  114. },
  115. "mcquitty": {
  116. "text": "mcquitty"
  117. },
  118. "median": {
  119. "text": "median"
  120. },
  121. "centroid": {
  122. "text": "centroid"
  123. }
  124. },
  125. "formItemProps": {
  126. "initialValue": "complete"
  127. }
  128. },
  129. {
  130. "key": "hc_order",
  131. "dataIndex": "hc_order",
  132. "valueType": "switch",
  133. "title": "Cluster Ordered",
  134. "tooltip": "Logical value. If TRUE, correlation matrix will be hc.ordered using hclust function.",
  135. "formItemProps": {
  136. "initialValue": true
  137. }
  138. },
  139. {
  140. "key": "sig_level",
  141. "dataIndex": "sig_level",
  142. "valueType": "digit",
  143. "title": "Significant Level",
  144. "tooltip": "Significant level, greater than 0 and less than 1.",
  145. "fieldProps": {
  146. "step": 0.01
  147. },
  148. "formItemProps": {
  149. "initialValue": 0.05
  150. }
  151. },
  152. {
  153. "key": "description",
  154. "dataIndex": "description",
  155. "valueType": "textarea",
  156. "title": "Description",
  157. "tooltip": "The description of the corrplot chart.",
  158. "formItemProps": {
  159. "initialValue": "Make a correlation plot."
  160. }
  161. }
  162. ],
  163. "dataKey": {
  164. "data": "Data"
  165. },
  166. "examples": [
  167. {
  168. "title": "Example 1",
  169. "key": "example-1",
  170. "datafile": "",
  171. "arguments": {
  172. "corr_vars": [
  173. "mpg",
  174. "cyl",
  175. "disp",
  176. "hp",
  177. "drat",
  178. "wt",
  179. "qsec",
  180. "vs",
  181. "am",
  182. "gear",
  183. "carb"
  184. ],
  185. "sig_level": 0.05,
  186. "hc_order": true,
  187. "hc_method": "complete",
  188. "corr_type": "full",
  189. "method": "square"
  190. }
  191. }
  192. ]
  193. }