Hi
what is result of
str(deret)
or
is.matrix(deret)
Cheers
Petr
> -Original Message-
> From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Allan
> Tanaka
> Sent: Wednesday, March 1, 2017 11:52 AM
> To: r-help@r-project.org
> Subject: [R] Error in m
Hello,
>What is function logret? After loading the packages I've tried
?logret
No documentation for ‘logret’ in specified packages and libraries:
you could try ‘??logret’
Besides, how can you use a function logret(data1.ts, ...) and then do
depmix(logret ~ 1, ...)
Suddenly logret becomes a c
Hi,
I have encountered the following error, when running 'depmix' function, which I
think
has something to do with my data, and I cannot understand why, even though i
have converted my data into as.matrix()
See attached file
library(depmixS4)
library(TTR)
library(ggplot2)
library(reshape2)
dat
In your
> ordinalmodel <- polr(eduattain ~ dadedu, data = workdataset, weights =
> "SPFWT0", Hess = TRUE)
take the quotation marks off of SPFWT0. Like the subset argument, weights
is a literal expression, evaluated in the context of the data argument, not a
character string naming a column in the
Hello everyone,
I'm running an ordinal logistic and I keep getting this error:
Error in model.frame.default(formula = eduattain ~ dadedu, data =
workdataset, :
variable lengths differ (found for '(weights)')
I looked at several similar questions on the internet and ended up deleting
all the N
On Mar 4, 2011, at 4:47 AM, Heike Schmitz wrote:
Hi again, dear Dennis,
i checked the spelling in Zuur et al. and they wrote it like i did.
I tried your suggestion but now i have another warning message:
D1<- data.frame(L.AREA= Loyn$L.AREA[Loyn$fGRAZE==1], fGraze = "1")
Error in data.fram
Hi again, dear Dennis,
i checked the spelling in Zuur et al. and they wrote it like i did.
I tried your suggestion but now i have another warning message:
> D1<- data.frame(L.AREA= Loyn$L.AREA[Loyn$fGRAZE==1], fGraze = "1")
Error in data.frame(L.AREA = Loyn$L.AREA[Loyn$fGRAZE == 1], fGraze = "
Hi:
You need the second variable in D1 to be named fGRAZE - the variable names
in the newdata data frame (D1) have to be the same as the variable names on
the RHS of the model formula, in this case L.AREA and fGRAZE.
HTH,
Dennis
On Thu, Mar 3, 2011 at 7:43 AM, Heike Schmitz wrote:
> Dear R- Com
Dear R- Community,
to learn i reanalysed some data provided and analysed by Zuur et. al. in
their book "Mixed effect models and Extensions in Ecology with R". When
i run the last command i get a warning message i dont understand.
Loyn<- read.table(file = "loyn.txt",header = TRUE)
Loyn$L.AREA
I got it right now, It wasn't working because the matrix of predictors had
the same name as the dataset, so I modified the call
creating a dataset with the response and predictors and keeping the
data.frame using the same name
metodocentrod <- data.frame(metodocentro)
resultadocentro <- glm(Ycent
I'm getting the following errors when I try to execute the glm() procedure:
If my matrix of predictors is a data.frame, R shows me this error:
Error in model.frame.default(formula = Ycentro ~ metodocentro - 1, data =
metodocentro, :
invalid type (list) for variable 'metodocentro'
If my matrix
11 matches
Mail list logo