search for: tabledata

Displaying 7 results from an estimated 7 matches for "tabledata".

2013 Apr 09
4
Converting matrix to data frame without losing an assigned dimname
Hello All, Would like to be able to convert a matrix to a dataframe without losing an assigned dimname. Here is an example that should illustrate what I'm talking about. tableData <- state.x77[c(7, 38, 20, 46), c(7, 1, 8)] names(dimnames(tableData)) <- c("State", "") tableData State Frost Population Area Connecticut 139 3100 4862 Pennsylvania 126 11860 44966 Maryland 101 4122 9891 Virginia 85...
2007 Jun 14
4
How to convert a table to JSON (or to Javascript array)
Is there a way to retrieve an HTML table in javascript and convert it to JSON using prototype? I''m stumped :( phil --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To
2006 Mar 28
3
Brand newbie question relating to link_to
...=>"total_bugs" some parameters(build_number, developer_name, product_name) based on the current build. I''ve tried many ways and haven''t been successfull, yet. Any help is greatly appreciated. Thanks! <% for build in @bugDashboard %> <span class="tabledata"> <%= link_to build.bug_total, {:controller => "dashboard", :action => "total_bugs"} %> </span> ..... -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonr...
2002 Mar 12
1
RArcInfo Package, get.bnddata()
...y of the package for Windows and am using R 1.4.1 on Windows NT 4.0. I have had no problems importing and plotting arc data with get.arcdata() and plotarc(). plotpal() also works fine. I've been able to use get.arcdata(), get.labdata(), get.paldata(), get.tablenames(), get.tablefields(), get.tabledata(). When I try get.bnddata() as follows, I get an error: > wet.bnd <- get.bnddata("wetlands\\info", "WETLANDS.BND") Error in get.bnddata("wetlands\\info", "WETLANDS.BND") : Couldn't open table get.tablenames() shows that the table exists...
2009 Nov 04
1
odfweave table styles
...llowing error: Error: chunk 13 (label=showTableStyles) Error in names(x) <- value : 'names' attribute [1] must be the same length as the vector [0] What I am really trying to do is replicate this part which highlights one row <<modTableStyles>>= bigState <- which.max(tableData[, "Area"]) tableStyles$text[bigState,] <- "ArialHighlight" tableStyles$cell[bigState,] <- "highlight" tableStyles$text @ In my code I do: <<modtablestyles, echo=FALSE>>= bluesYes <- which(outTable[,2] >= 3 & outTable[,2] < 4) namel...
2002 Nov 21
0
Re: RArcInfo question(basic=T, newbie=T, annoying=T)
...ARC0001 1 38 16723 TRUE 2 TR13.BND ARC0002 1 32 1 FALSE 3 TR13.PAT ARC0003 1 178 1625 FALSE 4 TR13.TIC ARC0004 1 20 4 FALSE > aat<-get.tabledata("info/", "TR13.AAT") > names(aat) [1] "FNODE# " "TNODE# " "LPOLY# " "RPOLY# " [5] "LENGTH " "TR13# " "TR13-ID " "JFID " &g...
2010 Feb 19
3
Plotting multiple table automatically
Hi All, I have a slight issue getting R to plot a series of tables automatically. Essentially I have a series of tables that I wish to plot. They are named on_2, on_3 etc. based on the file name when they were read in. I have filelist <- list.files() to give me list of the table names. I wish to plot each table, so I was thinking along some kind of for loop as below: for (i in 1:Number_Files)