Re: [R] Trying to understand the magic of lm (Still trying)

2019-05-13 Thread Sorkin, John
-project.org; Sorkin, John Subject: Re: [R] Trying to understand the magic of lm (Still trying) John, The text below is cut out of a "how to write a package" course I gave at the R conference in Vanderbilt. I need to find a home for the course notes, because it had a lot of tidbits that ar

Re: [R] Trying to understand the magic of lm (Still trying)

2019-05-13 Thread Therneau, Terry M., Ph.D. via R-help
John,  The text below is cut out of a "how to write a package" course I gave at the R conference in Vanderbilt.   I need to find a home for the course notes, because it had a lot of tidbits that are not well explained in the R documentation. Terry T. Model frames: One of the first task

Re: [R] Trying to understand the magic of lm (Still trying)

2019-05-10 Thread David Winsemius
On 5/10/19 12:53 PM, Sorkin, John wrote: A number of people have helped me in my mission to understand how lm (and other fucntions) are able to pass a dataframe and then refer to a specific column in the dataframe. I thank everyone who has responded. I now know a bit about deparse(substitute

[R] Trying to understand the magic of lm (Still trying)

2019-05-10 Thread Sorkin, John
A number of people have helped me in my mission to understand how lm (and other fucntions) are able to pass a dataframe and then refer to a specific column in the dataframe. I thank everyone who has responded. I now know a bit about deparse(substitute(xx)), but I still don't fully understand how