search for: espression

Displaying 4 results from an estimated 4 matches for "espression".

Did you mean: epression
2008 Mar 26
0
approxfun + save: problem as R_approx changed package
Hi all, I recently switched to R version 2.6.2 (from 2.5.0 I was using) on Windows XP. I have a fair amount of previous data saved in the form of "approxfun" objects created by version 2.5.0, with code basically like this: > x <- rlnorm(100,10,2) > f <- approxfun(1:100,x) > f(5) [1] 313811.3 > save(f, file="mytest_approx.Rdata") Now on 2.6.2, when I try to
2010 Nov 03
3
optim works on command-line but not inside a function
Dear all, I am trying to optimize a logistic function using optim, inside the following functions: #Estimating a and b from thetas and outcomes by ML IRT.estimate.abFromThetaX <- function(t, X, inits, lw=c(-Inf,-Inf), up=rep(Inf,2)){ optRes <- optim(inits, method="L-BFGS-B", fn=IRT.llZetaLambdaCorrNan, gr=IRT.gradZL, lower=lw, upper=up, t=t, X=X)
2012 Jan 03
1
higher derivatives using deriv
Dear everyone, the following is obviously used to compute the nth derivative, which seems to work (deriv(sqrt(1 - x^2),x,n)) However, before using this, I wanted to make sure it does what I think it does but can't figure it out when reading the ?deriv info or any other documentation on deriv for that matter: deriv(expr, namevec, function.arg = NULL, tag = ".expr", hessian = FALSE,
2005 Nov 10
2
R: bug in windows GUI/script editor (PR#8288)
Hi Duncan, I am running R in MDI mode (with localisation not installed because I need to use RWinEdt), on an Italian version of Windows 2000 Pro. I just logged in today and tried to reproduce the bug: the first three times all was fine, the fourth one I got the bug, and finally noticed one detail: the bug appears when I open an R script (I tried several) which causes the "part of the