Closed SethPoulsen closed 3 years ago
Yes, this is fine.
—— Dimitris Rizopoulos Professor of Biostatistics Erasmus University Medical Center The Netherlands
From: Seth Poulsen notifications@github.com
Sent: Tuesday, January 5, 2021 8:09:24 PM
To: drizopoulos/ltm ltm@noreply.github.com
Cc: Subscribed subscribed@noreply.github.com
Subject: [drizopoulos/ltm] Expose f
function created inside of information
function (#15)
There have been a few times I have wanted to access the f function that is defined inside of information (https://github.com/drizopoulos/ltm/blob/master/R/information.Rhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdrizopoulos%2Fltm%2Fblob%2Fmaster%2FR%2Finformation.R&data=04%7C01%7Cd.rizopoulos%40erasmusmc.nl%7Cd323ba7ff565441b748408d8b1ad6b4c%7C526638ba6af34b0fa532a1a511f4ac80%7C0%7C0%7C637454705676538901%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=TjLFTs8yXOFbLeFCf%2FVuujoMbev4lNcdYjIpc3W6Ff8%3D&reserved=0) so that I could, e.g. calculate the information and stderr at a particular ability level, or solve a system of equations to find out at what ability level the information level drops beneath a certain point.
When I've done this before, I've just copy pasted the source code do define the function myself.
Would you accept a pull request that makes it easier to access this function? for example, by passing a particular argument to information, it will just create the f function and then return it?
Thanks for your consideration and thanks for the awesome package!
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdrizopoulos%2Fltm%2Fissues%2F15&data=04%7C01%7Cd.rizopoulos%40erasmusmc.nl%7Cd323ba7ff565441b748408d8b1ad6b4c%7C526638ba6af34b0fa532a1a511f4ac80%7C0%7C0%7C637454705676548857%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=obRT4N7pJjkL8WDDM%2BSCPmum2IDds%2F8Ua7IisOuCPe0%3D&reserved=0, or unsubscribehttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FADE7TT7MUEMRUV7HITEV7WLSYNPWJANCNFSM4VWAVMJQ&data=04%7C01%7Cd.rizopoulos%40erasmusmc.nl%7Cd323ba7ff565441b748408d8b1ad6b4c%7C526638ba6af34b0fa532a1a511f4ac80%7C0%7C0%7C637454705676548857%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=oXlKhOrtiRoLTanwvZ0VPYTSNMXbRxqXXBiLjH39CgY%3D&reserved=0.
There have been a few times I have wanted to access the
f
function that is defined inside ofinformation
(https://github.com/drizopoulos/ltm/blob/master/R/information.R) so that I could, e.g. calculate the information and stderr at a particular ability level, or solve a system of equations to find out at what ability level the information level drops beneath a certain threshold.When I've done this before, I've just copy pasted the source code to define the function myself.
Would you accept a pull request that makes it easier to access this function? for example, by passing a particular argument to
information
, it will just create thef
function and then return it?Thanks for your consideration and thanks for the awesome package!