r/R_Programming • u/0lad1 • Nov 10 '16
R noob, writing a function
Don't know if it's appropriate to post this here, but any help will be appreciated.....
So I'm working on my PhD in applied statistics and my advisor has asked me to write a function to conduct Joint Maximum Likelihood Estimation for the rasch IRT model.
.... The thing is I already know that the function exists in an package and I've been looking through the package/source file to try to understand how it works so I can create my own.
I've found this task a little tedious/ somewhat above my skill level.
What is the best way for me to recreate this function?
Is anyone aware of a tutorial/video that could be helpful?
Thanks in advance
View all comments
Show parent comment
1
u/Darwinmate Nov 11 '16
Some more info on R functions here: https://www.datacamp.com/community/tutorials/functions-in-r-a-tutorial#gs.Ulhd1y4