Tuesday, 8 April 2014

How to formula futile effects in glmer.nb in R

I am new on this site though we always searched for info here. we wish to
do a glmer.nb though got an error: Error in eval(expr, envir, enclos) :
..2 used in an crude context, no ... to feeling inMy digest is: we wish to
establish what does womanlike mountainous goats compared with her
juveniles and what does not. we have a response non-static as count
information of daily compared observations (Every day between May and Sep
from 1991-2012, we remarkable if any womanlike was compared or not). So,
we got steady measures as any womanlike can live over 15 years. The
explicative variables are: age (ex. 7,8,9), amicable rank(continous),
reproductive station (factor) and cocktail firmness (ex.43,46,62). we have
to use womanlike ID and Year as futile variables (I need a churned model).
With this bland count data, we have lot of '0' value (not associated). we
had start to do a burst denote (ZANB) given my '0' value are genuine '0'
though we am not certain if this could be a genuine exam or not compared
to a glmer.nb. we review a lot though now, we am only confused with all
that possibilities. we need to know: 1) what does a womanlike associate
(binomial, compared or not) 2) what is a 'abundance' when
womanlike associateglmer.nb is it a good choice to do it? Or should we do
burst denote with futile effects?Thank we unequivocally many for help! we
would conclude it! (Sorry for my 'french' english! we try!) :)First, we
code:nb.glmer <- glmer.nb(Asso.Y1 ~ Reproductive_status * Age +
Reproductive_status * Rank_Residuals + Reproductive_status * I(Age^2) +
(1|ID) + (1|Year), weights = TotalY1, data=d1_2)But gives me: Error in
eval(expr, envir, enclos) : ..2 used in an crude context, no ... to
feeling in

Thursday, 3 April 2014

D3 Animation Not Working

I am stranded adult in a situation, where a whole brick of information
gets populated during initialization.Here's a
code:http://jsbin.com/ugacud/711/editAnd here is a illustration
mini-dataset record in .csv
format:Sno,Company,CompanyName,GrowthGroup,Segment,Ticker,YearFounded,YearNumber,Yearsto$50m,Z_Complete_Sales,Z_Typical,NetIncome2008,Revenue2008,RevenueInflationAdjusted,Year435,Activision
Blizzard Inc,Activision,Rocket
Ship,Entertainment,ATVI,1979,1,4,TRUE,TRUE,-107,"3,026",0,1979437,Activision
Blizzard Inc,Activision,Rocket
Ship,Entertainment,ATVI,1979,2,4,TRUE,TRUE,-107,"3,026",0,1980439,Activision
Blizzard Inc,Activision,Rocket
Ship,Entertainment,ATVI,1979,3,4,TRUE,TRUE,-107,"3,026",14.508,1981441,Activision
Blizzard Inc,Activision,Rocket
Ship,Entertainment,ATVI,1979,4,4,TRUE,TRUE,-107,"3,026",145.2,1982443,Activision
Blizzard Inc,Activision,Rocket
Ship,Entertainment,ATVI,1979,5,4,TRUE,TRUE,-107,"3,026",336.54,19831,Actuate
Corporation,Actuate,Hot Company,Business
Intelligence,ACTU,1993,1,7,TRUE,TRUE,13.58,130.99,0,19933,Actuate
Corporation,Actuate,Hot Company,Business
Intelligence,ACTU,1993,2,7,TRUE,TRUE,13.58,130.99,0,19945,Actuate
Corporation,Actuate,Hot Company,Business
Intelligence,ACTU,1993,3,7,TRUE,TRUE,13.58,130.99,0.0308,19957,Actuate
Corporation,Actuate,Hot Company,Business
Intelligence,ACTU,1993,4,7,TRUE,TRUE,13.58,130.99,0.8854,19969,Actuate
Corporation,Actuate,Hot Company,Business
Intelligence,ACTU,1993,5,7,TRUE,TRUE,13.58,130.99,12.7541,199711,Actuate
Corporation,Actuate,Hot Company,Business
Intelligence,ACTU,1993,6,7,TRUE,TRUE,13.58,130.99,28.871,199813,Actuate
Corporation,Actuate,Hot Company,Business
Intelligence,ACTU,1993,7,7,TRUE,TRUE,13.58,130.99,59.8797,199915,Actuate
Corporation,Actuate,Hot Company,Business
Intelligence,ACTU,1993,10,7,TRUE,TRUE,13.58,130.99,129.948,2002403,Adobe
Systems Inc.,Adobe,Rocket Ship,Content
Management,ADBE,1982,1,6,TRUE,TRUE,871.81,"3,579.89",0,1982405,Adobe
Systems Inc.,Adobe,Rocket Ship,Content
Management,ADBE,1982,2,6,TRUE,TRUE,871.81,"3,579.89",0,1983407,Adobe
Systems Inc.,Adobe,Rocket Ship,Content
Management,ADBE,1982,3,6,TRUE,TRUE,871.81,"3,579.89",4.51,1984409,Adobe
Systems Inc.,Adobe,Rocket Ship,Content
Management,ADBE,1982,4,6,TRUE,TRUE,871.81,"3,579.89",9.108,1985411,Adobe
Systems Inc.,Adobe,Rocket Ship,Content
Management,ADBE,1982,5,6,TRUE,TRUE,871.81,"3,579.89",23.28,1986413,Adobe
Systems Inc.,Adobe,Rocket Ship,Content
Management,ADBE,1982,6,6,TRUE,TRUE,871.81,"3,579.89",73.491,1987415,Adobe
Systems Inc.,Adobe,Rocket Ship,Content
Management,ADBE,1982,7,6,TRUE,TRUE,871.81,"3,579.89",150.3,1988The emanate
that we am opposed is, whenever my transition starts, a information should
be changing as per a key, that is my Company Name, though it doesn't. As a
whole information gets populated only during a initialization.Now, what we
am means to cruise is that, given a csv record has same Company Name
churned times with opposite values, it is deliberation any and each
practice as a unparalleled key.What we wish is, that a pinch should coax
as per a Company for a sole year, and not stock a whole brick of
information during initilization.

Tuesday, 1 April 2014

how to sum inside controller in angularjs

I have few inputs and we wish to arrangement sum in view. we found one
fortitude herebut we wanna know what is a problem in my code. we am
perplexing to sum inside my controller.HTML: