Displaying 3 results from an estimated 3 matches for "fhn".
Did you mean:
chn
2012 Aug 08
1
dimnames in array
Hello,
I'm working with an array; I'm trying to make it so that an array of
dim(42,2,2) has names whose length corresponds to that of the array,
and am hoping someone with experience with this can see what I'm not
doing correctly:
data11 = array(0,c(41,2,2))
y = lsoda(x0,times,fhn$fn.ode,pars)#This is make.fhn() from colloc
infer package#
y = y[,2:3]
data11<-array(0,c(41,2,2))
m8<-cbind(.29,1:41)
m9<-as.array(m8,dim=c(41,2))
data11[,1,] = y+m9
data11[,2,] = y+m9
rownames(data2, do.NULL = FALSE, prefix="row")
varnames=c("V","...
2012 Aug 24
0
diagonal matrix, array attributes and how to keep from setting an attribute on "NULL"
...: as.array.default(Y)
6: as.array(Y)
5: kronecker(X, Y)
4: kronecker(X, Y)
3: diag(rep(1, nrep)) %x% basisvals$bvals.obs
2: LS.setup(pars, coefs, fn, basisvals, lambda, fd.obj, more, data,
weights, times, quadrature, eps = 1e-06, posproc, poslik,
discrete, names, sparse)
1: Profile.LS(fhn, data = data2, times = times, pars = pars, coefs = coefs,
lambda = lambda, out.meth = "nls", control.in = control.in,
control.out = control.out)
the first four numbers here(7..4) seem okay when I call each; but in number 3:
calling the given text produces the error:
error...
2012 Aug 13
4
dimnames in an array(I'll be grateful if this message will be passed to all list users)
Hello,
I'm hoping someone with a wide experience with R may be able to see
what the program is trying to tell me.
I've got an array:
y1=rnorm(41,0.2)
y2=rnorm(41,0.2)
y3=rbind(y1,y2)
data11<-array(0,c(41,2,2))
data11[,1,]=y3
data11[,2,]=y3
rownames(data11)<-rownames(data11, do.NULL = FALSE, prefix = "Obs.")
colnames=c("V","R")