Displaying 4 results from an estimated 4 matches for "parmnames".
2012 Aug 11
1
using eval to handle column names in function calling scatterplot graph function
...ue is as expected
Browse[1]> yvar
[1] "C1"
Is this a quirk peculiar to scatterplot? (Note that boxplot which has
similar usage worked.)
I would appreciate any suggestions for how to resolve this, including a
different (better) approach. mydf can have many different parameters
(parmnames), so I am trying to come up with a generalized function to plot
the data.
Regards,
**************** Elaine McGovern Jones ************************
jones2@us.ibm.com
[[alternative HTML version deleted]]
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 <- as...
2001 Dec 03
2
Bug in rsyncd 2.5.0 while handling config file string values
I compiled and tried rsync 2.5.0 but could not get the server
running. loadparm.c:string_set() now calls free() which it did not do
in 2.4.6 and this free() tries to free memory that was not allocated
with malloc.
Here is a gdb run (done after adding return before fork() in
become_daemon) which shows where it crashes and what my minimal config
file for demonstrating the bug was. The config file
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]]