search for: seungwjun

Displaying 2 results from an estimated 2 matches for "seungwjun".

Did you mean: seunggeun
2008 Jan 07
2
How should I improve the following R code?
I'm looking for a way to improve code that's proven to be inefficient. Suppose that a data source generates the following table every minute: Index Count ------------ 0 234 1 120 7 11 30 1 I save the tables in the following CSV format: time,index,count 0,0:1:7:30,234:120:11:1 1,0:2:3:19,199:110:87:9 That is, each line represents a table, and I
2007 Aug 28
2
quntile(table)?
Hi, I have data in the following form: index count -7 32 1 9382 2 2192 7 190 11 201 I'd like to get quantiles from the data. I thought about something like this: index <- c(-7, 1, 2, 7, 11) count <- c(32, 9382, 2192, 190, 201) quantile(rep(index, count)) It answers correctly, but I feel it's wasteful especially when count is