similar to: Missing Argument in optim()

Displaying 20 results from an estimated 100 matches similar to: "Missing Argument in optim()"

2003 Mar 17
2
scoping rules; summary
Hi everyone thanks for the replies. The issue was NOT a font problem; I deliberately chose ll1 and l11 as examples of easily confused variable names (evidently these were too easily confused ;-). The code snippet was written as intended, and increment() contained a deliberate, highlighted, bug. I was asking for guidance on avoiding/finding this sort of coding error. That was why I wrote
2012 Sep 06
2
choose() function returning anomalous results (zero instead of one)
Hello, (Apologies for length, wanted to get all the relevant detail in that I know of). I've been having a lot of trouble with some code for an inventory analysis problem I was doing, and finally came to the conclusion that it appears that choose() is returning incorrect values. Specifically: ------------- Browse[1]> nn [1] 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 3 3 3 3 3 3 3
2003 Mar 17
1
scoping rules
Hi I recently found a bug that was isomorphic to the following: ll1 <- 2 increment <- function(x) { l11 <- 1 return(x+ll1) #bug here } Of course, R is obeying the scoping rules just fine, but I'm evidently not setting the do.what.I.mean.not.what.I.say variable correctly. Now, how do I avoid making this type of error? ... and what is the best tool for tracking it down? --
2011 Feb 04
1
dataframes from a function
Hi, I'm trying to create a function to return three dataframes for later use in a graphic so I want the return from the function to give me dataframes and with unique names relating to the variable they are based on. For example..... sub<-c("6-1a","6-1a","6-1a","9-2b","9-2b","9-2b","7c","7c","7c")
2017 Feb 28
2
Dict protocol changes string
On 09/23/2016 08:05 AM, Aki Tuomi wrote: > On 29.07.2016 15:35, Nagy, Attila wrote: >> I use pass and userdb with dict protocol in a similar way: >> >> key passdb { >> key = passdb^MAuth-User: %u^MAuth-Pass: %w^MAuth-Protocol: >> %s^MClient-IP: %r >> format = json >> } >> >> (^M is an \r character, inserted with vi CTRL-v + enter)
2006 Jul 26
3
memory problems when combining randomForests
Dear all, I am trying to train a randomForest using all my control data (12,000 cases, ~ 20 explanatory variables, 2 classes). Because of memory constraints, I have split my data into 7 subsets and trained a randomForest for each, hoping that using combine() afterwards would solve the memory issue. Unfortunately, combine() still runs out of memory. Is there anything else I can do? (I am not using
2012 May 13
2
Discrete choice model maximum likelihood estimation
Hello, I am new to R and I am trying to estimate a discrete model with three choices. I am stuck at a point and cannot find a solution. I have probability functions for occurrence of these choices, and then I build the likelihood functions associated to these choices and finally I build the general log-likelihood function. There are four parameters in the model, three of them are associated to
2011 Jun 17
0
I can't setup namespace per user (with settings keept in sql db)
Hello! I'm trying to setup additional namespace. I'd like to have this setting per user and keep it in postgresql. Global namespace is defined in this way: namespace { inbox = yes location = prefix = separator = . } (mail_location is getting from db) I don't know how should looks like database field:( Now i have such configuration: user_query = select .... dovecot_location AS
2016 Jul 29
2
Dict protocol changes string
Hi, I use pass and userdb with dict protocol in a similar way: key passdb { key = passdb^MAuth-User: %u^MAuth-Pass: %w^MAuth-Protocol: %s^MClient-IP: %r format = json } (^M is an \r character, inserted with vi CTRL-v + enter) Until 2.2.24 this has worked, but 2.2.25 seems to convert that ASCII 13 into an ASCII 1 and an "r". Python printout from what I get with 2.2.25:
2017 Dec 21
0
Fitting Beta Distribution
I answer my own question: I had overlooked the fact that the normalization factor is also a function of the parameters I want to optimise, hence I should write dbeta2 <- function(x, shape){ res <- x^(shape-1)*(1-x)^(shape-1)/beta(shape, shape) return(res) } after which the results are consistent. ---------- Forwarded message ---------- From: Lorenzo Isella <lorenzo.isella
2017 Dec 21
1
Fitting Beta Distribution
Dear All, I need to fit a custom probability density (based on the symmetric beta distribution B(shape, shape), where the two parameters shape1 and shape2 are identical) to my data. The trouble is that I experience some problems also when dealing with the plain vanilla symmetric beta distribution. Please consider the code at the end of the email. In the code, dbeta1 is the density of the beta
2001 Oct 15
0
predict.fda difficulties
Dear Dr Hornik / R help list, I am using the mda package and in particular the fda routine to classify a set of 162 neurons falling in to 11 neuronal cell types according to 17 morphological variables. I would like to use a cross-validation approach in which I split the data, train with one part amd then test the predictive accuracy of the discriminant functions with the remaining part. However
2016 Sep 23
0
Dict protocol changes string
On 29.07.2016 15:35, Nagy, Attila wrote: > Hi, > > I use pass and userdb with dict protocol in a similar way: > > key passdb { > key = passdb^MAuth-User: %u^MAuth-Pass: %w^MAuth-Protocol: > %s^MClient-IP: %r > format = json > } > > (^M is an \r character, inserted with vi CTRL-v + enter) > > Until 2.2.24 this has worked, but 2.2.25 seems to convert that
2017 Mar 13
0
Dict protocol changes string
On 28.02.2017 17:59, Nagy, Attila wrote: > On 09/23/2016 08:05 AM, Aki Tuomi wrote: >> On 29.07.2016 15:35, Nagy, Attila wrote: >>> I use pass and userdb with dict protocol in a similar way: >>> >>> key passdb { >>> key = passdb^MAuth-User: %u^MAuth-Pass: %w^MAuth-Protocol: >>> %s^MClient-IP: %r >>> format = json >>> }
2011 Apr 08
1
[LLVMdev] Fail to build dlls with visual studio 2010 x64
Hi, I can build LLVM just with VS2010 x64. However, when I try to build it with -DBUILD_SHARED_LIBS:BOOL=true option, it seems to fail with a lot of unresolved external symbol. Is it a known issue? Is there anyway to fix it? Thanks, http://old.nabble.com/file/p31351142/build.log build.log -- View this message in context:
2003 Nov 26
2
corrupted empty message with CVS
with CVS as of an hour ago i'm seeing corruption of messages (in an mbox) with an empty message body. for example, here's what i have in my test INBOX right after receiving the empty message: --- top of INBOX --- >From dean at arctic.org Tue Nov 25 19:02:23 2003 Return-Path: <dean at arctic.org> Delivered-To: dgtest at arctic.org Received: (qmail 3626 invoked by uid 500); 26
2002 Apr 12
1
Parrot
This is just an idea for comment. Perl6, the upcoming version of Perl has separated out the runtime into a virtual machine called Parrot. There are already several small languages (one is C-like, one is Java-like and one is BASIC-like) that target Parrot and given the popularity of Perl its likely that others may attempt to target it too. If R could interface easily with Parrot then it might be
2005 Jun 14
4
488 Not Acceptable Here
I have a whole bunch of remote devices connected to my Asterisk box, including SPA-3000s, PAP2-NAs and Cisco 7960s. The PAP2-NAs I have only rolled out recently and I am having a problem that is intermittent and inconsistent. It happens to some users but not other users on the same ISP. It happens to users in 2 different countries where the Internet setup (NAT issues) are completely different. It
1997 Jul 24
0
Security hole in mgetty+sendfax
-----BEGIN PGP SIGNED MESSAGE----- Hi, a security hole has been found in the auxiliary fax scripts "faxq" and "faxrunq" in the mgetty+sendfax package. It has been in there since the first day those scripts were written. Due to improper quoting in these shell scripts, it''s possible to execute code with a foreign user id, and get root access to the machine. The
2005 Jun 05
1
Accountcode being ignored?
I have a sip.conf entry for a customer's PBX (IP based authentication) that reads: [customer] type=friend context=customer host=x.x.x.x accountcode=10000 disallow=all allow=g729 When the customer makes a call to my * server, * recognizes the peer correctly. However, for some reason, the AccountCode is blank. I have a NoOp(${ACCOUNTCODE}) and the CLI shows: -- Executing