It is a bad idea to use ‘apply()' with data frames because it coerces it’s input to a matrix. This generally leads to poor performance, and will give unexpected results if your data frame gains non-numeric columns in the future
1 | strict_apply(X, MARGIN, FUN, ...)
|
X, MARGIN, FUN, ... |
Passed on to [apply()] |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.