summary nls output
This is because R only permits one object to be output. If you weould
like two objects, you might try something like
{
..........
list(fm1 = summary(fm1), fm2 = summary(fm2))
}
Good luck,
Andrew
On Sun, Sep 25, 2005 at 06:49:26PM +0800, Chun-Ying Lee wrote:
Dear R user:
I bulid a package, and in the package I use the function "nls"
to solve some questions. If I have two sets of data, and I want to
summary these two data's nls output, I write the command in the
package source code like:
{
..........
summary(fm1)
summary(fm2)
}
then i compiler the package and use "Install package(s) from
local zip files" to install my package.
But when I run the package, it just show the summary(fm2), the
part of summary(fm1) miss, why is it so?
Any suggestions would be most helpful! Thanks!!
______________________________________________ R-help at stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Andrew Robinson Senior Lecturer in Statistics Tel: +61-3-8344-9763 Department of Mathematics and Statistics Fax: +61-3-8344-4599 University of Melbourne, VIC 3010 Australia Email: a.robinson at ms.unimelb.edu.au Website: http://www.ms.unimelb.edu.au