search for: min_x

Displaying 5 results from an estimated 5 matches for "min_x".

Did you mean: min_t
2005 Oct 06
3
playing with R: make a animated GIF file...
...5 logoHeight = 2.5 L = nchar(yourLogo) TrigSplit = 360 / L yourLogo = strReverse(yourLogo) posx = numeric(L) posy = numeric(L) for( i in 0:L){ posx[i] = logoHeight * sin(i * TrigSplit * pi / 180) posy[i] = logoWidth * cos(i * TrigSplit * pi / 180) } max_x = max(posx)*1.1 max_y = max(posy)*3 min_x = min(posx)*1.1 min_y = min(posy)*3 cex = 2/(posy + 2) idx = 1:L for(j in 1:L-1) { ###################file = paste("CQM_",j,".png",sep="") ###################png(filename=file, bg="transparent") plot(0,t='n', xlim=c(min_x,max_x), ylim=c(min_y,...
2011 Feb 25
0
Fitting distribution in range
...to max(x) of the fitted distribution will be one. Therefore I have wrote my own log-likelihood functions and then I am using mle {stats4}. So, for example: ll_gamma <- function(a,b) { integrand <- function(y){dgamma(y, shape=a, rate=b)} integ_res <- tryCatch({integrate(integrand,min_x,max_x)$value}, error=function(err){0}); if (integ_res == 0) { return(NA) } C = 1 / integ_res res = -(sum(log(C*dgamma(x,shape=a,rate=b)))) return(res) } m <- mean(x) v <- var(x) fit <- mle(minuslog=ll_gamma,start=list(a=m^2/v,b=m/v)) Now, for some reason I get very weird...
2011 Mar 22
0
Diagonal population density
...))/(max(fx)-min(fx)) #Relative Marginal Density in X fy<-rowSums(city$data) fy<-(fy-min(fy))/(max(fy)-min(fy)) #Relative Marginal Density in Y image(x,y,t(city$data),xlab="",ylab="") #plotting city ### plotting fuzzy membership function of city contour(color(fcity,min_x=min(x),max_x=max(x),min_y=min(y),max_y=max(y),px=length(x),py=length(y),n=n,operator=operator),add=T,xlab="",ylab="",lwd=1.5) ### par(mar=c(0,3,1,1)) #upper-left corner ### plot fuzzy membership function of X plot(fcity$x,c(0,1,1,0),type="l",axes=F,frame.plot...
2008 Aug 24
2
Missing ids in documentation
...;h3>DC#logical_to_device_x</h3> dc.html:<h3>DC#logical_to_device_xrel</h3> dc.html:<h3>DC#logical_to_device_y</h3> dc.html:<h3>DC#logical_to_device_yrel</h3> dc.html:<h3>DC#max_x</h3> dc.html:<h3>DC#max_y</h3> dc.html:<h3>DC#min_x</h3> dc.html:<h3>DC#min_y</h3> dc.html:<h3>DC#is_ok</h3> dc.html:<h3>DC#reset_bounding_box</h3> dc.html:<h3>DC#set_axis_orientation</h3> dc.html:<h3>DC#set_background</h3> dc.html:<h3>DC#set_background_mode</h3> dc.html:&...
2007 Mar 27
0
[922] branches/wxruby2/wxwidgets_282: Changes, additions and deprecations 2.6 -> 2.8 Wx API
...gt;<span class="cx"> * "DC#logical_to_device_y":#DC_logicaltodevicey </span><span class="lines">@@ -90,7 +100,7 @@ </span><span class="cx"> * "DC#max_y":#DC_maxy </span><span class="cx"> * "DC#min_x":#DC_minx </span><span class="cx"> * "DC#min_y":#DC_miny </span><del>-* "DC#ok":#DC_ok </del><ins>+* "DC#is_ok":#DC_isok </ins><span class="cx"> * "DC#reset_bounding_box":#DC_resetboundi...