search for: datat

Displaying 20 results from an estimated 99 matches for "datat".

Did you mean: data
2013 Jan 22
1
rails datatables refresh javascript
Hi I followed a railscast episode and got datatables up and running, beautifully along with the nice jquery-ui as in the front page. The main issue I''m having though is that I suck at CoffeeScript/JS ~_~ I''m trying get the datatables to reload every 1 second but I don’t see any request coming into my webserver for refresh...
2010 Oct 12
1
append rows to Sybase datatable using RJDBC
Hi, Does anyone have experience using RJDBC library to write to Sybase datatable? The jdbc driver I am using is jConnect 6.0. I can successfully write into a new datatable, but have problem appending rows to existing one. It either complains "Table *** already exists" or simply overwrite the existing one. Here is the example. I am trying to append 'data'...
2005 Feb 18
9
Using time series and lm
...I create a multivariate time series containing NA values. I want to compute a linear regression and obtain a time serie for both residuals and fitted values. I have tried the trick ts.intersect, without success. Could you help me out of this? #### Example: y<-ts(1:10+rnorm(10)) x<-ts(1:10) datats<-cbind(y,lagx=lag(x)) Notice the datats could come directly from an imported file, that is why I did not use ts.intersect(y,lagx=lag(x)) fit<-lm(y~lagx,data=datats,na.action=na.omit) but how do I get a time serie of residuals instead of a vector residuals(fit)? ###### Matthieu Cornec
2012 Jun 12
2
How to change name of .so/.dll
...y point R_init_lib is not found it is also looked for with ?.? replaced by ?_?. " But how do I confine the DLL name, is it an option in Makevars? The name of the shared object is currently "data.table.so" (data.table.dll on Windows). Is it possible to change the file name to "datatable.so" (and datatable.dll) in a portable way so that R_init_datatable works (without a dot), and, without Depend-ing on R>=2.15.0 and without changing the name of the package? Thanks, Matthew
2010 May 09
4
Fwd: R apply() help -urgent
...do Fisher's test for 26 individual 2X2 tables constructed from each of these alphabets vs pLoss. For example, here is what I did for alphabet A and then B and then C.... so on. (I have attached R-input.csv for your perusal) > data1 <- read.table("R_input.csv", header = T) > datatable <- table(data1$A, data1$pLoss) #create a new datatable2 or 3 with table(data1$B.. or (data1$C.. and so on > datatable 0 1 0 31 4821 1 0 21 now run the Fisher's test for these datatables one by one for the 26 alphabets :( fisher.test(datatable), ... fisher.test...
2010 Mar 10
2
function to create multiple matrices
Hi All, If given a dataframe (long form) with Year, Species, and Location, How would I write a function that would create a unique matrix of Species & Location for each Year? What I've tried doing is the following: data #dataframe dataT<-table(data$Species,data$Location,data$Year) #creates tables of Species vs Location for each Year But I'm encountering issues individually indexing the tables and converting them into matrices in one fell swoop. r1997<-as.matrix(tableT[,,"1997"]) #How I would do it individuall...
2010 Jun 01
2
Help on aggregate method
...the aggregate method: More specifically, I would like to calculate the mean of certain values on a data frame,? grouped by various attributes, and then create a new column in the data frame that will have the corresponding mean for every row. I attach part of my code: matchMean <- function(ind,dataTable,aggrTable) { index <- which((aggrTable[,1]==dataTable[["Attr1"]][ind]) & (aggrTable[,2]==dataTable[["Attr2"]][ind])) as.numeric(aggrTable[index,3]) } avgDur <- aggregate(ap.dat[["Dur"]], by = list(ap.dat[["Attr1"]], ap.dat[["Attr2&...
2013 Mar 04
2
[LLVMdev] ARM assembler's syntax in clang
Hi, all. Another problem in ARM assembly: I use LDR to load an external symbol : LDR R7,=DataTable But clang gives error: unexpected token in operand to the '=', Then I change the code to: LDR R7,=DataTable The error becomes: unsupported relocation on symbol. How can I get around this in clang? Thanks in advance! On Mon, Feb 25, 2013 at 7:14 PM, Ashi <ashi08104 at gma...
2013 May 11
0
Jquery-Datatable-Rails Gem: Error on Update. PUT request automatically converting to a POST request.
...lease checkout this link and help me out here. I guess the Gem has a Bug. It is working perfectly for Creating a User but while Editing User information it is giving a routing error: No route matches [POST] "/users/2" Here is the link: http://stackoverflow.com/questions/16501440/jquery-datatables-rails-gem-not-working-for-update-call-converting-put-request -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JY...
2011 Oct 13
1
Legend symbols (line, points) in one column.
...################################################ x<-1:5 y<-1*x+rnorm(10) data1<-data.frame(x,y,type=rep("data",length(x))) model1<-lm(y~x,data=data1) data2<-data.frame(x=seq(0,6,.1)) data2$y<-predict(model1,newdata=data2) data2$type<-rep("model",nrow(data2)) dataT<-rbind(data1,data2) dataT require(lattice) confMisc1<- simpleTheme(pch = c(19,1),lwd=c(2,1),cex=1.5, lty=1,col=c("black")) xyplot(y~x,group=type, type=c("p","l"), key=list(space="right",text=list(c("Data","Model...
2013 Mar 05
0
[LLVMdev] ARM assembler's syntax in clang
Hi, all. The previous post have a typo: problem in ARM assembly: I use LDR to load an external symbol : LDR R7,=DataTable But clang gives error: unexpected token in operand to the '=', Then I change the code to: LDR R7,DataTable The error becomes: unsupported relocation on symbol. How can I get around this in clang? My problem is actually how to load external symbol in Clang's integrated-as?...
2006 May 31
0
web services datat types
Ok, this is the model (just two structs) class CLL_Answer < ActionWebService::Struct member :server_status, :bool member :answerDescription, :string member :answer, :string member :metadata, CLL_Metadata end class CLL_Metadata < ActionWebService::Struct member :key, :string member :type, :string member :value,
2011 Nov 14
0
ODBC Connection shows only INT Fields od Datatable
Hi, I made a UserDSN using "wine control". Driver Mysql ODBC 5.1 Driver is installed under wine. I can connect to the Database. I want to connect to a table in that DB using Lotus Approach. After connecting I see only Datafields with INT values. All Fields with VARCHAR values are not displayed. In the UserDSN configuration window I changed the charset option of the Mysql ODBC Connector
2011 Aug 03
1
Need help with xyplot
...\Documents and Settings\\All Users\\Documents\\Desktop\\Fayez\\ResearchWork\\Pajek_Work\\Program\\2011-03-07-Wed-FriMeetingApr15\\RPractice\\" NumberOfyears <- c(0, 1, 2, 3, 4 ,5); File2Open = paste(FilePath, "FriendshipNetExample.txt", sep = "") # print(File2Open) DataTable = read.table(File2Open, header = TRUE, sep = "\t") # print(DataTable) print(xyplot(FriendsAtYear0 + FriendsAtYear1 + FriendsAtYear2 + FriendsAtYear3 + FriendsAtYear4 + FriendsAtYear5 ~ AgeOfPerson | AgeRange, data = DataTable, xlab = "Number of Years (0 to 5)", ylab = &qu...
2013 Mar 06
3
[LLVMdev] ARM assembler's syntax in clang
...[mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Ashi Sent: 05 March 2013 04:27 To: Renato Golin Cc: LLVM List Subject: Re: [LLVMdev] ARM assembler's syntax in clang Hi, all. The previous post have a typo: problem in ARM assembly: I use LDR to load an external symbol : LDR R7,=DataTable But clang gives error: unexpected token in operand to the '=', Then I change the code to: LDR R7,DataTable The error becomes: unsupported relocation on symbol. How can I get around this in clang? My problem is actually how to load external symbol in Clang's integrated-as...
2016 Apr 19
5
Interquartile Range
...! Thanks anyway On Mon, Apr 18, 2016 at 9:02 PM, Jim Lemon <drjimlemon at gmail.com> wrote: > Hi Michael, > At a guess, try this: > > iqr<-function(x) { > return(paste(round(quantile(x,0.25),0),round(quantile(x,0.75),0),sep="-") > } > > .col3_Range=iqr(datat$tenure) > > Jim > > > > On Tue, Apr 19, 2016 at 11:15 AM, Michael Artz <michaeleartz at gmail.com> > wrote: > > Hi, > > I am trying to show an interquartile range while grouping values using > > the function ddply(). So my function call now is like &g...
2016 Apr 19
2
Interquartile Range
.... So my function call now is like groupedAll <- ddply(data ,~groupColumn ,summarise ,col1_mean=mean(col1) ,col2_mode=Mode(col2) #Function I wrote for getting the mode shown below ,col3_Range=paste(as.character(round(quantile(datat$tenure,c(.25)))), as.character(round(quantile(data$tenure,c(.75)))), sep = "-") ) #custom Mode function Mode <- function(x) { ux <- unique(x) ux[which.max(tabulate(match(x, ux)))] } I am not sre what is going wrong on my interquartile range function, it works...
2016 Apr 19
0
Interquartile Range
Hi Michael, At a guess, try this: iqr<-function(x) { return(paste(round(quantile(x,0.25),0),round(quantile(x,0.75),0),sep="-") } .col3_Range=iqr(datat$tenure) Jim On Tue, Apr 19, 2016 at 11:15 AM, Michael Artz <michaeleartz at gmail.com> wrote: > Hi, > I am trying to show an interquartile range while grouping values using > the function ddply(). So my function call now is like > > groupedAll <- ddply(data >...
2013 Mar 07
0
[LLVMdev] ARM assembler's syntax in clang
...5 March 2013 04:27 > *To:* Renato Golin > *Cc:* LLVM List > *Subject:* Re: [LLVMdev] ARM assembler's syntax in clang**** > > ** ** > > Hi, all. The previous post have a typo: > > problem in ARM assembly: I use LDR to load an external symbol : > > LDR R7,=DataTable > > But clang gives error: unexpected token in operand to the '=', > Then I change the code to: > > LDR R7,DataTable > > The error becomes: unsupported relocation on symbol. How can I get around > this in clang? My problem is actually how to load external...
2007 Aug 27
4
Problem with save or/and if (I think but maybe not ...)
...ength(p0fichiers)) { donnees<-read.table(p0fichiers[i], quote="\"", sep=";", dec=",", skip=18) jourheure<-paste(donnees$V1, donnees$V2, sep=" ") donnees[1]<-jourheure donnees<-donnees[,-2] # assignTable(con, "Datatable", donnees, append=TRUE) - Ne marche pas dbWriteTable(con, "Datatable", donnees, append=TRUE) rm(donnees, jourheure) } # Idem avec les fichiers d'extension .Px en chargant toutes les lignes (skip=0) # Amelioration possible : creer une fonction avec en argumen...