search for: startvec

Displaying 7 results from an estimated 7 matches for "startvec".

Did you mean: startsec
2011 Jan 17
2
Difficult with round() function
Dear list, I'm writing a function to re-grid a data set from finer to coarser resolutions in R as follows (I use this function with sapply/apply): gridResize <- function(startVec = stop("What's your input vector"), to = stop("Missing 'to': How long do you want the fnial vector to be?")){ from <- length(startVec) shortVec<-numeric() tics <- from*to for(j in 1:to){ interval <- ((j/to)*tics - (1/to)*tics + 1):((j/to)*tics) benchmark...
2008 Feb 26
1
multdrc error---Error in mdrcOpt(opfct, startVec, optMethod, derFlag, constrained, warnVal
...ugh set of data then produce curve and ic50. Here is my sudo code: For (plateid in platelist) { Input data (plateid) as matrix Curve fitting model4logistic <- multdrc(rdata ~ ld, logDose=10) } The first 3 plates are ok, 4th plate has following error Error in mdrcOpt(opfct, startVec, optMethod, derFlag, constrained, warnVal, : Convergence failed I know the expected fitting is ugly, is it the reason to produce the error? Thanks you in advance for your help, Xin Gong [[alternative HTML version deleted]]
2012 May 15
6
Curva dosis-respuesta
...mes = c(NA, -9L), class = "data.frame") # curva # install.packages(''drm'') require(drm, quietly = TRUE, warn.conflicts = FALSE) with(d, plot(dose, y, las = 1)) fit <- drm(y ~ dose, fct = LL.4(), control = drmc(maxIt = 100000, relTol = 1e-4), data = d) # Error in optim(startVec, opfct, hessian = TRUE, method = optMethod, control = list(maxit = maxIt, : # non-finite finite-difference value [4] # Error in drmOpt(opfct, opdfct1, startVecSc, optMethod, constrained, warnVal, : # Convergence failed He cambiado un poco los parametros de control de la funcion drm, pero no ha...
2017 Feb 22
0
Crash in the latest release
...datasets methods base other attached packages: [1] lme4_1.1-12 Matrix_1.2-8 loaded via a namespace (and not attached): [1] minqa_1.2.4 MASS_7.3-46 compiler_3.4.0 tools_3.4.0 [5] Rcpp_0.12.9 splines_3.4.0 nlme_3.1-131 grid_3.4.0 [9] nloptr_1.0.4 lattice_0.20-34 > startvec <- c(Asym = 200, xmid = 725, scal = 350) > (nm1 <- nlmer(circumference ~ SSlogis(age, Asym, xmid, scal) ~ Asym|Tree, + Orange, start = startvec)) *** Error in `/usr/local/src/R-devel/bin/exec/R': malloc(): memory corruption: 0x0e3df988 *** Aborted (core dumped) ---------...
2017 Feb 22
0
[Lme4-authors] Crash in the latest release
...r attached packages: > [1] lme4_1.1-12 Matrix_1.2-8 > > loaded via a namespace (and not attached): > [1] minqa_1.2.4 MASS_7.3-46 compiler_3.4.0 tools_3.4.0 > [5] Rcpp_0.12.9 splines_3.4.0 nlme_3.1-131 grid_3.4.0 > [9] nloptr_1.0.4 lattice_0.20-34 > >> startvec <- c(Asym = 200, xmid = 725, scal = 350) >> (nm1 <- nlmer(circumference ~ SSlogis(age, Asym, xmid, scal) ~ Asym|Tree, > + Orange, start = startvec)) > *** Error in `/usr/local/src/R-devel/bin/exec/R': malloc(): memory > corruption: 0x0e3df988 *** > Aborted (...
2011 Mar 29
2
How to regress data into coefficients for a gamma function
Hello, I need to regress data like the example below. The data points represent friction factors derived from observed trip length data. The function used to describe this data is a gamma function of the form, f(t) = a * t^b * e^(c*t) and I need to regress the data to obtain the a,b, and c coefficients. The gamma function can also be expressed in the log-linear form, ln[f(t)] = ln[a] + b
2011 Feb 23
0
Don't know which model in"drc" package is to be used to find EC values.
...0.00 168 1e+01 0.00 169 1e+01 0.00 170 1e+01 0.00 171 1e+01 0.00 172 1e+01 0.00 173 1e+01 0.00 174 1e+01 0.00 175 1e+01 0.00 176 1e+01 0.00 177 1e+01 0.00 178 1e+01 0.00 179 1e+01 0.00 180 1e+01 0.00 m1 <- drm(Length ~ conc, data = dat, fct = CRS.4c()) Error in optim(startVec, opfct, hessian = TRUE, method = optMethod, control = list(maxit = maxIt, : non-finite finite-difference value [1] Error in drmOpt(opfct, opdfct1, startVecSc, optMethod, constrained, warnVal, : Convergence failed Thanks in advance Syamkumar R School of Environmental Studies CUSAT Kerala,...