[R] limits on liniar model

Bert Gunter gunter.berton at gene.com
Wed Aug 3 21:20:59 CEST 2011


Please use R's search capabilities before posting.

RSiteSearch("Linear Model with Constraints")

appears to give you what you're looking for. Incidentally, with
constraints, the model is no longer linear, I believe.

-- Bert

2011/8/3 ראובן אברמוביץ <gantkant at walla.com>:
>
>   Can I put limits on the lm() command? I only know that you can choose a
>   liniar model with or without an intercept, but can I put other limits on
>   the coefficients (for example- the intercept must be bigger than 1) ?
>
>     _________________________________________________________________
>
>   Walla! Mail - [1]Get your free unlimited mail today
>
> References
>
>   1. http://www.walla.co.il/
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
>



-- 
"Men by nature long to get on to the ultimate truths, and will often
be impatient with elementary studies or fight shy of them. If it were
possible to reach the ultimate truths without the elementary studies
usually prefixed to them, these would not be preparatory studies but
superfluous diversions."

-- Maimonides (1135-1204)

Bert Gunter
Genentech Nonclinical Biostatistics



More information about the R-help mailing list