search for: parmnam

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

Did you mean: parmname
2012 Aug 11
1
using eval to handle column names in function calling scatterplot graph function
I am running R version 2.15.1 in Windows XP I am having problems with a function I'm trying to create to: 1. subset a data.frame based on function arguments (colname & parmname) 2. rename the PARMVALUE column in the data.frame based on function argument (xvar) 3. generate charts plotvar <- function(parentdf,colname, parmname,xvar,yvar ){ subdf <- parentdf[substr(colname,1,nchar(parmname)) == parmname,] names(subdf) <- sub('PARMVALUE'...
2003 Oct 17
2
nlm, hessian, and derivatives in obj function?
...s2 * f + s3 * a ##system2 <- list( demand2, supply2 ) ##labels <- list( "Demand", "Supply" ) ##inst <- ~ d + f + a ##sv2 <- c(d0=3,s2=2.123,d2=4,s0=-2.123,s3=4.234,d1=4.234,s1=0.234) sv2 <- c(s0=-2.123,s1=0.234,s2=2.123,s3=4.234) obj <- function( s, eqn, data, parmnames ) { ## get the values of the parameters for( i in 1:length( parmnames ) ) { name <- names( parmnames )[i] val <- s[i] storage.mode( val ) <- "double" assign( name, val ) } lhs <- as.matrix( eval( as.formula( eqn )[[2]] ) ) rhs <-...
2001 Dec 03
2
Bug in rsyncd 2.5.0 while handling config file string values
...rsyncd.conf Program received signal SIGSEGV, Segmentation fault. 0x4009cb2d in free () from /lib/libc.so.6 (gdb) bt #0 0x4009cb2d in free () from /lib/libc.so.6 #1 0x08061286 in string_set (s=0x807ace4, v=0x808b374 "foobar") at loadparm.c:400 #2 0x08061a20 in lp_do_parameter (snum=-2, parmname=0x808b370 "uid", parmvalue=0x808b374 "foobar") at loadparm.c:647 #3 0x08061b8b in do_parameter (parmname=0x808b370 "uid", parmvalue=0x808b374 "foobar") at loadparm.c:678 #4 0x0806057b in Parameter (InFile=0x808b200, pfunc=0x8061b58 <do_parameter>...
2006 Jan 12
1
Problem with NLSYSTEMFIT()
...I want to solve a nonlinear 3SLS problem with "nlsystemfit()". The equations are of the form y_it = f_i(x,t,theta) The functions f_i(.) have to be formulated as R-functions. When invoking "nlsystemfit()" I get the error Error in deriv.formula(eqns[[i]], names(parmnames)) : Function 'f1' is not in the derivatives table Isn't it possible to provide equations in the form eq1 ~ f1(x,t,theta) etc. to "nlsystemfit()" ? Kind regards, Kilian Plank [[alternative HTML version deleted]]