?predict.xxx where xxx is either lm or glm, as I don't know what you mean by "general linear model." I also don't know what you mean by "summary function" but have assumed it's "fitted model."
You need to read ?lm (or ?glm) carefully, and also follow some of the links therein. -- Bert On Wed, Oct 31, 2012 at 7:32 AM, LordSword <kini...@student.sdu.dk> wrote: > Hi there! > > I need to generate a final general linear model from a set of coefficients > of the variables within the summary function. > When I have the summary-function, HOW do I create a final model (response > variable = bla bla bla)? > > LordSword > > > > -- > View this message in context: > http://r.789695.n4.nabble.com/From-summary-function-to-formula-tp4648008.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help@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. -- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm ______________________________________________ R-help@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.