search for: rootsolve

Displaying 8 results from an estimated 8 matches for "rootsolve".

2020 Oct 06
4
Solving a simple linear equation using uniroot give error object 'x' not found
...a simple linear equation. I define the function, prove the function and a call to the function works. When I try to use uniroot to solve the equation I get an error message, Error in yfu n(x,10,20) : object 'x' not found. I hope someone can tell we how I can fix the problem if(!require(rootSolve)){install.packages("rootSolve")} library(rootSolve) # Define the function yfun <- function(x,diffMean,diffSE) ((abs(diffMean)-x)/diffSE) # Prove the function and a call to the function work yfun(10,100,10) # use uniroot to find a solution to the # function in the range -...
2010 Jan 11
0
trouble with installing pbatR
Hello folks, I am having a problem installing pbatR package. (My R version is 2.8.1.) As I execute a command > install.packages(lib='/usr/local/apps/R-2.8.1/lib64/R/library', "pbatR") it detects lack of rootSolve package and attempts to install it. But cannot seem to compile it, and the rest is aborted. Any hint as to what I can do? Thank you in advance for your help. Tena Sakai tsakai at gallo.ucsf.edu Here's the detail: > install.packages(lib='/usr/local/apps/R-2.8.1/lib64/R/library'...
2020 Oct 06
0
Solving a simple linear equation using uniroot give error object 'x' not found
...I define the function, prove the function and a call to the function works. When I try to use uniroot to solve the equation I get an error message, > Error in yfu n(x,10,20) : object 'x' not found. > > I hope someone can tell we how I can fix the problem > > if(!require(rootSolve)){install.packages("rootSolve")} > library(rootSolve) > > # Define the function > yfun <- function(x,diffMean,diffSE) ((abs(diffMean)-x)/diffSE) > # Prove the function and a call to the function work > yfun(10,100,10) > # use uniroot to find a so...
2012 Aug 24
5
include dll in R-package
Hi, We have several projects in the center done by researchers over years in Fortran, there are copy right issues etc to prevent us from giving away the source codes, but a lot of social scientist are interested to use the program. We tried to use dlls to make plugins (available in our website) in various statistics platforms (SAS, STATA and R) to make it available to general public. We used
2012 Apr 18
3
Is there a way to find all roots of a polynomial equation in R?
Is there a way to find all roots of a polynomial equation? Lets say x^5+a*x^4+b*x^3+c*x^2+d*x+e=0 how to find its all roots? [[alternative HTML version deleted]]
2015 Oct 23
3
resolución de ecuación
Se ha borrado un adjunto en formato HTML... URL: <https://stat.ethz.ch/pipermail/r-help-es/attachments/20151023/300f7387/attachment.html>
2015 Oct 15
4
potencia fracional de un número negativo
Hola a tod en s. Realizando el calculo de encontrar la raíz quinta de -0.5, la cual dígito de la siguiente manera (-0.5)^(1/5) El resultado que me arroja R es NaN. Averiguando un poco entre las ayuda de las funciones aritméticas encuentro el siguiente comentario Users are sometimes surprised by the value returned, for example why (-8)^(1/3) is NaN. For double inputs, R makes use of IEC 60559
2009 Dec 13
3
CRAN (and crantastic) updates this week
CRAN (and crantastic) updates this week New packages ------------ * Bergm (1.0) Alberto Caimo http://crantastic.org/packages/Bergm Functions implementing Bayesian estimation for exponential random graph models via exchange algorithm Updated packages ---------------- lmtest (0.9-26), logcondens (1.3.5), MTSKNN (0.0-4), pmml (1.2.21), r2lUniv (0.9.4), rattle (2.5.11), rgdal (0.6-23),