Displaying 8 results from an estimated 8 matches similar to: "Struggling with zoo and aggregate"
2006 Apr 20
5
strange mysql problem
i have this model:
class LineItem < ActiveRecord::Base
belongs_to :quote
end
in the console:
>>l = LineItem.create
ActiveRecord::StatementInvalid: Mysql::Error: You have an error in
your SQL syntax; check the manual that corresponds to your MySQL
server version for the right syntax to use near '' , , , )'' at line 1:
INSERT INTO line_items (`qty`, `quote_id`,
2009 Dec 15
3
comparison of these types is not implemented
Hi All,
Can you tell me why I get the error message below? It's driving me nuts.
Thanks,
Tom
> r_squared
[[1]]
[1] 0.9083936
[[2]]
[1] 0.8871647
[[3]]
[1] 0.8193883
[[4]]
[1] 0.728157
[[5]]
[1] 0.8849525
[[6]]
[1] 0.8459416
[[7]]
[1] 0.6702318
[[8]]
[1] 0.02997816
[[9]]
[1] 0.8974268
[[10]]
[1] 0.881217
[[11]]
[1] 0.8006688
[[12]]
[1] 0.7207697
[[13]]
[1] 0.8703734
[[14]]
2017 Aug 27
1
In Ops.factor(...) not meaningful for factors
Good evening!
I don't know R, but I have to do this work for my diploma. So I'm sorry for the strange message below. Help me anybody decides this issues, please.
a part of the code is:
for (i in 1:133) {
r_squared <- vector()
sample_bank <- mydata[((i-1)*311+1):(i*311),]
#return for bank
return_bank <- diff(sample_bank[,4])/sample_bank[,4][-length(sample_bank[,4])]
I've
2009 Jun 17
0
Coefficient of determination -- should be "compare to a trivial model"
As a long time nonlinear modeller, I always compute a quantity
commonly referred to as R_squared or the coefficient of
determination. However, I agree with other commentators, including
those of several years ago, that one wants to be very careful about
interpretation. In fact, I would say "DO NOT interpret".
My usage of the quantity, which I tend to call "R_squared" but do
2007 May 17
4
R2 always increases as variables are added?
Hi, everybody,
3 questions about R-square:
---------(1)----------- Does R2 always increase as variables are added?
---------(2)----------- Does R2 always greater than 1?
---------(3)----------- How is R2 in summary(lm(y~x-1))$r.squared
calculated? It is different from (r.square=sum((y.hat-mean
(y))^2)/sum((y-mean(y))^2))
I will illustrate these problems by the following codes:
2019 Jan 25
2
Error "valor ausente TRUE/FALSE..." en doble loop FOR
Buenas tardes,
Estamos intentando hacer esta función, y sabemos que el bucle funciona (lo
hemos testeado). Pero nos da este error ya en la primera línea:
"Error in if (phen_tot$convergence[i][j] == '2' || phen_tot$r_square[i][j]
<= : valor ausente donde TRUE/FALSE es necesario"
Hemos evitado usar Tidyverse expresamente por la complejidad de la toma de
decisiones del árbol;
2019 Jan 25
2
Error "valor ausente TRUE/FALSE..." en doble loop FOR
Hola Carlos,
Gracias por la respuesta. phen_tot es un data frame visualizado como
tibble, y contiene (entre otras) las columnas "convergence", "r_square" y
"maxlog10mfi". Y queremos crear nuevas columnas, como "use",
"convergence_cor", etc.
phen_tot$convergence debería ser un factor de si el modelo converge o no
(levels: 1 y 2), pero tibble lo
2009 Jul 13
0
[LLVMdev] Clang source question around failing MSVC build
ParseDecl.cpp fails to compile with MSVC reporting the following error:
ParseDecl.cpp
compiler\llvm\tools\clang\lib\Parse\ParseDecl.cpp(2760) : error C2248: 'clang::A
STOwningResult<Destroyer>::operator =' : cannot access private member declared i
n class 'clang::ASTOwningResult<Destroyer>'
with
[
Destroyer=::up▲
]