R users
Let me refine my request for help. I have a matern as per the code below. What 
i want to do is to initialize the matern at point/distance zero to be equal to 
1.1 not 1.0 as is at present. I would appreciate your help very much.
 
library(geoR)
curve(matern(x, phi= 1.0, kappa = 1.0),from = 0, to = 1.5,
    xlab = "distance", ylab = expression(rho(h)), lty = 2,
    main=expression(paste("Matern Correlation with varying  ", kappa,
    "  and fixed  ", phi)))
curve(matern(x, phi= 1.0, kappa = 1.5),from = 0, to = 1.5, add = TRUE)
curve(matern(x, phi= 1.0, kappa = 2.0),from = 0, to = 1.5, add = 
TRUE,lwd=2,lty=2)
curve(matern(x, phi= 1.0, kappa = 2.5),from = 0, to = 1.5, add = TRUE,lwd=2)
curve(matern(x, phi= 1.0, kappa = 3.0),from = 0, to = 1.5, add = TRUE,lwd=3)
legend("topright", expression(kappa==1.0, kappa==1.5, kappa==2.0, kappa==2.5,
      kappa==3.0),lty= c(2,1,2,1,1),lwd=c(1,1,2,2,3))
 
Thanks in advance


      
        [[alternative HTML version deleted]]

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Reply via email to