Displaying 2 results from an estimated 2 matches for "byy".
Did you mean:
by
2013 Mar 05
1
different colors for two wireframe spheres
...a 2-D grid
n <- 10
tx <- matrix(seq(-pi, pi, length.out = 2*n), 2*n, n)
ty <- matrix(seq(-pi, pi, length.out = n) / 2, 2*n, n, byrow = T)
xx <- cos(tx) * cos(ty)
yy <- sin(tx) * cos(ty)
zz <- sin(ty)
zzz <- zz
bxx <- xx+5
byy <- yy+5
bzzz <- zzz+5
xx=rbind(xx,rep(NA,n),bxx)
yy=rbind(yy,rep(NA,n),byy)
zzz=rbind(zzz,rep(NA,n),bzzz)
gr<-rbind(matrix(1,n,2*n),rep(NA,n),matrix(2,n,2*n))
wireframe(zzz ~ xx + yy, groups=gr,col.groups=c("red","blue"))
I tried variou...
2010 Nov 10
1
Inserting Missing Data
...g)
As one example, I have data for size class (SC) one I can insert after
IndID #4 in the data above. However, when I attempt to merge these two
data frames using the following commands:
"Hs.full.anal<-merge(Hs.short.missgval,SC1_0608,
byx=c(Cave,Year,Month,Region,Plot,IndID),
byy=c(Cave,Year,Month,Region,Plot,IndID))"
I get the following message:
"WARNING: Warning in `[<-.factor`(`*tmp*`, ri, value = c(1L, 1L, 1L, 1L,
1L, 1L, 1L, :
invalid factor level, NAs generated"
Can anyone tell me what this means and how I might fix it?
Cheers
Kurt
*************...