<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><BR>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid">
<DIV id=yiv711646742>
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD vAlign=top>
<DIV id=yiv600428278>
<DIV id=yiv2058468855>
<DIV>Dear R users</DIV>
<DIV> </DIV>
<DIV>Greetings from a novice. I would be grateful if you can help me complete the plot of a matern correlation function Matern Correlation function with kappa =1,1.5,2,2.5,3 , phi = 1 The problem is that i can manage to get the result when t> 0 using the following code:</DIV>
<DIV> </DIV>
<DIV>curve(matern(x, phi= 1.0, kappa = 1.0),from = 0, to = 1.5,<BR>+ xlab = "distance", ylab = expression(rho(h)), lty = 2,<BR>+ main=expression(paste("Matern Correlation with varying ", kappa,<BR>+ " and fixed ", phi)))<BR>> curve(matern(x, phi= 1.0, kappa = 1.5),from = 0, to = 1.5, add = TRUE)<BR>> curve(matern(x, phi= 1.0, kappa = 2.0),from = 0, to = 1.5, add = TRUE,lwd=2,lty=2)<BR>> curve(matern(x, phi= 1.0, kappa = 2.5),from = 0, to = 1.5, add = TRUE,lwd=2)<BR>> curve(matern(x, phi= 1.0, kappa = 3.0),from = 0, to = 1.5, add = TRUE,lwd=3)<BR>> legend("topright", expression(kappa==1, kappa==1.5, kappa==2, kappa==2.5, kappa==3)<BR>+ ,lty= c(2,1,2,1,1),lwd=c(1,1,2,2,3))<BR>> <BR>> curve(matern(x, phi= 1.0, kappa = 1.0),from = 0, to = 1.5,<BR>+ xlab = "distance", ylab = expression(rho(h)), lty =
2,<BR>+ main=expression(paste("Matern Correlation with varying ", kappa,<BR>+ " and fixed ", phi)))</DIV>
<DIV> </DIV>
<DIV>now i need to also add ot a plot the curve at t=0 matern = 0.1+1=1.1.</DIV>
<DIV> </DIV>
<DIV>Tankiso</DIV></DIV></DIV></TD></TR></TBODY></TABLE><BR></DIV></BLOCKQUOTE></td></tr></table><br>