Displaying 2 results from an estimated 2 matches for "cadapt".
Did you mean:
adapt
2009 Jun 19
1
Adding site id to xyplot
...them in the legend. Overall, I would like to be able to recognize lines matching respective site IDs.
Here is the code (source: MASS) I used below:
library(lattice)
sps <- trellis.par.get("superpose.symbol")
sps$pch <- 1:13
trellis.par.set("superpose.symbol", sps)
xyplot(CADapt~Date, data= omni.sb08, groups=Plot2,
panel = panel.superpose, type="b"
)
Thank you very much in advance!
Steve Hong
2007 Nov 14
0
R Crashes on certain calls of Adapt
...l,loc=x[1],sc=sqrt(.5/x[2]),sh=x[3]))
}
unsc.post = function(x,val){
prior(x)*liklihood(x,val)
}
cons = adapt(2,c(-5,0,-.5),c(5,10,.5),f=unsc.post,max=5e+05,val=data)
This produces the error:
*** caught segfault ***
address 0x7eaa8580, cause 'memory not mapped'
Traceback:
1: .C("cadapt", as.integer(ndim), as.double(lower), as.double(upper),
minpts = as.integer(minpts), maxpts = as.integer(maxpts), ff, rho =
environment(), as.double(eps), relerr = double(1), lenwrk =
as.integer(lenwrk),
value = double(1), ifail = integer(1), PACKAGE = "adapt")
2: adapt(...