Data Explorer
このコンポーネントは、学生が提示されたデータを簡単に要約し、様々な統計的検定を行うために使用されます。
オプション
- categorical |
array: 各カテゴリ変数の名前を示す文字列の配列. Default:[]. - quantitative |
array: 各量的変数の名前を示す文字列の配列. Default:[]. - data |
object: は、表示するデータオブジェクトまたは配列を指定します。オブジェクトの場合はキーが列の値に対応し、配列の場合は各列に対応する名前付きフィールドを持つオブジェクトの配列を期待します。学生に.csvファイルをインポートできるようにしたい場合は、dataオプションをfalseに設定してください。. Default:{}. - dataInfo |
object: キーを含むオブジェクトname, 値が文字列であるinfo, 値が文字列の配列であるinfo, 配列の各要素が改行されたものであるvariables, キーが変数名、値が変数の説明であるvariablesを持つオブジェクト。. Default:{ 'info': '', 'name': '', 'variables': null, 'showOnStartup': false }. - editor |
boolean: エディタをユーザに表示するかどうかを示すブール値. Default:true. - editorProps |
object: に渡されるプロパティのオブジェクトです ( のドキュメントを参照してください)。. Default:none. - editorTitle |
string: 表示されるエクスプローラのタイトルを示す文字列. Default:none. - dataTable |
boolean: データテーブルをビューから隠すかどうかを示すブール値. Default:true. - dataTableProps |
object: プロパティはデータテーブルコンポーネントに渡されます ( のドキュメントを参照してください)。. Default:{}. - history |
boolean: 実行されたアクションの履歴ログを表示するかどうかを制御します。. Default:true. - reportMode |
string: エディタの変更を全員に同期させるか (collaborative)、グループ内のユーザに同期させるか (group)、同期させないか (individual) を制御します。. Default:'individual'. - histogramDensities |
boolean: ヒストグラムの密度を表示するかどうかを示すブール値. Default:true. - models |
array: データに適合するモデルを示す文字列の配列. Default:[ 'Simple Linear Regression', 'Multiple Linear Regression', 'LASSO', 'Decision Tree', 'Random Forest', 'Logistic Regression', 'Naive Bayes', 'PCA', 'Hierarchical Clustering', 'kmeans' ]. - opened |
string: 起動時に開いたページ. Default:none. - plots |
array: ユーザに表示するプロットを示す文字列の配列. Default:[ 'Bar Chart', 'Pie Chart', 'Mosaic Plot', 'Histogram', 'Interval Plot', 'Box Plot', 'Line Plot', 'Scatterplot', 'Scatterplot Matrix', 'Heat Map', 'Contour Chart', 'Violin Plot', 'QQ Plot' ]. - questions |
(array|object):questionsタブに表示されるテキストと質問コンポーネントのノードの配列、または基礎となるコンポーネントに渡されるプロパティのオブジェクト。<Pages />コンポーネント. Default:none. - showTestDecisions |
boolean: 計算されたp値に基づいて各テストの決定を表示するかどうかを示すブール値. Default:true. - statistics |
array: サマリー統計量が計算される可能性があることを示す文字列の配列. Default:[ 'Mean', 'Median', 'Min', 'Max', 'Range', 'Interquartile Range', 'Standard Deviation', 'Variance', 'Correlation', 'Correlation Matrix', 'Skewness', 'Excess Kurtosis', 'First Quartile', 'Third Quartile', 'Quantile', 'Five-Number Summary' ]. - style |
object: メインコンテナのCSSインラインスタイル. Default:{}. - tables |
array: データからどのテーブルが作成されるかを示す文字列の配列. Default:[ 'Frequency Table', 'Contingency Table' ]. - tabs |
array: 追加するカスタムタブを示すオブジェクトとキーの配列. Default:[]. - tests |
array: どの仮説検定を含めるかを示す文字列の配列. Default:[ 'One-Sample Mean Test', 'Two-Sample Mean Test', 'One-Way ANOVA', 'One-Sample Proportion Test', 'Two-Sample Proportion Test', 'Correlation Test', 'Chi-square Independence Test', 'Kruskal-Wallis Test' ]. - transformer |
boolean: 変数変換ツールを表示するかどうかを示すブール値. Default:true. - onTutorialCompletion |
function: データエクスプローラのチュートリアルが完了したときに呼び出される関数. Default:onTutorialCompletion() {}. - onTutorialStart |
function: データエクスプローラチュートリアルの起動時に呼び出される関数. Default:onTutorialStart() {}.
例としては、以下のようなものがあります。
In creating a data explorer, one needs a .json dataset. This step may be accomplished by including the following in the header of a .isle file:
require:
dataName: "./dataName.json"
Consider a dataset called "heartdisease" with the following variables:
- Gender: Categorical
- Drugs: Categorical
- Complications: Categorical
- Cost: Quantitative
- Age: Quantitative
- Interventions: Quantitative
- ERVisit: Quantitative
- Comorbidities: Quantitative
- Duration: Quantitative
We will include the explorer with the following code:
ライブエディター
結果
ReferenceError: Provider is not defined