Displaying 3 results from an estimated 3 matches for "setbound".
Did you mean:
setbounds
2012 Dec 06
1
bootstrap based confidence band
....Orig)
fit.Boot=predict(fit,newdata=Data.Orig.Boot,type="response")
Boot.Result[b,]=fit.Boot
}
And try to find 95% confidence interval for 1000 copies of y corresponding to each x.
ConfidenceSet.Pointwise=function(Boot.Result,alpha){
n=ncol(Boot.Result)
B=nrow(Boot.Result)
SetBounds=matrix(ncol=2,nrow=n)
for(j in 1:n){
Result.Sort=sort(Boot.Result[,j])
SetBounds[j,1]=Result.Sort[floor(0.5*B*alpha)]
SetBounds[j,2]=Result.Sort[ceiling(B*(1-0.5*alpha))]
}
return(SetBounds)
}
And then try to line them up. But the result is not what I want.
alpha=0.0...
2008 Sep 01
1
Porting Swfdec to Mac OS X & Timing question
...trigger the next
event immediately
{
swfdec_player_advance(_private->_player, millisecondsToNextEvent);
if (swfdec_player_is_initialized(_private->_player))
{
unsigned int width, height;
swfdec_player_get_default_size(_private->_player, &width, &height);
[self setBounds:NSMakeRect(0.0, 0.0, width, height)];
[self setNeedsDisplay:YES];
}
[[NSRunLoop currentRunLoop]
performSelector:@selector(scheduleNextEvent) target:self argument:nil
order:100 modes:[NSArray arrayWithObject:NSDefaultRunLoopMode]];
}
else
{
NSTimeInterval fMillisecondsToNextEvent =...
2009 Jun 01
0
[mapstraction commit] r12 - Implemented most Cloudmade functions. Still requires image, tile and KML/GeoRSS overlays
...rovider code
+ var box = map.getBounds();
+ var sw = box.getSouthWest();
+ var ne = box.getNorthEast();
- //return new mxn.BoundingBox( , , , );
+ return new mxn.BoundingBox(sw.lat(), sw.lng(), ne.lat(),
ne.lng());
},
setBounds: function(bounds){
@@ -184,8 +196,7 @@
var sw = bounds.getSouthWest();
var ne = bounds.getNorthEast();
- // TODO: Add provider code
-
+ map.zoomToBounds(new CM.LatLngBounds(sw.toProprietary(this.api),
ne.toProprietary(this.api)));
},...