Hi:
This worked for me:
t <- 0:100
DBH <- 10:100
TxDBH<-expand.grid(t, DBH)
rm(t, dbh)
time<-TxDBH[,1]
dbh<-TxDBH[,2]
M <- 4000*(1-exp(-time*(1.104-(0.67*0.7)-0.163*log(dbh))^2))
df <- data.frame(time, dbh, M)
library('lattice')
wireframe(M ~ time + dbh, data = df)
# Check the versions of R and
Hi,
I'm trying to plot an equation in two variables to get a feel
for sensitivity to its parameters. I've run expand.grid to get made-up
vectors of the combinations of the two independent variables, and am trying
to plot the output of the dependent, M, against both the dependent in a 3d
space.
t
2 matches
Mail list logo