Displaying 6 results from an estimated 6 matches for "c_a".
Did you mean:
_a
2013 Mar 02
3
if value is in vector, perform this function
...ense. Here's what I have (and it doesn't work):
params = c(1, 0.15, 0.164, 1)
init = c(1.5, 0.05)
t=seq(1,60, by=0.5) #all time values, experiment ran for 60 days
#feeding sequence - every "3.5 days"
feed_days = seq(1,60,by=3.5)
Daphnia <- function(t,x,params){
C_D = x[2];
C_A = 0;
for(t %in% feed_days){
if t == TRUE {
C_A = 1.5
}
else{
C_A = 0
}}
gamma = params[1]; m_D = params[2]; K_q = params[3]; q_max = params[4];
M_D = m_D * C_D
I_A = (C_D * q_max * C_A) / (K_q + C_A)
r_D = gamma * I_A
return(
list(c(
- I_A,
r_D - M_D
)))
}
library(deSolve)
r...
2007 Sep 09
2
Batch mode scenario ("use case")
...lly huge (say, 200 GBytes).
After some complex, intricate work, Mr. Wer did:
rsync -a --only-write-batch=/e/cmds/foo /c/home/wer/work/ /e/gold
Very soon after that, /c dies; and Wer needs to provide his
Customer_A stuff that used to be in
/c/home/wer/work/some/path/projects/c_a
He needs this stuff immediately, meaning, Wer cannot wait to
rebuild everything from /e/gold. However,
gold/some/path/projects/c_a is merely 5 Megs -- but it is not
the latest version.
Wer starts by creating the directory /f/new_home/wer/work, and
then uses -R as follows:
rsy...
2011 Nov 15
1
Estimating model parameters for system of equations
Hi all,
I'm trying to estimate model parameters in R for a pretty simple system of
equations, but I'm having trouble. Here is the system of equations (all
derivatives):
eqAlgae <- (u_Amax * C_A) * (1 - (Q_Amin / Q_A))
eqQuota <- (p_max * R_V) / (K_p + R_V) - ((Q_A-Q_Amin)*u_Amax)
eqResource <- -C_A * (p_max * R_V) / (K_p + R_V)
eqSystem <- list(C_A = eqAlgae, Q_A = eqQuota, R_V = eqResource)
I want to estimate u_Amax, Q_Amin, p_max and Q_Amin with the data I've
collected usi...
2012 Feb 14
3
Wildcard for indexing?
...perators:
"Select all elements of a vector that start with A (A*) OR that start with B (B*)"
Probably that is quite easy. I looked into grep() which I think might perform such tasks, but probably there is a more straigth forward solution.
a <- c("A_A","A_B","C_A","BB","A_Asd")
a[a=="A_A"| a=="A_B"] # here I'd like an index but with wildcard
/johannes
--
2006 Dec 30
2
search on multiple table
...gs_to :b
has_and_belongs_to_many :c
Joboffer.find_by_contents( query +b_id:1 ) is working fine
but
Joboffer.find_by_contents( query +c:1 ) is not working
Here are the tables descriptions:
Table a have field : id, b_id
Table b have field : id, name
Table c have field : id, name
Table c_a have field :a_id, c_id
Any idea on how to include c on my search ?
--
Posted via http://www.ruby-forum.com/.
2009 Jul 23
1
[PATCH server] changes required for fedora rawhide inclusion.
...m)naosGtalUBM-T0I$Vk?Z=H_QM+2lY0iYpYh$z~nse!Egi>jWz=EyLCQv^sx
zDWEyFd{DhCDe1j5i)ML&`qyuwyk+mgoeTl80R_5#?iNXIA?1VJ@;>V?k4Ij%w|+Lt
zP{!y|D1MxS2ghfWtW^>`I1+y9YpW2htbK2i05c2*H1nf~hfE4NGEPWn12=asnzYC*
zYfl?Ika_gW+%u;$$9*y-<HpvGGdUfyIEL*u`f=LQ?1R%dMcW;t&;C<}_>Gcr&)s|{
z&pC_a-aF1qY!>Npx?jjjeh3^W>rk?(qI;u>8c+Q~)%(KMO6c^J8BDK}VC(6?eXoX$
zJQtb`&aENoka)pwVI=@NK*Yb-H~9x^1M at WpsKb|$31UepLjZZ+5uA$uNjzfkd1&B4
zzK&{ptvNFEIeAR(-3gST6&XiC&e{`iarzW~_IMOy?y<U*J-~V4mx^6Au($#s3Hc(Y
zl8+pi at v>-Ge)6hM#OjJL0Z7)PKvsu!&<FZ+ED1)pMiQ*vo>fxfqZ`...