Displaying 2 results from an estimated 2 matches for "crcl".
Did you mean:
crc
2006 Nov 14
3
Plot title with numeric variables
I am trying to create a plot title in R with substitution by a numeric
variable (Figure number N) within the text which is bold and has a
subcripted part as well. Here is what I have:
title <- expression(bold(paste("Figure ", N, ": Plot ", C[max], " versus
CrCL")))
plot(1, main="") # Simple plot for testing
N <- 5
mtext(title, line=3, font=2, cex=1.25)
I have the bold part and the subscripted text worked out but how do I
replace the text "N" in the title by its numeric value (5 in this example)?
I tried all kinds of stuff wit...
2013 Jan 03
1
R2OpenBUGS question with differential equations
...R2OpenBUGS and OpenBUGS that generates excelent results (to be able to run this code OpenBUGS installed, also please note this is only an example, I really need to reproduce the ideas from above using the bayesian approach):
library(R2OpenBUGS)
D <-400
tin <-1
VDPRE <-0.5
LWEIGHT <-68
CRCL <-60
tau <-12
T <-2
ts <-c(2,8)
c <-c(15,6)
mfsssc <- function() {
for (i in 1:1) {
for (j in 1:T) {
c[j]~dnorm(mu[j],100)
mu[j]<-((D/tin)*(1/cl))*(((1-exp(-(cl/v)*tin))*exp(-(cl/v)*(ts[j])))/(1-exp(-(cl/v)*tau))) ...