search for: dat11

Displaying 4 results from an estimated 4 matches for "dat11".

Did you mean: dat1
2008 Oct 08
1
Choose subset for plot use (bwplot)
Hello, this code below was from a helpful R-help user. dat <- read.csv("Resid_fix2.csv", sep="," , header=T) dat11 <- dat[1:413,] # convert ambiguous columns to factors: dat11$Pri_No <- factor(dat11$Pri_No) dat11$RecovUnit <- factor(dat11$RecovUnit) # plot: require(lattice) bwplot(bbED~ Pri_No | RecovUnit, data=dat11, as.table=TRUE, layout=c(4,1)) This works, but I am trying to do this: > bwplot(...
2010 Oct 15
7
Problem with merging two zoo objects
Dear all, I have following 2 zoo objects. However when I try to merge those 2 objects into one, nothing is coming as intended. Please see below the objects as well as the merged object: > dat11 V2 V3 V4 V5 2010-10-15 13:43:54 73.8 73.8 73.8 73.8 2010-10-15 13:44:15 73.8 73.8 73.8 73.8 2010-10-15 13:45:51 73.8 73.8 73.8 73.8 2010-10-15 13:46:21 73.8 73.8 73.8 73.8 2010-10-15 13:47:27 73.8 73.8 73.8 73.8 2010-10-15 13:47:54 73.8 73.8 73.8 73.8 2010-10-15 13:49:51...
2010 Mar 30
2
Need help to split a given matrix is a "sequential" way
...80 [2,] 200 150 180 [3,] 200 50 140 [4,] 200 150 100 [5,] 200 50 180 [,1] [,2] [,3] [1,] 100 180 80 [2,] 100 150 60 [3,] 100 50 60 [4,] 100 100 100 [5,] 100 50 120 Now each of dat1 and dat2 needs to be splited according to the it's 2nd column i.e. > dat11 <- dat1[which(dat1[,2] == unique(dat1[,2])[1]),] > dat12 <- dat1[which(dat1[,2] == unique(dat1[,2])[2]),] > dat13 <- dat1[which(dat1[,2] == unique(dat1[,2])[3]),]; dat11; dat12; > dat13 [1] 200 100 80 [,1] [,2] [,3] [1,] 200 150 180 [2,] 200 150 100 [,1] [,2] [,3]...
2011 Nov 27
1
Simplifying my code
...problem. Here is the code: dat1=complete(dat.mice,1) dat2=complete(dat.mice,2) dat3=complete(dat.mice,3) dat4=complete(dat.mice,4) dat5=complete(dat.mice,5) dat6=complete(dat.mice,6) dat7=complete(dat.mice,7) dat8=complete(dat.mice,8) dat9=complete(dat.mice,9) dat10=complete(dat.mice,10) dat11=complete(dat.mice,11) dat12=complete(dat.mice,12) dat13=complete(dat.mice,13) dat14=complete(dat.mice,14) dat15=complete(dat.mice,15) dat16=complete(dat.mice,16) dat17=complete(dat.mice,17) dat18=complete(dat.mice,18) dat19=complete(dat.mice,19) dat20=complete(dat.mice,20) I would like t...