similar to: Root finding problem

Displaying 20 results from an estimated 500 matches similar to: "Root finding problem"

2008 Jul 19
2
How to solve systems of nonlinear equations in R?
Hey, I was wondering if there existed a R function similar to 'fsolve' or 'fzero' Matlab functions? Thanks! Francois Aucoin [[alternative HTML version deleted]]
2012 Oct 22
1
Matlab code to R code
Dear r-users, I would like to convert my Matlab code to R-code, however it dies not work as expected.  Hope somebody can help me to match Matlab and r codes. R code: rr <- function(r,cxn) { tol <- 1E-4; for(i in 1:n) { t1 <- (1+(i-1)*r)*log((1+(i-1)*r)) t2 <- (i-1)*(1-r)*log(1-r) rri <- ((t1+t2)/i*log(i))-cxn rr <- rri > tol } round(rr,4) } rr1 <- rr(0.5,0.0242) ; rr1
2011 Jul 28
0
xgrid package: Access Apple Xgrid using R
The package xgrid 0.1-11 is now available on CRAN.? The package provides functions to distribute and collate results from simulation studies and other computationally expensive tasks to Apple Xgrid clusters from within R. More specifically, the routines within the package facilitate access to Apple Xgrid clusters (which can be created using standard installations of Mac OS X, for example in a
2011 Jul 28
0
xgrid package: Access Apple Xgrid using R
The package xgrid 0.1-11 is now available on CRAN.? The package provides functions to distribute and collate results from simulation studies and other computationally expensive tasks to Apple Xgrid clusters from within R. More specifically, the routines within the package facilitate access to Apple Xgrid clusters (which can be created using standard installations of Mac OS X, for example in a
2005 Sep 20
1
Xgird, R, parallel computing
Hi, list, Sorry if I am bothering you. I am interested in using xgrid with R for distributed computing. I am using MacOS X and my R 2.1. 1 is already installed and running. The client computers are all of the same type and the same version of R has been installed on them. We have also set up xgrid on my system and client computers as well. I am wondering if any one can give me some clues
2020 Oct 28
0
R for-loop to add layer to lattice plot
On Tue, Oct 27, 2020 at 6:04 PM Luigi Marongiu <marongiu.luigi at gmail.com> wrote: > > Hello, > I am using e1071 to run support vector machine. I would like to plot > the data with lattice and specifically show the hyperplanes created by > the system. > I can store the hyperplane as a contour in an object, and I can plot > one object at a time. Since there will be
2008 Jan 25
0
Using R on XGRID
Hi, I have been trying to run R programs on the XGrid but without any sucess...it would be great help if somebody could give me an indication/steps as to how to get this running...am using a Mac OSX Leopard and the xgrid is on a tiger cluster... thanks very much in advance! [[alternative HTML version deleted]]
2010 Mar 02
1
Output to sequentially numbered files... also, ideas for running R on Xgrid
Hello, I have some code to run on an XGrid cluster. Currently the code is written as a single, large job... this is no good for trying to run in parallel. To break it up I have basically taken out the highest level for-loop and am planning on batch-running many jobs, each one representing an instance of the removed loop. However, when it comes to output I am stuck. Previously the output was
2020 Oct 27
3
R for-loop to add layer to lattice plot
Hello, I am using e1071 to run support vector machine. I would like to plot the data with lattice and specifically show the hyperplanes created by the system. I can store the hyperplane as a contour in an object, and I can plot one object at a time. Since there will be thousands of elements to plot, I can't manually add them one by one to the plot, so I tried to loop into them, but only the
2000 Apr 14
1
Rd2Sd conversion: files (PR#520)
This is a multipart MIME message. --==_Exmh_-19086308140 Content-Type: text/plain; charset=us-ascii In addition to my previous message, here is the source Rd-file that I used in R CMD Rdconv -d --type=Sd plot.mefista.Rd > plot.mefista.d command. --==_Exmh_-19086308140 Content-Type: text/plain ; name="plot.mefista.Rd"; charset=us-ascii Content-Description: plot.mefista.Rd
2015 Mar 03
2
Asssistance
Hi to All, I am building a package in R and whenever I run command "R CMD build OAR" in the terminal, I get the following error: * checking for file ?OAR/DESCRIPTION? ... OK * preparing ?OAR?: * checking DESCRIPTION meta-information ... ERROR Malformed Depends or Suggests or Imports or Enhances field. Offending entries: R (>=3.0.2) Entries must be names of packages optionally
2003 Sep 29
2
Solving nonlinear system equation
Hi all, I would like to ask that is there any function in R which can solve nonlinear system equations with several variables. Thats mean some functions similar to the 'fsolve' or 'fzero' in matlab. Thanks you Jerry _________________________________________________________________ Get 10Mb extra storage for MSN Hotmail. Subscribe Now!
2008 Oct 08
5
ParallelR
Anyone using or has access to ParallelR? I was looking at the page and found nothing really useful! http://www.revolution-computing.com/sitegenius/topic.php?id=195 I want to see if I can run R on a cluster of workstation, and use batch systems like Grid Engine or Xgrid: http://gridengine.sunsource.net/ http://ww.apple.com/acg/xgrid/ --Chi
2005 Oct 31
1
[R] unvectorized option for outer()
> From: Thomas Lumley > > On Sun, 30 Oct 2005, Jonathan Rougier wrote: > > > I'm not sure about this. Perhaps I am a dinosaur, but my feeling is > > that if people are writing functions in R that might be subject to > > simple operations like outer products, then they ought to be writing > > vectorised functions! > > I would agree. How about an
2005 Jun 08
2
Converting code from MATLAB to R
Hi, I'm having trouble converting code from MATLAB to R; I want to find the equivalence to MATLAB's function 'fsolve'. I've tried 'nlm', on the squared argument, in R but i did not get the same results. Thankful if helped. Best regards, Martin Englund ------------------------------------------------------------------------------ This e-mail and any attachment may
2005 May 01
3
Roots of quadratic system.
Hello, I have a system of quadratic equations (results of a Hamiltonian optimization) which I need to find the roots for. Is there a package and/or function which will find the roots for a quadratic system? Note that I am not opimizing, but rather solving the first order conditions which come from a Hamiltonian. I am basically looking for something in R that will do the same thing as fsolve in
2011 Apr 14
1
Using GSL Routines
Dear R-programmers, I am trying out certain methods in R, and the statistics require me to calculate n-(sample size) dimensional equations. They are not really very hard to solve - my home-brew implentation of Newton-Raphson in R succeeds most of time with simulated data. (Note that I am assured of a unique solution by theory). Problem comes in with real data, for which I should really implement
2006 Nov 21
3
RAID benchmarks
We (a small college with about 3000 active accounts) are currently in the process of moving from UW IMAP running on linux to dovecot running on a cluster of 3 or 4 new faster Linux machines. (Initially using perdition to split the load.) As we are building and designing the system, I'm attempting to take (or find) benchmarks everywhere I can in order to make informed decisions and so
2004 Feb 27
1
Outer with Three Vectors
Hello, outer() is great for avoiding things like: for (val1 in val1s) { for (val2 in val2s)) { x[i,j] <- somefunction(val1, val2) } } The same can be obtained with: outer(val1s, val2s, somefunction) But what if there are three (or more) sets of values to loop over? Any way of avoiding the loops then? Thanks, -- Wolfgang Viechtbauer
2009 Nov 22
2
scatter plot & equation
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20091122/ca17457e/attachment-0001.pl>