Displaying 20 results from an estimated 10000 matches similar to: "r: integration question"
2005 Mar 10
1
R: LIST function and LOOPS
hi all
another simple question.
i've written a dummy program so that you get the concept. (the code
could be simplfied such that there are no loops. but lets leave the
loops in for now.)
z1<-function(w)
{
for (i in 1:w)
{
set.seed(i+6)
ss<-0
for (j in 1:5)
{
set.seed(j+1+(i-1)*6)
r<-rnorm(1)
ss<-ss+r
}
list(ss=ss)
}
}
check.1<-z1(3)
check.1
the results is:
$ss
[1]
2005 Oct 10
2
R: integration problem
hi all
an integration problem. i would like an exact or good approximation for
the following, but i do not want to use a computer. any suggestions:
integral of exp(b*x)/sqrt(1-x^2)
where "b" is a constant greater than or equal to 0
and
the integral runs from 0 to 1
any help would be apreciated
/
allan
2002 Aug 06
1
Questions about lexical scope
Dear R-users,
The numerical integration example given in Gentleman and Ihaka (2000),
"Lexical Scope and Statistical Computing," JCGS, 9, 491-508,
is very interesting and helpful in understanding how lexical scope
is about.
However, I got some questions that I just can't figure out.
First all, allow me to copy the two functions given by the authors:
midpoint <- function(f, a,
2010 Jan 22
4
facter question
int he example below I run facter looking for the fact "sp_serial_number". as you can see, the command facter sp_serial_number returns nothing, but the fact is there and is returned when just running facter and grepping for the fact.
Some fact seem to work and others do not. any ideas?
marcuspro:~ allan$ facter --version
1.5.7
marcuspro:~ allan$ facter sp_serial_number
marcuspro:~
2005 Mar 17
1
Last guy to get BV working outbound?
I have tried everything to get BV working outbound. All worked fine
until the BV change last week. I called BV and they changed me to sip
gen with a new password. I stripped my Asterisk server to one phone on
Zap/1 until I get this working. The same BV account works fine with a
SPA-3000 so I don't suspect a firewall problem.
Symptoms: Asterisk registers with BV Ok
Incoming calls work
2005 Jan 12
2
Unofficial Broadvoice-users query/offer and DID routing question
Let me start by stating that I've been thinking about setting up an
unofficial broadvoice-users mailing list for a while. I've asked
Broadvoice techs about it a couple times by phone and email and it looks
like they haven't passed it up to the people who would make that
decision or said people aren't interested in creating/maintaining one.
If there's enough interest (read 10
2005 Jan 26
4
A working BroadVoice config example
I finally got my incoming and outgoing to work on Broadvoice with a
configuration file that is no where close to the one given by them.
Here it Is (sip.conf). For others who have a working config could u please
share so that I could compare. Thank You
[broadvoice]
type=friend
username=[number]
fromuser=[number]
secret=[password]
host=sip.broadvoice.com
fromdomain=sip.broadvoice.com
2005 Jul 07
2
r: LOOPING
hi all
i know that one should try and limit the amount of looping in R
programs. i have supplied some code below. i am interested in seeing how
the code cold be rewritten if we dont use the loops.
a brief overview of what is done in the code.
==============================================
==============================================
==============================================
1. the input
2014 May 19
2
Tripp Lite SMART3000RM2U (protocol 3003) running time and charge?
Hello,
First of all thank you so much for the information.
At 22:43 -0400 on 2014-5-15 Charles Lepple wrote:
>
> On May 15, 2014, at 9:39 PM, Stefan Bruda wrote:
>
> > What bugs be though is that I cannot seem to be able to read the
> > remaining run time on battery. The battery charge is also widely
> > inaccurate (it drops to zero really fast and stays
2005 Mar 03
1
Asterisk@Home .6 Problems with outbound calls using Broadvoice
Hello All, I have one X100P card for inbound calls. I use two Broadvoice
SIP accounts for all my outbound calls. I'm unable to place calls using
BV. Inbound BV calls are ok.
Verbosity is at least 3
-- Executing Macro("SIP/201-365c", "dialout-default|XXXXXXX") in new
stack
-- Executing GotoIf("SIP/201-365c", "1?4") in new stack
-- Goto
2014 May 20
0
Tripp Lite SMART3000RM2U (protocol 3003) running time and charge?
On May 19, 2014, at 7:12 PM, Stefan Bruda wrote:
> Hello,
>
> First of all thank you so much for the information.
No problem, glad it is useful.
> [...]
> Therefore as far as my UPS is concerned s_value[5] is wildly
> incorrect.
So it turns out that the RM15002U also does not report anything useful for s_value[5]:
2005 Feb 13
1
Broadvoice international dialling question
I'd be grateful if someone could point me in the right direction.
I have a Broadvoice trunk attached to Asterisk which I use for frequent
calls to the UK using the following in extensions.conf
exten => _0[1-68].,1,Ringing
exten => _0[1-68].,2,Dial(SIP/BV/01144${EXTEN:1})
exten => _0[1-68].,3,Hangup
The caller hears immediate ringing, though it seems that Broadvoice
2005 May 23
4
Broadvoice delivers CID even when restricted?
I can call my Broadvoice DID from a outbound caller-id blocked phone,
and BV happily delivers the CID to Asterisk (and then on to my IP phone
display.) I've tested with the *67 prefix from a PSTN phone to make
sure it was supposed to be blocked. The number is always correct, but
sometimes the the caller ID name is set to something funky (like a CO or
switch center name.)
I *think* this
2005 Feb 08
1
Can only call VoIP SIP Providers (Weird)
I'm using Asterisk 1.0.4 with AMP and Broad Voice.
I have that with only 5 XTen Lite phones.
I'm able to call / etc with internal phones just fine.
I can call outside Vonage Numbers, and other
BroadVoice Numbers. I have vonage where I live (626)
and can call that fine. However, other 626 numbers I
get similar errors as below.
However, everytime, I try to call cell phones, and or
2016 May 23
1
Compile Samba for Windows Use - SMBClient.exe mainly
I just wanted to give everyone a update. I was able to compile the smbclient.exe file successfully using Samba 3.6.25. Compiling the entire suite fails but all I was after was the client. I referenced back to an old post here https://lists.samba.org/archive/samba-technical/2007-September/055557.html that had instructions on compiling on Windows. Used it as a rough guide. Long story short:
2016 Jan 06
3
Stymied with samba vs openldap SSL ("Failed to issue the StartTLS instruction...")
On Wed, Jan 6, 2016 at 10:36 AM, Graham Allan <allan at physics.umn.edu> wrote:
> On 01/06/2016 09:53 AM, Graham Allan wrote:
>
>>
>> The packet dump is a good idea. I get the same failure using straight
>> SSL to port 636, but wireshark might be able to decode any StartTLS
>> negotiation attempt on the default port. Failing that I guess I'll
>>
2005 Feb 07
2
Broadvoice issues
Hi all,
I signed up for BV over the weekend. I have set everything up as per
their howto. I can receive calls to my BV number but cannot make any.
I'm running CVS head 1/30/2005 so assume that the patch is already in my
code. Am I correct? Is it the patch that's stopping me from making calls?
Mark
2005 Sep 06
1
R: optim
hi all
i dont understand the error message that is produced by the optim
function. can anybody help???
ie:
[[1]]$message
[1] "CONVERGENCE: REL_REDUCTION_OF_F <= FACTR*EPSMCH"
can anyone help?
###########################################################################
SK.FIT(XDATA=a,XDATAname="a",PHI1=1,v=5,vlo=2,vhi=300,phi2lo=.01)
[[1]]
[[1]]$par
[1] -0.01377906
2018 May 21
2
[RFC PATCH net-next 10/12] vhost_net: build xdp buff
On Mon, 21 May 2018 17:04:31 +0800 Jason wrote:
> This patch implement build XDP buffers in vhost_net. The idea is do
> userspace copy in vhost_net and build XDP buff based on the
> page. Vhost_net can then submit one or an array of XDP buffs to
> underlayer socket (e.g TUN). TUN can choose to do XDP or call
> build_skb() to build skb. To support build skb, vnet header were also
2002 Jun 08
3
contour plot for non-linear models
Hello all,
I've tried to reproduce the contour plot that appears in the book of
Venables and Ripley, at page 255. Is a F-statistic surface and a
confidence region for the regression parameters of a non-linear model.
It uses the stormer data that are in the MASS package.
I haven't been able to reproduce the plot either in R ( version 1.5 )
and S. It makes the axes and it puts the