search for: sort1

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

Did you mean: sort
2006 May 24
1
Sortable: Ajax not firing?
...s, but Ajax never fires back the post-sorted list. (I''ve checked with IE & Firefox, the "save this order to the DB" controller hasn''t been called.) The View: <p>Drag to sort.<span id="sort_info"></span></p> <ul id="sort1"> <% @estimate.components.each do |comp| -%> <li class="draggable"><%= comp.name -%></li> <% end %> </ul> <%= sortable_element(''sort1'', { :url=>{:action=>''order'',...
2010 Dec 10
2
45 Degree labels on barplot? Help understanding code previously posted.
...uot;Netherlands"), stories_total=c(429, 25, 239, 99, 100, 96, 18, 21, 0, 6), avg=c(4.165048544, 6.25, 6.459459459, 0.908256881, 1.923076923, 1.103448276, 1.058823529, 1.615384615, 0, 0.107142857), steps=c(2, 2, 2, 0,1, 1, 1, 0,0,0), newspapers=c(103, 4, 37, 109, 52, 87, 17, 13, 10, 56)) mydat.sort1<-mydat[order(-mydat$avg), ] myplot<-barplot(mydat.sort1$avg, col=c("black", "black", "black", "grey", "white", "grey", "grey", "white", "white", "white"), ylim=c(0,7), main="Regulatory Act...
2010 Feb 12
2
for loop function output
...t;-rbind(db.t,dw.t) # combining minority and majority applicant sample + N1<-c(d[,1]) # nesting the data in a data frame and assigning column labels + N2<-c(d[,2]) + x<-c(1,2) + df<-paste("N",seq(along=x),sep="") + A<-data.frame(lapply(df,get)) + names(A)<-df + sort1.A<-A[order(N1),]# ordering data according to column 1 (N1) + y<-sort1.A[(nap-nsle+1):1000,]# trim the data points for applicants who are not hired + V1<-c(y[,1])# nesting the trimmed data in a data frame and assigning column labels + V2<-c(y[,2]) + z<-c(1,2) + hr<-paste("V&qu...
2009 Oct 03
3
How to deal with this :" object ' obs' not found.
...the data below. The problem is, I have a variable name "obs"; this is.. a counter variable. something like _n_ in SAS. I do not know why it is not working. I even tried a similar example in UCLA webpage: http://www.ats.ucla.edu/stat/R/faq/sort.htm :it also does not seem to work. "*sort1.hsb2 <- hsb2[order(read) , ]"* Do you have any idea how to deal with this problem?? Thank you so much. -Hyo > colnames(ttx1) [1] "longitude 1" "longitude 2" "longitude 3" "longitude 4" "longitude 5" [6] "longitude 6" &q...
2010 Dec 11
0
is there a packge or code to generate markov chains in R
...uot;Netherlands"), stories_total=c(429, 25, 239, 99, 100, 96, 18, 21, 0, 6), avg=c(4.165048544, 6.25, 6.459459459, 0.908256881, 1.923076923, 1.103448276, 1.058823529, 1.615384615, 0, 0.107142857), steps=c(2, 2, 2, 0,1, 1, 1, 0,0,0), newspapers=c(103, 4, 37, 109, 52, 87, 17, 13, 10, 56)) mydat.sort1<-mydat[order(-mydat$avg), ] myplot<-barplot(mydat.sort1$avg, col=c("black", "black", "black", "grey", "white", "grey", "grey", "white", "white", "white"), ylim=c(0,7), main="Regulatory Act...