Displaying 20 results from an estimated 1000 matches similar to: "0.3 is not 0.3, bug in seq() function?"
2009 Mar 21
3
Retrieving Vertices Coordinates from SpatialPolygons
Dear List,
I'm trying to use different R packages for my Teaching Assistantship
classes. And I cam out to an (apparently) very simple problem. I would
like to retrieve the vertices coordinate of a SpatialPolygon data. I
know this is stored in the "coords" slot, but I can't get access to
it! I tried to coerce the SpatialPolygon into a data.frame but it
doesn't work.
2009 Dec 11
1
how to simulate brown, white and pink noise time series
Dear List,
Is it possible to simulate a time-series in R based on 1/f noise?
Many Thanks
Enrico Crema
---------------------------------------
Enrico R. Crema
PhD Candidate
Institute of Archaeology, UCL
AHRC Centre for the Evolution of Cultural Diversity, UCL
Centre for Advanced Spatial Analysis, UCL
Personal Webpages:
http://www.cecd.ucl.ac.uk/people/?go1=91
2010 Dec 20
4
Time Series of Histograms
Dear List,
I have a set of distributions recorded at an equal interval of time and I would like to plot them as series of horizontal histograms (with the x-axis representing time, and y-axis representing the bins) since the distribution shifts from unimodal to multimodal in several occasions. What I would like to see is something close to a violinplot, but I do not want a kernel density
2013 May 01
1
selecting rows based on multiple criteria
Dear List,
I am struggling with the following problem.
Suppose I have the following data.frame:
coord<-expand.grid(x=1:10,y=1:10)
and I want to extract the row numbers of those matching the criteria defined by the following data.frame:
choice<-data.frame(x=c(2,1,2),y=c(1,2,2))
the result should return in this case:
2,11,12
All I managed to do is the following:
which(data
2010 Dec 19
3
monthly median in a daily dataset
Hello,
I have a multi-year dataset (see below) with date, a data value and a flag
for the data value. I want to find the monthly median for each month in this
dataset and then plot it. If anyone has suggestions they would be greatly
apperciated. It should be noted that there are some dates with no values and
they should be removed.
Thanks
Emily
> print ( str(data$flow$daily) )
2012 Jun 18
6
Inconsistency using seq
Hi all,
Is there any problem of precision when using seq?. For example:
x<- seq(0,4,0.1)
x[4]=0.3
BUT:
x[4]-0.3=5.551115e-17
It means when I use this condition within an if clause, it does not find
values with 0.3 for x[4] as it is not precisely 0.3.
Is there any bug in seq() ?
--
View this message in context: http://r.789695.n4.nabble.com/Inconsistency-using-seq-tp4633739.html
Sent from
2009 Jul 23
2
Bug in seq() (PR#13849)
Full_Name: Jeremiah Cohen
Version: 2.9.0
OS: Windows XP
Submission from: (NULL) (129.59.230.235)
I believe there is a bug in the seq() function for certain values of the "from"
argument. Here are examples:
> seq(-.2, .1, .1)
[1] -0.2 -0.1 0.0 0.1
> seq(-.3, .1, .1)
[1] -3.000000e-01 -2.000000e-01 -1.000000e-01 5.551115e-17 1.000000e-01
> seq(-.4, .1, .1)
[1] -0.4 -0.3
2012 Oct 09
8
unexpected should_receive behaviour
Hi,
surely I''m missing something... but what!?
in my spec I''ve
User.should_receive(:find).with("1").and_return(@user)
and in my controller
User.find(params[:id])
green light... correct...
but if I change my controller using another method, for example first:
User.first
or even
User.all
I get green light too... I was expecting an error like
expected: 1 time
2004 Aug 18
1
SecureCRT, OpenSSH, and keys
Hello all. I have been searching the web for a formula to get openssh and securecrt ssh2 keys working properly. Does anyone have a set of directions?
I have attempted creating keys in securecrt and converting them (ssh-keygen) to OpenSSH keys. I have attempted using OpenSSH's keys, but nothing seems to take. Any advice will help. Thank you.
OpenSSH v3.8
SecurCRT v4.1.7
-g
2020 Jun 25
5
Users, home directories and profiles
On Tue, 23 Jun 2020 14:56:57 +0200
Enrico Morelli via samba <samba at lists.samba.org> wrote:
> On Tue, 23 Jun 2020 12:37:16 +0200
> Enrico Morelli via samba <samba at lists.samba.org> wrote:
>
> > On Mon, 22 Jun 2020 13:54:38 +0100
> > Rowland penny via samba <samba at lists.samba.org> wrote:
> >
> > > On 22/06/2020 13:50, Enrico Morelli
2009 Apr 07
3
Logging Asterisk console
Hi all, in witch way can I put in a log file the asterisk console?
I have tried with some settings in file logger.conf but the log not
contain the same debug that I can see with "asterisk -rvvv".
I need it in debugging purpose for tracking some bug.
Thanks Enrico.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type:
2008 Jul 14
4
Zaptel problem with pots lines
Hi,
I'm trying to get up and running a TDM400 with a standard italian pots
line but i'm having
problems at getting asterisk to detect when the line get answered on
outgoing calls.
I'm using asterisk 1.6 beta 9 with zaptel 1.4.11.
I tried with and without answeronpolarityswitch=yes but it didn't change
anything at all.
With callprogress=yes answer get never detected.
With
2020 Jun 30
2
Users, home directories and profiles
Check the rights before the folder your trying to change.
Im guessing that now has 770, try 771 or 775 or 777
Greetz,
Louis
> -----Oorspronkelijk bericht-----
> Van: Enrico Morelli [mailto:morelli at cerm.unifi.it]
> Verzonden: dinsdag 30 juni 2020 14:44
> Aan: samba at lists.samba.org
> CC: L.P.H. van Belle
> Onderwerp: Re: [Samba] Users, home directories and profiles
2020 Jun 22
5
Users, home directories and profiles
On Mon, 22 Jun 2020 11:46:55 +0100
Rowland penny via samba <samba at lists.samba.org> wrote:
> On 22/06/2020 11:33, Enrico Morelli wrote:
> > [global]
> > dns forwarder = 150.217.1.32
> > netbios name = FIORGEN7
> > realm = CERM.UNIFI.IT
> > server role = active directory domain controller
> > workgroup = CERM
> > idmap_ldb:use rfc2307 =
2020 Jun 30
2
Users, home directories and profiles
On Tue, Jun 30, 2020 at 02:41:46PM +0200, Enrico Morelli via samba wrote:
> On Tue, 30 Jun 2020 11:01:27 +0100
> Rowland penny via samba <samba at lists.samba.org> wrote:
>
> > On 30/06/2020 10:40, Enrico Morelli via samba wrote:
> > > At the end I'll to abandon samba :-((
> > > I'm really sad
> >
> > One last thought, have you touched
2020 Jun 23
2
Users, home directories and profiles
On Mon, 22 Jun 2020 13:54:38 +0100
Rowland penny via samba <samba at lists.samba.org> wrote:
> On 22/06/2020 13:50, Enrico Morelli wrote:
> > On Mon, 22 Jun 2020 11:46:55 +0100
> > Rowland penny via samba <samba at lists.samba.org> wrote:
> >
> >> On 22/06/2020 11:33, Enrico Morelli wrote:
> >>> [global]
> >>> dns forwarder =
2008 Sep 10
3
(PR#12770) format() under Windows giv wrong resuts with
On Windows XP SP3
> format(pippo, format="%I:%M:%S %p")
[1] "11:43:12 PM"
In any case, if there is a problem it is in Windows, not in R, since this
is an Windows service that is being called. So there is no evidence at
all of any bug in R here.
On Wed, 10 Sep 2008, pego.enrico at tiscali.it wrote:
> Full_Name: Enrico Pegoraro
> Version: 2.7.2
> OS: Windows
2020 Jul 01
2
Users, home directories and profiles
On 01/07/2020 08:36, Enrico Morelli via samba wrote:
> On Tue, 30 Jun 2020 10:28:41 -0700
> Jeremy Allison via samba <samba at lists.samba.org> wrote:
>
>> On Tue, Jun 30, 2020 at 02:41:46PM +0200, Enrico Morelli via samba
>> wrote:
>>> On Tue, 30 Jun 2020 11:01:27 +0100
>>> Rowland penny via samba <samba at lists.samba.org> wrote:
>>>
2020 Jul 08
2
Users, home directories and profiles
On Wed, 8 Jul 2020 11:36:50 +0100
Rowland penny via samba <samba at lists.samba.org> wrote:
> On 08/07/2020 09:57, Enrico Morelli wrote:
> > On Wed, 8 Jul 2020 09:13:37 +0100
> > Rowland penny via samba <samba at lists.samba.org> wrote:
> >
> >> On 08/07/2020 08:06, Enrico Morelli wrote:
> >>> On Wed, 1 Jul 2020 13:03:50 +0100
>
2000 Apr 04
0
stochastic process transition probabilities estimation
Hi all,
I'm new with R (and S), and relatively new to statistics (I'm a
computer scientist), so I ask sorry in advance if my question is silly.
My problem is this: I have a (sample of a) discrete time stochastic
process {X_t} and I want to estimate
Pr{ X_t | X_{t-l_1}, X_{t-l_2}, ..., X_{t-l_k} }
where l_1, l_2, ..., l_k are some fixed time lags. It will be enough for
me to compute