Displaying 20 results from an estimated 500 matches similar to: "Event-triggered change in value with a time-delay"
2018 Apr 18
0
Event-triggered change in value with a time-delay
> On Apr 18, 2018, at 1:04 AM, Hannah Meredith <hrmeredith12 at gmail.com> wrote:
>
> Hello,
>
> I am solving a set of ODEs using deSolve and have run into a problem I
> would appreciate some advice on. One of the parameters (m) in the ODEs
> changes between two states when one of the variables (D) crosses a
> threshold (D_T) for the first time in either direction.
2017 Aug 26
2
Register Allocation and Scheduling Issues
Hello,
I have defined 8 registers in registerinfo.td file in the following order:
R_0, R_1, R_2, R_3, R_4, R_5, R_6, R_7
But the generated assembly code only uses 2 registers. How to enable it to
use all 8? Also can i control the ordering like after R_0 can i use R_5
without changes in registerinfo.td?
What changes are required here? either in scheduling or register allocation
phases?
2011 Oct 03
1
Matrix/Vector manipulation
Hi guys,
Have the following problem computing vectors with pure vector algebra and end up reverting to recursion or for-looping.
Function my_cumsum calculates a weighted average (W) of ratios (R), but only up to the given size/volume (v). Now I recurse into the vector (from left to right) with what you have left from the difference of volume minus current weight, and stop when the difference is
2007 Jul 26
1
significance test for difference of two correlations
Dear R users,
how can I test, whether two correlations differ significantly. (I want to prove, that variables are correlated differently, depending on the group a person is in.)
Greetings from Freiburg im Breisgau (Germany),
Timo Stolz
2004 Nov 14
1
Combining expressions and objects within labels
Hello all,
I am an R novice and I have a simple question and hope somebody can help
me out.
I need to place several labels in a plot, this labels are some kind of
text and also some objects (which come from some more complicated R
calculations).
In one of this labels I'd like to place a superscript, however I cannot
find a way to place both the expression and the object in the same
2018 Mar 25
0
R-devel Digest, Vol 181, Issue 22
Thanks.
I am fully aware of what aggregate() returnes, and I can post-process this into the form I want ? if the names are available.
But for foo, the returned object is both different in structure and loses the name altogether:
foo <- function(x) { c(mean = base::mean(x)) }
str(aggregate(iris$Sepal.Length, by = list(iris$Species), FUN = foo))
## 'data.frame': 3 obs. of 2 variables:
2008 Jan 25
1
Poisson Maximum Likelihood Estimation
Hi
I am trying to carry out some maximum likelihood estimation and I'm not
making much headway, and I'm hoping that someone will be able to point me in
the right direction.
I am modelling mortality statistics. One way to do this is to model the
mortality rate (or, more accurately, log of the mortality rate, log_m) as
(say) a constant plus a proportion of age, plus time, so:
r_1 <-
2007 Nov 19
2
All nonnegative integer solution
Dear all,
Is there any method in R to find all possible nonnegative integer
solutions to the linear equation with unit coefficients as follow:
X1+X2+...+Xk=N
Thank you,
Amin Zollanvari
2017 Jun 25
0
AVX Scheduling and Parallelism
Hi, Zvi,
I agree. In the context of targeting the KNL, however, I'm a bit
concerned about the addressing, and specifically, the size of the
resulting encoding:
> vmovdqu32 zmm0, zmmword ptr [rax + c+401280] ;load b[401280] in
> zmm0
>
> vpaddd zmm1, zmm1, zmmword ptr [rax + b+401344]
> ; zmm1<-zmm1+b[401344]
The KNL can only
2008 May 07
1
dlm with constant terms
Hi,
I am trying to figure how to use dlm with constant terms
(possibly time-dependent) added to both equations
y_t = c_t + F_t\theta_t + v_t
\theta_t = d_t + G_t\theta_{t-1} + w_t,
in the way that S-PLUS Finmetrics does?
Is there any straightforward way to transform the above to
the default setup?
Thanks,
Tsvetan
--------------------------------------------------------
NOTICE: If received in
2017 Jun 25
2
AVX Scheduling and Parallelism
Hi Ahmed,
>From what can be seen in the code snippet you provided, the reuse of XMM0 and XMM1 across loop-unroll instances does not inhibit instruction-level parallelism.
Modern X86 processors use register renaming that can eliminate the dependencies in the instruction stream. In the example you provided, the processor should be able to identify the 2-vloads + vadd + vstore sequences as
2015 Jan 03
4
Potential cross-platform package building issue
I am using 32-bit R 3.1.2 on Windows 7.
I recently conducted an `R CMD check --as-cran` on a recently-developed
package and received only the 'New submission' note. Research on
StackOverflow and on R-devel suggested this could be ignored. I also used
devtools::build_win() and received no notes or warnings, other than the one
mentioned previously. Lastly, I conducted an `R CMD check` with
2017 May 10
4
strange system outage
I have a CentOS 7 system that I run a home grown python daemon on. I
run this same daemon on many other systems without any incident. On
this one system the daemon seems to die or be killed every day around
3:30am. There is nothing it its log or any system logs that tell me
why it dies. However in /var/log/messages every day I see something
like this:
May 10 03:35:58 localhost pure-ftpd: (tool at
2017 May 10
1
strange system outage
On Wed, May 10, 2017 at 3:05 PM, Alexander Dalloz <ad+lists at uni-x.org> wrote:
> Am 10.05.2017 um 20:40 schrieb Larry Martell:
>>
>> I have a CentOS 7 system that I run a home grown python daemon on. I
>> run this same daemon on many other systems without any incident. On
>> this one system the daemon seems to die or be killed every day around
>> 3:30am.
2019 Sep 11
2
'==' operator: inconsistency in data.frame(...) == NULL
Sorry, I can't reproduce the example below even on the same machine.
However, the following example produces the same error as NULL values in
prior examples:
> setClass("FOOCLASS",
+????????? representation("list")
+ )
> ma = new("FOOCLASS", list(M=matrix(rnorm(300), 30,10)))
> isS4(ma)
[1] TRUE
> data.frame(a=1:3) == ma
Error in
2008 Oct 06
1
Customizing SELinux Policy
Hi Guys,
After some moths the server has been running in SELinux Permesive mode
... Some avc: denied messages has been recored ... I thought it was
time to go to the next step and set SELinux Enforcing mode in the
server ... it is a mail(postfix+cyrus+sasl), web, snmp with mrtg,
squid sever with a local TLS configured for webmail access ... I took
a look to the Deployment Guide about how to do
2006 Apr 25
5
Heteroskedasticity in Tobit models
Hello,
I've had no luck finding an R package that has the ability to estimate a
Tobit model allowing for heteroskedasticity (multiplicative, for example).
Am I missing something in survReg? Is there another package that I'm
unaware of? Is there an add-on package that will test for
heteroskedasticity?
Thanks for your help.
Cheers,
Alan Spearot
--
Alan Spearot
Department of Economics
2012 Dec 03
2
Solving a multinomial gompertz partial differential equation in r
I haven't used r in quite a while but would like to get back into it. I
have a problem that I would like to solve with r. I have some multinomial
data that looks to follow an asymmetric sigmoidal growth pattern. Solving
a multinomial gompertz partial differential equation in r is what I’m after.
Would anyone be able to provide me the code and packages to do something
like this?
Regards,
2009 Feb 02
1
Getting 'LinkingTo' to find the right library
I am experimenting with exporting pointers to some of the functions in
deSolve so that other packages may import them, using the
'R_RegisterCCallable' mechanism. I have added a header file and some
other C code in inst/include of the deSolve source package that need to
be accessible to other packages. I have a site-library set up in
Rprofile.site where all installed packages go, and as
2009 Jun 12
2
External signal in ODE written in C (using deSolve and approx1?)
Dear list
The deSolve package allows you to specify the model code in C or Fortran.
Thanks to the excellent vignette this works fine. However I have not yet
managed to use forcing functions in C code.
In pure R code this works very well with approxfun() specified outside the
model:
###############################################
#Model
lvml <- function(t, x, parms) {