問題タブ [nlm]
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.
r - ddply/dlply 内の nlm 関数のネスト
関数を使用して、大きなデータフレームをグループごとに補間する必要がありnlmます。単一のグループを持つ df で使用しても問題はありません。
次に、関数を使用して複数のグループを持つ df に関数を適用しようとしましたdlply。
ただし、次のメッセージが表示されますError in fs[[i]](x, ...) : attempt to apply non-function。また、この例でdf.2$取得し、元の df (は変数の 1 つ)を削除しようとしました。Error in time - theta[3] : non-numeric argument to binary operatorError in f(x, ...) : object 'time.clos' not foundtime.clos
さらに、dplyrライブラリを使用することをお勧めします
入手Error in f(x, ...) : unused argument (.)。何が問題なのですか?
