хорошая статья про оптимизацию кода для R. надо, постояно надо повторять общеизвестное:
Remember: R works better with vectors, matrices and tables. Loops are, in general, more expensive, as well as dataframes and lists.
loops are just boring, too.
хорошая статья про оптимизацию кода для R. надо, постояно надо повторять общеизвестное:
Remember: R works better with vectors, matrices and tables. Loops are, in general, more expensive, as well as dataframes and lists.
loops are just boring, too.