search for: columnid

Displaying 3 results from an estimated 3 matches for "columnid".

2008 Nov 25
2
basic information defining functions
...ng from some insights to define own R functions. so far i found most basics in documentations that are around on the web. except for one thing: I?d like to define some function, say: #assume my data matrix contains vectors like data$myColumn1,data $myColumn2 etc. getMyColumn <- function (columnid){ x<-data$MyColumn?columnid?[data$indexone=1 & data$index2=5] return(x) } Do I need to use assign or eval first ? I tried to use paste to combine something like: paste("data$MyColumn",columnid,sep="") which did not work. I am happy to get any help with the proble...
2006 Mar 17
3
Updating Table without ID Column
Hey All, I''ve been having a slight problem updating attributes for a row that matches something other than it''s ID...For ex: My table that has 3 rows..ColumnID, ColumnTitle, and ColumnDescription. I want to update a row in that table WHERE CoumnTitle = @myvar....But whenever i run update_attrbutes[:mytable] it''s looking for an id for the record when i need to to look for the title...is there a way to override that? Any help is much appreciat...
2012 Mar 29
1
Error: argument of length 0
...an automated loop, but when I step through it by hand, I have no problems. It keep crashing when i<-10. I cannot figure this out to save my life! Please help and THANK YOU in advance! variables: FM100 is a matrix of columns: year, day (all years set to 366 days), region 1, region 2... region N columnID <- region # +2 numberFires is the number of fires that occurred in the region (the code assures there are more than 0 fires) years is a vector of fire years as pertains to each fire counted in numberFires explanatory.variables$DOY is a vector of Day-of-Year for each fires start day code:...