search for: intrcept

Displaying 1 result from an estimated 1 matches for "intrcept".

Did you mean: intercept
2014 Oct 17
1
model.matrix metadata
...his could be confused for an interaction. While a human can generally work out the meaning of each column somewhat manually, I am interested in achieving this programmatically. My solution is to edit the modelmatrix function in /src/library/stats/src/model.c to additionally return the following: intrcept factors contr1 contr2 count With the availability of these in R it is possible to determine the precise meaning of each column without the error-prone parsing of strings. I have attached my edit: see lines 753-764. I am seeking advice on this approach. Am I missing a simpler way of achieving this...