問題タブ [discretization]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
0 に答える
63 参照

r - R のタグ NA ファクター値

Rで次のベクトルを離散化しています:

A,B,C,D,Eこのベクトルを名前付きの範囲クラスに離散化し、NA 値を「NA 値」という名前の別のクラスに挿入したいと考えています。次に、それを因数に変換したいと思います。私が従ったプロセスは次のとおりです。

これにより、次の要因が生成されます。

これを次のように取得するにはどうすればよいですか (NAVal レベルと NAVal 値を使用)。