R/makeplot.R

Defines functions makeplot

Documented in makeplot

makeplot <- function(xdata, dm=c(1,2), nsegs=20, quantile.increment= 0.001, nprojs=2000, reltol=0.001){
  
  pp <- seq(from=0.5, to=0.95, by=quantile.increment)
  npp <- length(pp)
  
  
  for(i in 1:npp)	{
    muqie(xdata, dm=dm, nsegs=nsegs, plot.it=TRUE, probs=pp[i], nprojs=nprojs, reltol=reltol)
    text(10, 5, paste("alpha=",pp[i]))
  }
}

Try the Yamm package in your browser

Any scripts or data that you put into this service are public.

Yamm documentation built on May 20, 2022, 5:06 p.m.