Skip to content
Back to formatted view

Raw Message

Message-ID: <4B12A557.2040001@witthoft.com>
Date: 2009-11-29T16:46:15Z
From: Carl Witthoft
Subject: lm()  notation question

Hi,
A recent thread provided a (working) construct for lm:

lm(as.matrix(freeny[ix]) ~., freeny[-ix])


Can someone explain what is meant by the formula in that expression,
that is,  what does "mymatrix~."  do?  I couldn't find any such example 
in the lm() or formula() help pages.

thanks
Carl