search for: addcolumn

Displaying 6 results from an estimated 6 matches for "addcolumn".

Did you mean: add_column
2016 Jan 14
2
JDataFrame API
...used to convert data into JSON which then can be converted into a data frame in R. Here's the project page: https://coherentlogic.com/middleware-development/jdataframe/ and here's a partial example which demonstrates what the API looks like: String result = new JDataFrameBuilder() .addColumn("Code", new Object[] {"WV", "VA", }) .addColumn("Description", new Object[] {"West Virginia", "Virginia"}) .toJson(); and in R script we would need to do this: temp <- RJSONIO::fromJSON(json) tempDF <- as.data.frame(temp)...
2016 Jan 15
2
JDataFrame API
...e in R. >> >> Here's the project page: >> >> https://coherentlogic.com/middleware-development/jdataframe/ >> >> and here's a partial example which demonstrates what the API looks like: >> >> String result = new JDataFrameBuilder() >> .addColumn("Code", new Object[] {"WV", "VA", }) >> .addColumn("Description", new Object[] {"West Virginia", "Virginia"}) >> .toJson(); >> >> and in R script we would need to do this: >> >> temp <- RJSONIO:...
2009 May 27
0
invisible columns
...function(t, col.num) { > name <- names(t)[col.num] > tbl <- getToolkitWidget(t) > ## remove a column, but store old one first to add back > col <- tbl$getColumn(col.num - 1) # 0- based > tbl$removeColumn(col) > return(list(name=name, col=col)) > } > > addColumn <- function(t, col, col.num) { > tbl <- getToolkitWidget(t) > ## add back > tbl$insertColumn(col$col, col.num - 1) > ## add back column name > col$col$getWidget()$getParent()$getParent()$getParent()$setLabel(col > $name) > } > > ## check if it works > col =...
2016 Jan 15
0
JDataFrame API
...an be converted into a data frame in R. > > Here's the project page: > > https://coherentlogic.com/middleware-development/jdataframe/ > > and here's a partial example which demonstrates what the API looks like: > > String result = new JDataFrameBuilder() > .addColumn("Code", new Object[] {"WV", "VA", }) > .addColumn("Description", new Object[] {"West Virginia", "Virginia"}) > .toJson(); > > and in R script we would need to do this: > > temp <- RJSONIO::fromJSON(json) > t...
2016 Jan 15
0
JDataFrame API
...'s the project page: >>> >>> https://coherentlogic.com/middleware-development/jdataframe/ >>> >>> and here's a partial example which demonstrates what the API looks like: >>> >>> String result = new JDataFrameBuilder() >>> .addColumn("Code", new Object[] {"WV", "VA", }) >>> .addColumn("Description", new Object[] {"West Virginia", "Virginia"}) >>> .toJson(); >>> >>> and in R script we would need to do this: >>> >>...
2013 Jul 31
29
[PATCH 0/9] tools: remove or disable old/useless/unused/unmainted stuff
depends on "autoconf: regenerate configure scripts with 4.4 version" This series removes some of the really old deadwood from the tools build and makes some other things which are on their way out configurable at build time with a default depending on how far down the slope I judge them to be. * nuke in tree copy of libaio * nuke obsolete tools: xsview, miniterm, lomount & sv *