search for: tp17702978p17702978

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

2008 Jun 06
1
functions for high dimensional integral
...ompute a high dimensional integral. Currently I'm using the function adapt in R package adapt. But this method is kind of slow to me. I'm wondering if there are other solutions. Thanks. Zhongwen -- View this message in context: http://www.nabble.com/functions-for-high-dimensional-integral-tp17702978p17702978.html Sent from the R help mailing list archive at Nabble.com.
2008 Jun 06
6
Subsetting to unique values
I want to take the first row of each unique ID value from a data frame. For instance > ddTable <- data.frame(Id=c(1,1,2,2),name=c("Paul","Joe","Bob","Larry")) I want a dataset that is Id Name 1 Paul 2 Bob > unique(ddTable) Will give me all 4 rows, and > unique(ddTable$Id) Will give me c(1,2), but not accompanied by the name column.