[R] Substituting inside expression

zbynek.janoska@gmail.com zbynek.janoska at centrum.cz
Mon Feb 28 11:03:45 CET 2011


Thanks,
Your advice solved the problem for one substitution, but I needed to
substitute twice: first s = (a+b+c)/2
and than c = sqrt(a^2 + b^2 -2*a*b*cos(gamma)) and I hoped I can do it
simultaneously
Luckily, I managed to go round the problem and this operation is not
necessary anymore:)

Thanks anyway
zbynek

-- 
View this message in context: http://r.789695.n4.nabble.com/Substituting-inside-expression-tp3324092p3327698.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list