6 results found for *EXACT PHRASE: <- {}*

interested in base 2 - 9). My current functions to convert base 10 to base 2 looks like: cb2 <- function(num){ td<-{} a **<-** **{}** while (num 2 > 0 ){ a <- num %% 2

http://stackoverflow.com/questions/3323849/mapply-recycling-arguments

OpenCV (look in samples/squares.c), and it's quite simple, actually. Here's the rough algorithm they use: 0. rectangles **<-** **{}** 1. image <- load image 2. for

http://stackoverflow.com/question...encv-object-detection-center-point

all triangles P **<-** **{}** while T is not empty: t <- some element from T remove t from T if t intersects the plane: l <- the line segment that is the

http://stackoverflow.com/question...cross-section-polygon-from-3d-mesh

size=10){ out **<-** **{}** for(i in 1:n){ out <- c(paste(sample(c(0:9, LETTERS, letters), size, replace=TRUE), collapse='')) } return(out) } newLevels <- getID(n =

http://stackoverflow.com/question...3140/assigning-group-id-with-ddply

I've also seen x **<-** **{}** Now you can concatenate or bind a vector of any dimension to x rbind(x, 1:10) cbind(x, 1:10) c(x, 10) vec <- vector() See also

http://stackoverflow.com/question...an-empty-r-vector-to-add-new-items

which works, but isn't written in very R'esque code: dupData <- function(df){ diff <- abs(df$start - df$end) ret **<-** **{}** #Expand our dataframe into the

http://stackoverflow.com/question...-data-based-on-column-in-dataframe