Displaying 1 result from an estimated 1 matches for "data_for_".
Did you mean:
data_for_s
2010 Apr 20
1
3D surface plot with wireframe or persp?
...quires data option, so I generated x
and y, and computed z with them. But, still I have a problem to draw a
surface plot. The code and errors are
##################################################
mle_beta0=64.43707;
mle_beta1=-24365.16;
# generating for the requirement of "wireframe"
data_for_c = runif(1000,30,85); # range is (30,50)
data_for_s = sort(1/(273+data_for_c));
data_for_time = sort(runif(1000,0,100000)) # range is (0,100000)
data_for_R = exp((-exp(mle_beta0+mle_beta1*data_for_s))*data_for_time)
data_all = cbind(data_for_s,data_for_time,data_for_R)
# f...