Displaying 4 results from an estimated 4 matches for "add_lines".
2013 Feb 09
1
R maps Help
...[,1])){
m1 <- midPoint(p1, p2)
m1[,1] <- (m1[,1]+180)%%360 - 180
a1 <- antipode(m1)
l1 <- gcIntermediate(p1, a1, n=n, addStartEnd=addStartEnd)
l2 <- gcIntermediate(a1, p2, n=n, addStartEnd=addStartEnd)
l3 <- rbind(l1, l2)
l3
}
else{
inter
}
}
add_lines <- function(){
pal <- colorRampPalette(c("#00FF00", "#FF0000"))
colors <- pal(100)
fsub <- flights[flights$airline == "FSR",]
fsub <- flights[order(flights$cnt),]
maxcnt <- max(fsub$cnt)
for (j in 1:length(fsub$airline)) {
air1 <...
2010 May 06
3
Possible bug in chan_sip:add_sdp
Am I missing something here? I see
if (needvideo) { /* only if video response is appropriate */
add_line(resp, m_video->str);
add_line(resp, a_video->str);
add_line(resp, hold); /* Repeat hold for the video stream */
} else if (p->offered_media[SDP_VIDEO].offered) {
snprintf(dummy_answer,
2010 Feb 19
8
Weird gsub behaviour
ruby 1.8.6 (2007-09-24 patchlevel 111)
str = ''\&123''
puts "abc".gsub("b", str)
puts "abc".gsub("b", "#{str}")
puts "abc".gsub("b", str.to_s)
puts "abc".gsub("b", ''\&123'')
puts "abc".gsub("b", "\&123")
>ruby test.rb
ab123c
2009 Mar 23
1
Ajax not defined.
This is my code and I am trying to call remote function when somebody
click on add button after selecting something from select_tag. Please
tell me where I am wrong ? I am getting following error: Ajax not
defined.
<input type="button" value="< Add" class="button" onclick="<%=
remote_function(:url => {:controller => ''users'',