# Should we mimic R (, MATLAB, ...) functions?

**URL:** <https://discourse.julialang.org/t/should-we-mimic-r-matlab-functions/11934>\
**Category:** General Usage\
**Created:** [June 25, 2018, 2:50pm UTC](https://discourse.julialang.org/t/should-we-mimic-r-matlab-functions/11934 "2018-06-25T14:50:22Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![pdeffebach](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pdeffebach/32/10320_2.png) [@pdeffebach](https://discourse.julialang.org/u/pdeffebach)\
**Post date:** [June 25, 2018, 3:31pm UTC](https://discourse.julialang.org/t/should-we-mimic-r-matlab-functions/11934/5 "2018-06-25T15:31:46Z")

</div>

Here is a discussion I initiated a week ago, and it has links to other threads in it.

> [@Wrappers for GLM](https://discourse.julialang.org/t/wrappers-for-glm/11761):
>
> Based off of Chris’s comment [here](https://discourse.julialang.org/t/julia-losing-popularity-among-data-science-users-kdnuggets-software-poll/11374/107) this is something that I have been wondering about myself. It would be nice to get some discussion about the regression ecosystem. We have StatsModels.jl which is used to create forumulas and is centered around the formula object, and then GLM which is used to run regressions and is centered around the model object. If you make a new MLE estimator, say, a censored tobit model, is it standard practice right now to make sure that Your function always takes the…

I think the way this works is you have object `AnovaModel <: LinearModel` and have defined functions `coef`, `stderror` etc. for your custom object.

Others have far more experience in this area, so stay tuned for others to chime in.

---

_[View the full topic](https://discourse.julialang.org/t/should-we-mimic-r-matlab-functions/11934)._
