Displaying 20 results from an estimated 400 matches similar to: "Package DSE"
2005 Dec 23
1
dse package problems
I am having problems with the package dse. I just installed R 2.2.1
and reinstalled all packages. I am running Windows XP Pro with all
updates.
Below there are two examples of error messages generated when trying
to execute some simple programs. The code was taken directly from the
package documentation.
Any help on this will be greatly appreciated.
Merry Christmas
Fernando
2008 Jun 04
2
Constructing groupedData objects in nlme - a little problem
Dear R-help,
I am trying to create groupedData objects using the nlme library. I'm
missing something basic, I know:
Here is the first example in ch.1 of Pinheiro & Bates (2000):
library(nlme)
x2=Rail$travel;x1=Rail$Rail;eg1=data.frame(x1,x2);eg1gd=Rail
print(eg1gd)
x11();print(plot(eg1gd))
femodel=lm(x2~x1-1,data=eg1gd)
print(femodel$coefficients)
Result:
x12 x15 x11
2004 Feb 26
1
unable to install dse in mac OS X 10.3
I would like to request help with the installation of dse in raqua in mac
os x 10.3. I get the following error message after the messages indicating
that parts were successfully installed.
I would be most grateful for a solution.
-----------------------------------------
* Installing *source* package 'setRNG' ...
** R
** inst
** help
>>> Building/Updating help pages for
2005 Jul 11
2
Misbehaviour of DSE
Folks,
I am finding problems with using "dse":
> library(dse1)
Loading required package: tframe
Error: c("package '%s' required by '%s' could not be found", "setRNG", "dse1")
> library(dse2)
Loading required package: setRNG
Error: package 'setRNG' could not be loaded
In addition: Warning message:
there is no package called
2010 Oct 18
1
boxplot ranked x labels
Dear R users,
x-values (EI) = Adw, EG1, LA1, Ad1, LA2, LA3...(14 levels, insect
stages)
y-valus = antpop
within the boxplot function x-values are ordered alphabetically
Idea: x-values ranked by list order (insect stage: Egg stage 1 is
followed by Larvae 1 and not by Egg stage 2 as it would be in an
alphabetically order)
Problems with the order(tapply()) function: variable lengths
2006 Mar 16
0
Having trouble with plot.survfit and fun="cloglog"
I'm having trouble getting fun="cloglog" to work with plot on
a survfit object. Here are the data I used for the commands
that follow.
days status
2 0
2 0
5 1
9 0
14 1
16 0
16 0
17 0
29 1
30 0
37 1
37 0
39 1
44 0
44 0
58 0
60 1
67 1
68 1
82 1
82 1
86 0
86 0
89 1
93 0
97 1
100 0
100 0
100 0
> library(survival)
Loading required package: splines
> eg1.km <-
2009 Jan 06
2
[LLVMdev] LLVM Optmizer
The following C code :
#include <stdio.h>
#include <stdlib.h>
int TESTE2( int parami , int paraml ,double paramd )
{
int varx=0,vary;
int nI =0;
//varx= parami;
if( parami > 0 )
{
varx = parami;
vary = varx + 1;
}
else
{
varx = vary + 1;
vary = paraml;
}
varx = varx + parami + paraml;
for( nI = 1 ; nI <= paraml; nI++)
{
varx =
2004 Apr 16
1
Distributed lag model
Has anyone writtent an R function for estimating linear
models with distributed lags(using matrix algebra)?
Y(t) = Bo + B1Xt-1+ B2Xt-2+e
Thanks,
---------------------------------
[[alternative HTML version deleted]]
2004 Feb 15
1
Error Installing dse Package
Hi there,
I ran into some trouble trying to install the dse library on os 10.3
with RAqua as the installation of the dse1 package failed. On the R
console I got the error message
Warning message:
Installation of package dse had non-zero exit status in:
install.packages(ui.pkgs, CRAN = getOption(where), lib =
.libPaths()[1])
>
and the console of the os x said
gcc -bundle -flat_namespace
2005 Oct 05
1
(no subject)
hi all
why does the following not work???
this was someone elses code and i couldnt explain why it doesn't work.
m=matrix(c(0,0),2,1)
v=matrix(c(1,0,0,1),2,2)
Y=function(X1,X2,mu=m,V=v)
{
X=matrix(c(X1,X2),2,1)
a=(1/((2*pi)*sqrt(det(V))))*exp((-0.5)*(t(X-mu)%*%solve(V)%*%(X-mu)))
a[1]
}
x1=seq(-1,1)
x2=x1
Z=outer(x1,x2,FUN="Y",mu=m,V=v)
persp(x1,x2,Z)
my code:
2009 Jul 13
2
dse model setup help
I tried to specify a model in dse1 but something isn't right. Anybody
have any tips?
model<-SS(F=f,G=g,H=h,Q=q,z0=z,P0=p)
Error in locateSS(model$R, constants$R, "R", p, p, plist) :
The dimension of something in the SS model structure is bad.
> dim(f)
[1] 5 5
> dim(g)
[1] 5 1
> dim(h)
[1] 1 5
> dim(q)
[1] 5 5
> dim(z)
[1] 5 1
> dim(p)
[1] 5 5
thanks,
Bob
2009 Jan 07
3
[LLVMdev] LLVM optmization
The following C test program was compiled using LLVM with -O3 option and MSVC with /O2.
The MSVC one is about 600 times faster than the one compiled with the LLVM.
We can see that the for loop in MSVC assembler is solved in the optimization pass more efficiently than that in LLVM.
Is there an way to get a optimization result in LLVM like that of the MSVC?
Manoel Teixeira
#include
2011 Jan 20
2
adding text to y-axis per row of panels (lattice)
Dear all,
Being a newbie to R, I've trawled through many old posts on this list
looking for a solution to my problem, but unfortunately couldn't quite
figure it out myself. I'd be very grateful if someone here on this
list could perhaps help me out.
I have a lattice plot with several panels and would like to add some
text next to the y-axis on the right hand side of each row of
2003 Jun 10
1
dse package - load failure
Dear Paul,
Hello R Maintainers,
I'm for the first time here and I hope its the right place to give the
following information:
The contributed R-package "dse" fails to be loaded from the menu button(s).
The reason is that it contains 4 sub-packages, dse1, dse2 ..., so the
DESCRIPTION file cannot be found. - One has to load it manually! -
Try it ... - It is possible to correct this?
2017 Apr 28
2
ggplot dentro de una función
Hola a todos,
Partiendo de:
library(ggplot2); library(data.table)
datos <- data.table(Date = seq.Date(as.Date("2017-01-01"),
as.Date("2017-01-10"),
by = "day"),
V1 = rnorm(10),
V2 = rnorm(10))
Quiero crear una función para pintar un gráfico cuyos argumentos sean
2003 Apr 23
1
Bug in versioned install (was: (fwd) R-1.7.0 : Problem with Downloading "dse") (PR#2827)
The reason dse won't install is because of the new versioned install
code. It assumes that it's dealing with a plain package, and doesn't
handle bundles properly.
Robert, could you look at that?
A workaround is as follows. After the install.packages call fails
with this message
>Error in file(file, "r") : unable to open connection
>In addition: Warning message:
2003 Jun 10
1
Fwd: dse package - load failure
Hello,
Sorry a second time again,
Maybe I have to add that I'm running R under Windows 2000/XP, and
that the download works properly under 1.062 but not under 1.070.
Diethelm
>Date: Tue, 10 Jun 2003 19:25:33 +0200
>To: r-devel@stat.math.ethz.ch
>From: Diethelm Wuertz <wuertz@itp.phys.ethz.ch>
>Subject: dse package - load failure
>Cc: pgilbert@bank-banque-canada.ca
2008 Feb 26
2
Combining series of variables using identifier
R users,
I have df like this
a <- data.frame( indx = 1:20,
var1 = rep(c("I20", "I40", "A50", "B60"), each=5),
var1_lab= rep(c("cat", "dog", "mouse", "horse"), each=5),
var2 = rep(c("B20", "X40", "D50",
2012 Feb 18
3
foreach %do% and %dopar%
Hi everyone,
I'm working on a script trying to use foreach %dopar% but without success,
so I manage to run the code with foreach %do% and looks like this:
The code is part of a MCMC model for projects valuation, returning the most
important results (VPN, TIR, EVA, etc.) of the simulation.
foreach (simx = NsimT, .combine=cbind, .inorder=FALSE, .verbose=TRUE) %do% {
MCPVMPA = MCVAMPA[simx]
2005 May 18
1
dse VAR models
Hi,
Can anyone tell me how to construct a simple VAR(1) time series with two
variables using the dse package? I would like to end up with two time series
y_1t = \phi_11 y_1,t-1 + \phi_12 y_2,t-1 + e_1t
y_2t = \phi_21 y_1,t-1 + \phi_22 y_2,t-1 + e_2t
Best regards,
Sam.