Hi all,
I have this problem with lattice that xyplot() won't draw some of my axis
labels if the type (i.e. the relation argument) of scales is set as free. For
example, in the plot below, I would want it to also show:
1. the labels E1,...E6 below the 10th panel (i.e. 3rd row, 2 col)just as
Hi list,
in the Rglpk_solve_LP function (::Rglpk),
on line 26, the function calls a function
as.glp_bounds() that i cannot access.
i'm trying to alter the Rglpk_solve_LP function
to add a line to retrieve column/row dual values.
everytime i change the slightest line of code inside
Rglpk_solve
Hi list,
I have two question relating to the Rsymphony package:
a) is there a way to use 'warm starts' ?
i.e. if i successively call Rsymphony_solve_LP()
with only one constraints change, does it perform the optimization
from the simplex-origin or does it uses the previously found solution
[i.e.
kaveh vakili ulb.ac.be> writes:
>
> Dear List,
>
> I'd like to call pyhton function from within R. I tried installing the latest
> version of RSPython:
>
> wget http://www.omegahat.org/RSPython/RSPython_0.7-1.tar.gz
> R CMD INSTALL --clean RSPython_0.7-1.t
Dear List,
I'd like to call pyhton function from within R. I tried installing the latest
version of RSPython:
wget http://www.omegahat.org/RSPython/RSPython_0.7-1.tar.gz
R CMD INSTALL --clean RSPython_0.7-1.tar.gz
I get a compile error (posted below).
Did anyone else run against this ? Is the
ength(a1)
for(i in 2:j){
a1[i]<-a1[i-1]*a1[i]
}
a1
}
>> system.time(cadd(a1))
> user system elapsed
> 1.344 0.004 1.353
>> system.time(cumprod(a1))
> user system elapsed
> 0.004 0.000 0.002
>> system.time(looop(a1))
> user system elapsed
1)
for(i in 2:j){
a1[i]<-a1[i-1]*a1[i]
}
a1
}
>system.time(cadd(a1))
> user system elapsed
> 1.344 0.004 1.353
>system.time(cumprod(a1))
> user system elapsed
> 0.004 0.000 0.002
>> system.time(looop(a1))
> user system elapsed
> 0.772 0.0
i in 2:j){
a1[i]<-a1[i-1]*a1[i]
}
a1
}
>
> system.time(cadd(a1))
user system elapsed
1.344 0.004 1.353
> system.time(cumprod(a1))
user system elapsed
0.004 0.000 0.002
> system.time(looop(a1))
user system elapsed
0.772 0.000 0.775
>
ength(a1)
for(i in 2:j){
a1[i]<-a1[i-1]*a1[i]
}
a1
}
>>
>> system.time(cadd(a1))
> user system elapsed
> 1.344 0.004 1.353
>> system.time(cumprod(a1))
> user system elapsed
> 0.004 0.000 0.002
>> system.time(looop(a1))
> user system el
Hi all,
I was wondering whether it is possible to use the lapply() function
to alter the value of the input, something in the spirit of :
a1<-runif(100)
a2<-function(i){
a1[i]<-a1[i-1]*a1[i];a1[i]
}
a3<-lapply(2:100,a2)
Something akin to a for() loop, but using the lapply() infrastructure.
I ha
Dear list moderator,
I'm sending you a solution i found to the question i asked the list yesterday
(i have not been able to figure out how to post it to the list directly).
elly<-function(w,col=array(1,dim(w)[1]),pch=array(1,dim(w)[1])){
p<-dim(w)[2]
op<-par(mfrow=c(3,3),mar=c
Hi dear list,
I'm scrambling with this:
i have a p-dimensional data frame for which i want to have a pairs() plot, with
ellipse added in each lower.panel.
I want the ellipse's parameter (mu, sigma) to be extracted from the appropriate
entries in a pre-computed matrix ("dab" in the code below)
12 matches
Mail list logo