Displaying 2 results from an estimated 2 matches for "himinti".
Did you mean:
himinbi
2012 May 12
2
Why can we combine design matrix and data-frame in R?
Hi all,
Could you please help me?
I am trying to understand why this line works:
lm1x = lm(y~X-1, tmp)
Here it seems that I was combining the design matrix and the data frame...
And X below is not a single column, in fact, it's a bunch of columns in
matrix form...
I don't understand why this line works...
Is it just luck, i.e. if we change the data-set and/or formulas to
something
2003 Jun 25
3
joining columns as in a relational database
In our recent workshop on "Multilevel Modeling in R" we discussed
handling data for multilevel modeling. An classic example of such
data are test scores of students grouped into schools. We may wish to
model the scores as functions of both student-level covariates and
school-level covariates.
Such data are often organized in a multi-table format with a separate table
for each level of