[R] Y-intercept Value

Benjamin Zuckerberg bzuckerb at syr.edu
Tue Aug 7 04:49:04 CEST 2007


Hello everyone,

Quick question...is there a way of specifying a y-intercept value  
within a lm statement.  For example, if I wanted to specify the  
regression to pass through the origin I would enter lm(y~0+x).  But  
can I specify an actual term such as 1,2,3,4, etc. as an intercept  
value?  Thank you!
-- 
Benjamin Zuckerberg
Doctoral Candidate
State University of New York
College of Environmental Science and Forestry
Illick 244A, 1 Forestry Drive
Syracuse, New York 13210
Tele: (315) 470-6985
E-mail: bzuckerb at syr.edu



More information about the R-help mailing list