similar to: integral in R

Displaying 20 results from an estimated 1000 matches similar to: "integral in R"

2010 Jul 28
1
error in f(x,...)
Dear all, I tried once to create one variable called bip such that: bip <- cip + (1/f(cip))*fi(f,cip) And this was working. But now, doing the same thing I did before, the software shows me the following message: Error in f(x, ...) : unused argument(s) (subdivision = 2000) I have the variable cip and the variable bip should be created such that: Fn <- ecdf(cip) f <- function(x) {(1 -
2010 Jul 21
1
function of an integral
Hi All, I have a problem to create a variable that is a function of an integral of another function. The problem is the following: I have a variable called cip. I have to create another variable called bip that is a function of the former variable cip and also the cumulative distribution function of the variable cip. Consider the equation below:
2012 Jul 23
2
[LLVMdev] static constant structs
I hope this is the correct forum in which to ask this question. Currently I am writing code meant to compile with LLVM 3.0. I am trying to figure out, using the C++ API, how to create a constant static struct, or the equivalent. Since I am copying data from existing C structs, I am currently I am using a ConstantArray global variable, and then pointer casting it to the appropriate type when I
2012 Jul 23
0
[LLVMdev] static constant structs
Hi Michael, > I hope this is the correct forum in which to ask this question. > > Currently I am writing code meant to compile with LLVM 3.0. I am trying > to figure out, using the C++ API, how to create a constant static > struct, or the equivalent. Since I am copying data from existing C > structs, I am currently I am using a ConstantArray global variable, and > then
2010 Feb 09
1
how to adjust the output
Hi R-users,   I have this code below and I understand the error message but do not know how to correct it.  My question is how do I get rid of “with absolute error < 7.5e-06” attach to value of cdf so that I can carry out the calculation.   integrand <- function(z) { alp  <- 2.0165   rho  <- 0.868   # simplified expressions   a      <- alp-0.5   c1     <-
2012 Oct 03
1
[PATCH] pxedump.c32: Simple PXE cached packet dumping
Not much to it, but thought I'd offer. - Shao From c668e24421a344231fc3fba31a26c88e92d03f43 Mon Sep 17 00:00:00 2001 From: Shao Miller <sha0.miller at gmail.com> Date: Tue, 2 Oct 2012 22:02:04 -0400 Subject: [PATCH] pxedump.c32: Simple PXE cached packet dumping Usage: pxedump.c32 --cached Mostly useful with a serial connection, to capture the lengthy output Signed-off-by: Shao
2005 Oct 08
2
No incoming calls from chan_capi 0.6
Hello, I'm trying to use the version 0.6 of chan_capi-cm for outgoing calls it works perfectly but for incoming calls it doesn't work. I tried to set an extension to dial my from-pstn context and it works. So I think there's a problem with my capi.conf or something... Here's a debug when calling -- CONNECT_IND (PLCI=0x101,DID=9100,CID=46720XXXX,CIP=0x4,CONTROLLER=0x1)
2010 Mar 31
2
Asterisk hangup all outging calls after 32 seconds
(Sorry, but my english is not good) Hi, I have a problem with my new asterisk instalation. I search in google but I couldn't find nothing. Here's the thing. Before, we have 2 asterisk servers, each one with a E1 card. one with a Digium TE105 and the another with a A104 and we have a very simple setup. A Linux IBM X4300 Server is running CentOS 5.4 + Asterisk 1.6.2 (one month ago I
2011 Jun 06
2
Taking Integral and Optimization using Integrate, Optim and maxNR
Dear All, Hello! I have some questoins in R programming as follows: Question 1- How to take the integral of this function with respect to y, such that x would appear in the output after taking integral. f(x,y)=(0.1766*exp(-exp(y+lnx))*-exp(y+lnx))/(1-exp(-exp(y+lnx))) y in (-6.907,-1.246) It is doable in maple but not in R. At least I could not find the way. p.s: result from maple is:
2005 Mar 13
5
possible bug in chan_capi concerning context handling
Hello, I am trying to configure asterisk 1.0.7pre to get incoming calls from an ISDN line using an AVM fritz PCI 2.0 with Chan_capi 0.3.5. My problem is that the context is not recognised in the /etc/asterisk/capi.conf I have in /etc/asterisk/capi.conf 's section "[interfaces]" the following directive context=isdn and the following directive in /etc/asterisk/extensions.conf in
2023 Jan 30
1
[PATCH 01/23] block: factor out a bvec_set_page helper
Add a helper to initialize a bvec based of a page pointer. This will help removing various open code bvec initializations. Signed-off-by: Christoph Hellwig <hch at lst.de> --- block/bio-integrity.c | 7 +------ block/bio.c | 12 ++---------- include/linux/bvec.h | 15 +++++++++++++++ 3 files changed, 18 insertions(+), 16 deletions(-) diff --git a/block/bio-integrity.c
2013 Apr 09
1
Solving an integral in R gives the error “The integral is probably divergent”
I am trying to solve an integral in R. However, I am getting an error when I am trying to solve for that integral. The equation that I am trying to solve is as follows: $$ C_m = \frac{{abs{x}}e^{2x}}{\pi^{1/2}}\int_0^t t^{-3/2}e^{-x^2/t-t}dt $$ [image: enter image description here] The code that I am using is as follows: a <- seq(from=-10, by=0.5,length=100) ## Create a function to compute
2009 Aug 18
1
ggplot2: geom_smooth and legend
Hi all, Is that possible to remove the grey colour in the legend key that goes with the geom_smooth? In my case it doesn't ease the reading of the legend. http://www.4shared.com/file/125864977/e10644f8/desorb.html Cordialement / Regards ------------------------------------------- Benoit Boulinguiez Ecole de Chimie de Rennes (ENSCR) Bureau 1.20 Equipe CIP UMR CNRS 6226 "Sciences
2005 Jan 28
1
printing Problems in Samba 3.0.10
Hi all, we are using Samba for a year in our departement. It replaced a dedicated win2k-server for printer and file sharing. We are quite happy with it, but we have still some problems. Does anyone of you know solutions to this: 1. We are using HP Laserjet 4300 in our departement. Driver ( origial PS drivers from HP website) installation was successfull and basic functionality works, but some
2009 Dec 10
2
Problem with coeftest using Newey West estimator
Hi, I want to calculate the t- and p-values for a linear model using the Newey West estimator. I tried this Code and it usually worked just fine: > oberlm <- lm(DYH ~ BIP + Infl + EOil, data=HU_H) > coeftest(oberlm, NeweyWest(oberlm, lag=2)) t test of coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept) 0.1509950 0.0743832 2.0300 0.179486 BIP
2010 Sep 10
3
ggplot bar geom: control the filling in the colour legend
Hi all, Is it possible to change the filling of the squares used to represent the colour legend in a bar plot with ggplot? in this example, fillings are raven black, I'd like them white. ggplot(diamonds, aes(clarity, colour = cut)) + geom_bar() Regards -- ------------- Benoit Boulinguiez Ph.D student Ecole de Chimie de Rennes (ENSCR) Bureau 1.20 Equipe CIP UMR CNRS 6226 "Sciences
2003 Nov 04
3
interfacing C into R and R packages
Hi, I would like to interface a C code into R. Is it possible to use in the C code, functions from a R package (for instance, to use pmvnorm within loops in the C code and to call the result in a R function)? Nathalie
2003 Jun 30
4
french map
Hello, I would like to know if (as the usa map with Splus), it is possible with R to plot the french map and to add points (representing towns for instance) on the figure in the appropriate (x,y) system. Thank you. Nathalie Peyrard
2010 Jul 23
1
Survival analysis MLE gives NA or enormous standard errors
Hi, I am trying to fit the following model: sr.reg.s4.nore <- survreg(Surv(age_sym4,sym4), as.factor(lifedxm), data=bip.surv) Where age_sym4 is the age that a subject develops clinical thought problems; sym4 is whether they develop clinical thoughts problems (0 or 1); and lifedxm is mother's diagnosis: BIPOLAR, MAJOR DEPRESSION, or CONTROL. I am interested in whether or not
2007 Dec 06
1
Integral implicit function
Hi, Could somebody help me with the following. I want to calculate the integral over an implicit function. I thought to integrate over a function depending on uniroot. In previous topics I found a thread about finding the root of an integral. And that works. But the other way around, does not work. Does R support this? I included the following example. The function in the example is very easy