where is the wrong when I use multiroot in below to find the roots?
library(rootSolve)
fun
Hi Seyed. I've runned your script and I haven't any mistake:
##
> install.packages("rootSolve")
Installing package into ‘C:/Users/GIC 76/Documents/R/win-library/3.0’
(as ‘lib’ is unspecified)
trying URL 'http://cran.rstudio.com/bin/windows/contrib/3.0/rootSolve_1.6.5.1.zip'
Content type 'application/zip' length 646131 bytes (630 Kb)
opened URL
downloaded 630 Kb
package ‘rootSolve’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\GIC 76\AppData\Local\Temp\RtmpOmrd7B\downloaded_packages
> library(rootSolve)
Warning message:
package ‘rootSolve’ was built under R version 3.0.3
> fun (All curve(fun(x), -10, 10)
> abline(h=0, col=2)
> (All Sys.info()
sysname release version nodename machine login
"Windows" "7 x64" "build 7601, Service Pack 1" "GIC76-HP" "x86-64" "ivan.gonzalez"
user effective_user
"ivan.gonzalez" "ivan.gonzalez"
> sessionInfo()
R version 3.0.1 (2013-05-16)
Platform: x86_64-w64-mingw32/x64 (64-bit)
locale:
[1] LC_COLLATE=Spanish_Colombia.1252 LC_CTYPE=Spanish_Colombia.1252 LC_MONETARY=Spanish_Colombia.1252 LC_NUMERIC=C LC_TIME=Spanish_Colombia.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] rootSolve_1.6.5.1
loaded via a namespace (and not attached):
[1] tools_3.0.1
Did you see curve of the function?
Do you think the root of that is 15011999?
Hi Seyed,
use uniroot.all instead of multiroot (which is intended to solve a set of (nonlinear) equations).
All
I used both multiroot and uniroot.all in my question, and i know uniroot.all can find the roots, but i can not find them by multiroot!!!
Why does not multiroot work good?
I tried to find the root of the function near zero by wolfram mathematica as follow
FindRoot[Cos(2*x)^3,{x,0}]
but the result was zero (similar starting value), while it is clear in attached file that zero is not a root for this function.
Does anyone have any opinions?
Please help me to simulate samples from a closed skew Gaussian random field with R? Is there any R package or function to do this?
06 July 2014 2,083 1 View
Hello experts, Does anyone know any free software about retention index prediction ?
08 August 2024 7,403 2 View
Hi, I have a question about normalizing the MTT OD values for doing the statistical analysis. So, if we have 3 different plates and we call them 3 different replicates, so, first we would...
07 August 2024 8,106 4 View
Are there any statistical methods to justify your sampling technique using SPSS or AMOS?
05 August 2024 9,153 4 View
Hi everyone, If you have written or come across any papers where Generalised Linear Mixed Models are used to examine intervention (e.g., in mental health) efficacy, could you please share the...
04 August 2024 4,130 4 View
Molecular docking software/ websites?
02 August 2024 8,704 7 View
Just bounced on me. Before statistically analysing significant difference, shouldn't we see if data fits normal distribution first? Is 3 replicates enough to testify the hypothesis of normal...
31 July 2024 8,141 13 View
N=6 Comparing pre and post test likert scale responses. Participants are mix of practicing & preservice teachers.
30 July 2024 7,233 4 View
I created a file with my outgroup and ingroup species using Beauti, ran it in BEAST, viewed it in Tracer, and then used TreeAnnotator to create a file that I imported into RASP. Could someone...
28 July 2024 2,979 1 View
Good morning, I would like to conduct a factor analysis for my work at the municipal level on a panel datae with variables such as income per capita, unmployement rate, percentage employed in a...
25 July 2024 5,104 4 View
I am reaching out to seek your valuable advice and recommendations regarding the best software tools to use for this research. Specifically, I am looking for software with a user-friendly...
22 July 2024 3,794 1 View