search for: longb

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

Did you mean: long
2005 May 12
2
Batch mode problem: figure margins too large (code corrected for word wrap)
...11,width=8.5) z <- layout(matrix(c(1:8), 4,2, byrow = TRUE)) for (i in 1:8) { #loop to fill layout tbonds<-data[data$'Market.and.Exchange.Names'== "U.S. TREASURY BONDS - CHICAGO BOARD OF TRADE ",] #choose only T-Bonds ordered<-tbonds[order(tbonds[,3]),] #order by date longb<-ordered[,c(3,9)] longb[,1]<-as.Date(longb[,1],format="%Y%m%d") #to transform to date format par(mar=c(2.5, 3.5, 2, 4.5)) #need this par for mtext plot(longb,type="l",las=1,xlab="",ylab="",bty="l",cex.axis=0.9) end<-(longb)[nrow(ordered),]...
2005 May 12
0
Batch mode problem: figure margins too large
...8.5) z <- layout(matrix(c(1:8), 4,2, byrow = TRUE)) for (i in 1:8) { #loop to fill layout tbonds<-data[data$'Market.and.Exchange.Names'=="U.S. TREASURY BONDS - CHICAGO BOARD OF TRADE ",] #choose only T-Bonds ordered<-tbonds[order(tbonds[,3]),] #order by date longb<-ordered[,c(3,9)] longb[,1]<-as.Date(longb[,1],format="%Y%m%d") #to transform to date format par(mar=c(2.5, 3.5, 2, 4.5)) #need this par for mtext plot(longb,type="l",las=1,xlab="",ylab="",bty="l",cex.axis=0.9) end<-(longb)[nrow(ord...
2005 May 12
0
RE: Batch mode problem: figure margins too large (aligned R code to the left)
...yout(matrix(c(1:8), 4,2, byrow = TRUE)) > for (i in 1:8) { #loop to fill layout > tbonds<-data[data$'Market.and.Exchange.Names'=="U.S. TREASURY BONDS - > CHICAGO BOARD OF TRADE ",] #choose only T-Bonds > ordered<-tbonds[order(tbonds[,3]),] #order by date > longb<-ordered[,c(3,9)] > longb[,1]<-as.Date(longb[,1],format="%Y%m%d") #to transform to date format > par(mar=c(2.5, 3.5, 2, 4.5)) #need this par for mtext > plot(longb,type="l",las=1,xlab="",ylab="",bty="l",cex.axis=0.9) > end<-(lon...
2009 Nov 03
2
reshaping pairs of columns
Given a data frame consisting of a pointID and 12 pairs of (lat, long) variables, with names latA, longA, latB, longB, ... latL, longL, I want to reshape it into a data frame with the structure point source lat long 1 A ... ... 1 B ... ... I've looked at reshape and plyr, but can't figure out how to do this. Details of my data frame are below > dput(head(maps))...