Displaying 20 results from an estimated 4000 matches similar to: "Finding the last value before a certain date"
2012 Dec 17
3
mean of each month in data
Dear R users,
[in case the format of email is changed or you dont finf it easy to understand, i have attached a text file of my question]
i have the data in the following format and i want to convert it in the
format given at the end.
Ta ans Sa are the names of certain cities. there are 69 cities in my
data.
column 1 is representing station name (i am writing the data of only
two cities for
2006 Jan 02
2
mouse position without event
Hello,
Is it possible somehow to get mouse coordinates without using the event
mechanism ?
I need to get the current mouse position to initialize some div position,
but not at page load
Tarek
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
2006 Apr 07
3
Pointer position on keypress event?
Hi.
Is there any straightforward way to tell pointer position (x, y)
upon keypress? In original wxWidgets, wxKeyEvent supports GetX()
and GetY() methods, but wxRuby''s KeyEvent object does not have
one. I also checked with event.methods and event.instance_variables.
Do I need to keep track of pointer position by evt_motion?
--
Taisuke Yamada <tyamadajp@spam.rakugaki.org>,
2008 Oct 23
1
Getting the panel location of a xyplot matrix using a mouse click in a GDCanvas
Hi:
I would like to find out the panel of a xyplot matrix where a mouse clicked.
I know this functionality is already bundled in trellis.focus but I can't
use it because I am coding a stand alone application in Java using with
GDCanvas as a graphics device.
I tried calling trellis.focus from Java with:
re.eval("t = trellis.focus()"));
However it did not work for an embedded
2006 Oct 17
2
Inaccurate CDRs
Hello,
i have call time irregularites in my asterisk CDR. I a currently using a
mysqly backent to save CDR records and use this to generate bills at the end
of each month. However, my users are complaining that they gety charged for
even uncompleted calls (i.e. calls they make whaich have already be setup
but canclled). i have noticed that only 'AWNSERED' and 'Busy' show up in my
2006 Sep 12
1
Patch to wxMouseEvent.h
This patch just applies some const tags that were missing (does this
affect anything at all?) and removes a definition that was causing a
conflict.
Roy
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2018 May 05
1
error in chol.default((value + t(value))/2) : , the leading minor of order 1 is not positive definite
Dear friends - I'm having troubles with nlme fitting a simplified model
as shown below eliciting the error
Error in chol.default((value + t(value))/2) :
? the leading minor of order 1 is not positive definite -
I have seen the threads on this error but it didn't help me solve the
problem.
The model runs well in brms and identifies the used parameters even with
fixed effects for TRT?
2003 May 08
1
strange behaviour of certain fields in data frame after rbind
Can anybody explain me what is going wrong with the rbind command or how
I could avoid the problem?
I have a script with loops which time has a dataframe as output (called
T2sbdata). After each loop I would like to append that dataframe to the
results I obtained from the previous loops (called T2sbdataALL) and use
for that purpose rbind.
Below a part of the loop and the result I get. The
2011 Sep 22
1
R.oo: do work on data member at construction
Hello,
I'd like to 'do work' on data members upon construction (i.e. without
implementing it in a get method). Is this the best way to create data member
'z' upon construction? I'm thinking if .z=paste(x,y) below gets more complex
I'll run into issues.
setConstructorS3("MyClass", function(x=NA,y=NA,...) {
this <- extend(Object(), "MyClass",
2012 Jul 10
2
estimation of NA by predict command
Dear arun and all R users,
I will first of all try to simply define my issue..
I have data in the following format
Year Discharge
dd/mm/yyyy x
.. …
… …
There are some NA values in the discharge which I would like to predict by using “predict command”. I cant figure out the way to write the coding for that. Could you please help me on that???
I have also ,written
2011 Apr 13
1
Modelo para datos de conteos (Manuel Spínola)
Una distribución binomial negativa podría ser adecuada. De hecho, una
extensión de la binomial negativa, como la distribución de Waring
generalizada, termina convergiendo a una distribución binomial negativa.
Puedes ver que la mejora en la bondad del ajuste de la binomial negativa
con respecto a la Poisson es sustancial (te muestro también las salidas.).
datos<-c(1280, 1262, 1290, 1321,
2009 Apr 22
4
Problem with "apply"
Hi R users,
I am trying to assign ages to age classes for a large data set (123,000 records), and using a for-loop was too slow, so I wrote a function and used apply. However, the function does not properly assign the first two classes (the rest are fine). It appears that when age is one digit, it does not get assigned properly.
I tried to provide a small-scale work-up (at the end of the
2009 Jan 14
1
publication statistics from Web of Science
Dear list,
This is a bit of an off-topic question, but I'm hoping to get some
advice from more experienced people. I've used the website "Web of
Science" to manually collect publication counts responding to several
keywords as a function of date, since the 1960s.
http://apps.isiknowledge.com/RAMore.do?product=UA&search_mode=&SID=P1g9lFJp9 at
1999 Dec 07
4
Finding indices with a certain property
I want the indices i for which x[i] < 0 (say):
> x <- c(1, -1, 3, 3, -2)
> where.negative(x)
[1] 2 5
Surely where.negative is something simple, but how?
G?ran
--------------------------------------------------------------
G?ran Brostr?m
Department of Statistics tel: +46 90 786-5223
Ume? University fax: +46 90 786-6614
S-90187 Ume?, Sweden
2014 Dec 29
2
smbd's using up 100% of all cpu's and load avg slowly going up
Hi,
I'm having problems in a second domain controller machine. Every time a
restart samba, few time after a samba process starts using almost 100% cpu.
It's a Centos 6.5 x86_64 with the following:
sernet-samba-libsmbclient0-4.1.6-7.el6.x86_64
sernet-samba-ad-4.1.6-7.el6.x86_64
sernet-build-key-1.1-4.noarch
sernet-samba-libs-4.1.6-7.el6.x86_64
sernet-samba-client-4.1.6-7.el6.x86_64
2014 Oct 13
2
[LLVMdev] Unexpected spilling of vector register during lane extraction on some x86_64 targets
Hello,
Depending on how I extract integer lanes from an x86_64 xmm register, the
backend may spill that register in order to load scalars. The effect was
observed on two targets: corei7-avx and btver1 (I haven't checked other
targets).
Here's a test case with spilling/no-spilling code put on conditional
compile:
#if __SSE4_1__ != 0
#include <smmintrin.h>
#else
#include
2012 Aug 15
4
which() function not finding certain numbers
Hi,
I am using 32-bit R v 2.15.1, on Mac OsX v 10.6.8 with R GUI 1.52 Leopard
build 32-bit (6188). I have also replicated this error on R 2.13.2 on a
windows 7 machine.
In some sequences of numbers, I am unable to use the which() function to
index certain values. It seems to be primarily numbers with a 3 in the
decimal.
For example:
> S=seq(0,4,0.01)
> which(S==2.02)
[1] 203
>
2014 Dec 29
2
smbd's using up 100% of all cpu's and load avg slowly going up
Hi,
Yes, I already thought about it.
I have the sernet repo installed.. Is possible to yum update and jump
from 4.1.6 to 4.1.14 directly, without problems or should I follow some
kind of procedure to avoid future problems?
Regards,
Bruno Andrade.
On 12/29/2014 01:46 PM, Rowland Penny wrote:
> On 29/12/14 12:02, Bruno Andrade wrote:
>> Hi again,
>>
>> Sorry, I forgot to
2014 Dec 29
2
smbd's using up 100% of all cpu's and load avg slowly going up
Hi again,
Sorry, I forgot to include the fd used...
13 -> /var/lib/samba/private/sam.ldb.d/DC=EXAMPLE,DC=COM.ldb
16 -> /var/lib/samba/private/sam.ldb.d/metadata.tdb
the others refers to /var/run/samba/winbindd/pipe
Regards,
Bruno Andrade.
On 12/29/2014 11:56 AM, Bruno Andrade wrote:
> Hi,
>
> Here is some output of "strace -ff -p" to the process using ~100% CPU
>
2000 Jun 29
2
Local Moran's I / Getis and Ord and Rousseauw Cluster Algorithms
Sorry for the repetition, unless I've got bad deja vu this questions been
asked before but I couldn't turn up an answer on CRAN. Is there already
any code in existence for local dependence measures such as Moran's I or
Getis and Ord G?
Also, S-Plus has a number of interstingly named Cluster Algorithms based on
some previous stand-alone fortran algorithms (agnes, daisy etc.) which