Homework? We don't do homework here... -- Bert
On Wed, Aug 28, 2013 at 10:02 AM, Edoardo Baldoni <edoardo.bald...@gmail.com > wrote: > Dear R-help, > > I would like to ask you how to find the critical points of a function of > several variables such as the following one: > > x = seq(-10,10,0.2) > y = seq(-10,10,0.2) > zfunc = function(x,y) x^2 + y^2 > z = outer(x,y,zfunc) > persp(x,y,z,theta = 30,phi=1,ticktype='detailed') > > > Thanks > > Edoardo > > [[alternative HTML version deleted]] > > ______________________________________________ > 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 [[alternative HTML version deleted]] ______________________________________________ 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.