# the plot will be saved in your working directory
Z <- 2.460018
m <- 2
######
DIFF <- seq(0.1,0.50,0.01)
VAR <- seq(0.2,4,0.1)
beta <- c(0.90,0.80,0.70)
alpha <- 1 - c(0.001, 0.01,0.05)/2
####
observedDIFF <- 0.4
observedVAR <- 1.0
observedSampleSize <- 80
#########
# indicator for including results of previous studies on the 3D plot.
Indicator <- 1
# sets the orientation of the 3D plot.
Angle <- 60
sampleSize3DscatterPlots(Z,m,DIFF,VAR,beta,alpha,observedDIFF,observedVAR,observedSampleSize,Angle,Indicator)
Run the code above in your browser using DataLab