r - Vector literal in JAGS/WinBUGS -
is there way how write vector literal in jags/winbugs? tried these in jags, result in error:
pi <- [p*q, p*(1-q)*q, p*pow(1-q,2)*q, p*pow(1-q,3)*q] pi <- (p*q, p*(1-q)*q, p*pow(1-q,2)*q, p*pow(1-q,3)*q) pi <- c(p*q, p*(1-q)*q, p*pow(1-q,2)*q, p*pow(1-q,3)*q)
i don't want assign them 1 one.
haven't find useful here or in manual.
Comments
Post a Comment