Hello,
Try ?unlist.
unlist(abun)
Hope this helps,
Rui Barradas
Em 03-09-2012 17:06, chris20 escreveu:
Hi,
I am trying to combine a long list but I can't work out how to do it, for
example:
abun<-list(rep(0,5),rep(0,7),rep(0,4),rep(0,10))
nb<-c(5,5,1,8)
fill.abun <- function(x, y) {
Val,
Type "combine two data sets" (text you wrote in your post) into
www.rseek.org. The first two links are: "Quick-R: Merge" and "Merging data:
A tutorial". Isn't it quicker for you to use rseek, rather than the time it
takes to write a post and wait for a reply ? Don't you also get more
de
?merge
On Mon, Mar 29, 2010 at 7:13 AM, Val wrote:
> Hi all,
>
> I want to combine two data sets (ZA and ZB to get ZAB).
> The common variable between the two data sets is ID.
>
> Data ZA
> ID F M
> 1 0 0
> 2 0 0
> 3 1 2
> 4 1 0
> 5 3 2
> 6 5 4
>
> Data ZB
>
> ID v1 v2 v3
> 3 2.
Thanks. I tried you suggestion and it indeed solves the problem. For the
sample code below the appropriate substitute to the curve function is:
xv = seq(0, 3, by = .05)
yv = sin(xv)
yv.new = cos(xv)
p.12 = xyplot(yv + yv.new ~ xv, type="l", lty=c(1,5), col="black")
On 11/10/08 2:09 PM, "Greg
The xyplot function is a lattice function that uses grid graphics. The curve
function is a base graphics function. 'par' and 'layout' work with base
graphics, the print idea works with grid graphics. Grid graphics and base
graphics don't mix easily. One option is to find a grid/lattice/ggplo
5 matches
Mail list logo