Parse and exten formula input from a model and return the DV, IV, and associated terms.
fparse(expr)
expr |
A legitimate expression in the form y ~ x1 , etc. (see details) |
y |
A list of elements from the left side of the formula |
x |
A list of elements from the right side of the formula |
m |
A list of those elements of the formula included in () |
prod |
A list of elements separated by a * sign |
ex |
A list of elements marked by I() |
William Revelle
fparse(DV ~ IV1 + IV2 * IV2*IV3 + (IV4) + I(IV5^2) ) #somewhat more complicated fparse(DV1 + DV2 ~ IV1 + IV2 + IV3*IV4 + I(IV5^2) + I(Iv6^2) + (IV7) + (IV8) - IV9)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.