lme2<-lme(y~ age + time + timeDay,data= DF, random=~time |id/timeDay)
Error in lme.formula(y ~ age + time + timeDay, data = DF, random = ~time | :
nlminb problem, convergence error code = 1
message = iteration limit reached without convergence (10)
[[alternative HTML version deleted]
Dear R users,
I want to check matrices when i change the order of the rows or/and the order
of the columns or/and the combination of them
i will give an example what i want
1 -1 1 1 1 1 1 1
-1 -1 -1 -1 -1 -1 -1 -1
1 1 1 1 1 -1 1 1
these 2 matrices are iden
Dear R users,
i want to put the results of a list to a for loop.
i will give an example
m1<-matrix(rep(1,15),ncol=5)
ind.sgn <- lapply(1:ncol(m1), combn, x = ncol(m1))
ind.sgn
[[1]]
[,1] [,2] [,3] [,4] [,5]
[1,] 1 2 3 4 5
[[2]]
[,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8]
Dear R users,
I have the "any" function of R
any(ind.c, ind.r, ind.sgn)
all are logical factors
it works fine when any of three is true
but when they are combined it doesnt work.
i tried
this
any(ind.c, ind.r, ind.sgn,((ind.c==TRUE) & (ind.r==TRUE)),
((ind.c==TRUE) & (ind.sgn==TRUE)),((ind.
Dear R users,
I have a problem i want to check some patrices and check them if they are
identical when from the one i change the order of the rows (the first row goes
third etc) or/and change the order of the columns or/and if i change the signs
of the one or more columns
isomorphic <- funct
Dear R users,
i want to check matrices if they are identical when i change the rows or the
columns or the signs of the one or more columns
isomorphic <- function (m1, m2) {
combs.c <- combn(ncol(m1), 2)
nc <- ncol(combs.c)
ind.c <- vector("logical", nc)
for (i in 1:nc) {
Dear R users,
I have this program
aa<-array(rep(0,27),dim=c(3,3,3))
a<-matrix(rep(1,9),ncol=3)
n<-0
for (i in 1:3) {
a[i,]<-a[i,]*(-1)
n<-n+1
aa[,,n]<-a[i,]
}
but i real want to multiply each row with -1 according to for loop and after
that to put it in the array.
I w
Dear R users,
I have an array that has matrices that i want BB[16,5,2:27]
i want to put each of the 26 matrices into a List
thanks in advance
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailma
Dear R users,
BB1<-array(rep(0,14400),dim=c(16,5,12,15))
>
> for (i in 2:13) {
+ BB1[,,(i-1),1]<-BB[,,i]
+ }
>
>
> length<-rep(0,15)
> CC<-array(rep(0,1200),dim=c(16,5,15))
> n<-12
> l<-0
>
> fun1 <- function(x, y){
+ all(sapply(seq_len(nrow(x)), function(i)
+ identical(x[i,],
Dear R users,
i have this problem with matrices i want to check between two matrices if they
are isomorphic i will give an example for what excactly i want
1 -1 1 -1 1 1
-1 1 -1 1 -1 -1
1 1 -1
i have this problem with matrices i want to check between two matrices if they
are isomorphic i will give an example for what excactly i want
1 -1 1 -1 1 1
-1 1 -1 1 -1 -1
1 1 -1 1 1 -1
Dear R users,
I have this problem with memory i guess
AA<-array(rep(0,96096000),dim=c(16,5,3003,400))
Error: cannot allocate vector of size 733.2 Mb
can anyone help me,
Thanks in advance...
[[alternative HTML version deleted]]
__
R-help@r-pr
Dear R users,
I want a help to write an algorithm for swapping rows and columns in a matrix
thanks in advance
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read
Dear R users,
I have 2 matrices dim(16x5) below and i want to write an algorithm that check
the 2 matrices if they are isomorphic ones (Isomorphic matrices: if I change
the rows or/and columns or/and zeros into 1 and 1 into zeros in a row(s) or
column(s) are the 2 matrices identical).
0 0
Dear R users,
I have a Hadamard matrix 16x15 and i want to put 16x5 submatrices in an array
put i have an error.
> A1<-matrix(c(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,
+ 0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,
+ 1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,
+ 0,0,0,1,1,1,1,0,0,0,0,1,1,1,1,
+ 1,0
I have 3003 16x5 submatrices from a hadamard matrice of 16x15. I want to write
an algorithm that check all of these 3003 matrices if they are isomorphic and i
want to find and keep the non-isomorphic ones. Any help will be welcome.
[[alternative HTML version deleted]]
__
16 matches
Mail list logo