search for: uplot

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

Did you mean: plot
2012 Nov 14
5
aggregate combination data
Dear R users, I want to aggregate all *d *data from all combination of n *plots* taken by k. Thank very much! My data is like that: plot d 1 14 1 13 1 12 1 14 1 18 1 20 1 21 1 43 1 108 1 43 2 41 2 61 2 83 2 61 2 84 2 45 2 21 2 12 2 11 ... 100 10 100 12 -- --- Catalin-Constantin ROIBU Forestry engineer, PhD Forestry Faculty of Suceava
2016 Apr 15
0
aggregate combination data
...>>> >>>>>>>> fun2 <- function(x, p){ >>>>>>>> ? ? ? idx <- x[["plot"]] %in% p >>>>>>>> ? ? ? x[idx, ] >>>>>>>> } >>>>>>>> >>>>>>>> uplot <- unique(dat$plot) >>>>>>>> plots <- fun(uplot, 2) >>>>>>>> apply(plots, 2, function(p) fun2(dat, p)) >>>>>>>> >>>>>>>> There's a total of 4560 df's returned. >>>>>>>&...