Displaying 20 results from an estimated 300 matches similar to: "ODE's in R"
2009 Sep 04
5
< 0 x 0 matrix >
Hi,
Does anybody know, what is going on here?
> diag(sqrt(1))
[,1]
[1,] 1
> diag(sqrt(0.3333))
<0 x 0 matrix>
> sqrt(1)
[1] 1
> sqrt(0.3333)
[1] 0.5773214
BR, Markku Karhunen
researcher
University of Helsinki
2012 Oct 12
3
Loss of dimensions in subsetting arrays
Hi all,
I've been wondering for a long time why R drops the dimensions of an
array/matrix when you try to take a subset of one column. I mean this:
dim(A)
[1] 2 5 2
B=A[1,,]
dim(B)
5 2 # so now dim(B)[3] doesn't work
C=B[2,]
dim(C)
NULL # so now nrow(C) doesn't work
Typically, you can get rid of this by writing as.matrix, as.array(...)
but that generates extra lines of code.
2007 Apr 16
2
Matrix manipulation
Hi,
This is a very basic question, but apparently I am too stupid for it.
I have a large matrix A, and I need to avoid for loops. How could I
apply a function f(a,r,c) on each element of A, using the subscript (row
and column) of a as the other arguments?
Thanks in advance,
Markku Karhunen
National Public Health Institute,
Finland
2005 Mar 24
1
Robust multivariate regression with rlm
Dear Group,
I am having trouble with using rlm on multivariate data sets. When I
call rlm I get
Error in lm.wfit(x, y, w, method = "qr") :
incompatible dimensions
lm on the same data sets seem to work well (see code example). Am I
doing something wrong?
I have already browsed through the forums and google but could not find
any related discussions.
I use Windows XP and R
2005 Aug 17
2
About R variable references
Hello Group,
I could use an advice on how SEXP handles work. My aim is to implement a
system where I initially set a few global variables that are used for
communication between C and R code. Then I do some work with R code and
periodically call a function of my own that will update the system
state. Such a design is useful for many purposes (for GUIs to name one).
I am not entirely sure that R
2002 Oct 14
1
mount_smbfs: can't get handle to requester (no /dev/nsmb* device)
Hi all !
I have a little problem here mounting or browsing samba shares.
I have a FreeBSD 4.6.2 running samba, and a share on that called public.
when I try to mount that share it asks for password, and then gives an
error:
ex.
libra# mount_smbfs //maxi@samba/public /mnt
Password:
mount_smbfs: can't get handle to requester (no /dev/nsmb* device)
libra#
I can list the shares with
2008 Jul 10
2
[LLVMdev] Including svn version number in --version output
> I suppose to be annoyingly pedantic about it you could require a
> network connection for the build, check svn info and svn status and
> then set the version string based on whether or not there are local
> patches applied to the checkout - but that would probably fall under
> neurotic :)
Using svnversion (as the original patch does) does exactly this. It outputs
the rev
2003 May 25
1
SMS Service over SIP/IAX/h323/MCGP
The problem I have had with many SMS email gateways, is that they do not
allow to reply back. Of course, email is a superior service over SMS, but
does not really replace it ( - at least not until all the mobile phones have
email access on them...).
It would be nice if the SMS service would be available not only on
GSM/GPRS/etc., but also on any telephone number in the world - or at least
on
2005 Oct 25
2
solving ODE's in matrix form with lsoda()
Hello there,
Suppose you want to solve the following system of ODE's (a simple
Lotka-Volterra predator prey model)
dP/dt = beta*P*V - mu*P
dV/dt = r*V - beta*P*V
where P and V are the numbers of predators and prey. Now, this is
easy to do, but suppose you have a system of equations like this,
dP1/dt = beta1*P1*V1 - mu1*P1
dP2/dt = beta2*P2*V2 - mu2*P2
dV1/dt = r1*V1 - beta1*P1*V1
2005 Apr 02
2
Building new graphic device drivers with g++
Dear Group,
I'm trying to build a set of new graphic device drivers. I use the
devNull example a a beginning point:
$ R CMD SHLIB devNull.c
gcc -shared -L/usr/local/lib -o devNull.so devNull.o
(everything works OK)
$ R CMD SHLIB devNull.cpp
g++ -shared -L/usr/local/lib -o devNull.so devNull.o
(everything works OK)
The difficulties start when trying to compile manually. I compile the
2008 Jul 10
0
[LLVMdev] Including svn version number in --version output
On Jul 9, 2008, at 8:40 PM, Chris Lattner wrote:
>
> We don't want another commit after every other commit. This should be
> set by the makefile when a build is done.
This isn't a commit, it's just a file that's not under version control
but created during update/checkout.
I suppose to be annoyingly pedantic about it you could require a
network connection for the
2005 Apr 06
1
Windows Server 2003 SP 1
Samba 3.0.11 with Winbind running on Redhat Enterprise Linux 3,
compiled with --with-pam (possibly another argument that I can't
remember at this second).
I applied it to my DC that is playing the PDC role today and all
of a sudden Winbind could not enumerate any Active Directory
information. Mind you, I'm not joined to the domain using Kerberos/ADS;
the libs that come with RHEL3 are
2017 Apr 04
0
M.2 PCI-E card
4.4.2017, 4.21, Alice Wonder kirjoitti:
>
> Thanks! I ordered a 2.5" SATA drive and they screwed up and sent me M.2
> - I'll be sure to look at the booklet (Intel SSD 5 but there may be more
> than one variant?)
Intel 5 series SSDs use SATA interface, so the discussion about NVMe
support doesn't apply in this case. You can use an adapter like this to
mount it in a
2019 Apr 14
0
Outliner
H kirjoitti 14.4.2019 klo 13.42:
> I would love to find an old-fashioned outliner, like the ones that used to exist prior to the modern GUIs.
Emacs outline mode?
https://www.gnu.org/software/emacs/manual/html_node/emacs/Outline-Mode.html
--
Markku Kolkka
markku.kolkka at iki.fi
2004 Apr 07
1
3.0.2a Windows XP can't find homes
Clients are Windows 2000; server is running Samba version
3.0.2a. We've been a W2K shop for some time but have started to get in
a few Windows XP systems (principally laptops). The issue we're
experiencing with the Win XP machines is that they can't map the homes
share, either through a VPN or when connected directly to the network
the samba server is on. All other shares remain
2012 Mar 11
1
CRAN (and crantastic) updates this week
CRAN (and crantastic) updates this week
New packages
------------
* EffectStars (1.0)
Maintainer: Unknown
Author(s): Gunther Schauberger
License: GPL-2
http://crantastic.org/packages/EffectStars
The package provides functions to visualize regression models with
categorical response. The effects of the covariates are plotted with
star plots in order to allow for an optical
2010 Nov 14
5
kalman filter
Hello,
I would like use Kalman filter for estimating parameters of a stochastic
model. I have developed the state space model but I don’t know the correct
way use Kalman filter for parameter estimation. Has anybody experience in
work with Kalman filter in R.
I don’t know the correct function. Maybe it is
- KalmanLike; but what is the correct Input?
- tsmooth?
-
2006 May 14
3
send_file and locking files after download?
Hello,
I''m working on a download service which grants users a one-time-download
access to files. The idea is to write an entry to a database table after
a successful download that "locks" the download link for the user.
After doing some quick tests with send_file I noticed that send_file
does not block until the user has downloaded the full file, but proceeds
with the
2012 Jan 17
1
A little confused with video drivers
Hello,
I have an HP Pavilion g series laptop with an ATI vision A6 video
chipset. I tried elrepos ati driver but found that the laptop would
freeze intermittently and frequently. So I unloaded that driver and am
running with nomodeset argument just to get a desktop.
I went to the ATI site but am not sure what to try. Would anyone know
which driver I could use that would work?
Thanks in
2013 Jan 17
1
Configure can't find SDL (Sort of OT)
One last issue:
I ran ./configure and got this:
checking for Mix_OpenAudio in -lSDL_mixer... no
*** SDL_mixer not found. Configuring without audio support.
config.log says:
configure:3145: checking for sdl-config
configure:3180: checking for SDL - version >= 1.0.1
configure:3265: gcc -o conftest -I/usr/include/SDL -D_GNU_SOURCE=1
-D_REENTRANT conftest.c -lSDL -lpthread 1>&5