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.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to