search for: mar1

Displaying 6 results from an estimated 6 matches for "mar1".

Did you mean: mar
2012 Jul 17
2
aligning image with bar plot in the same plot
...) plot, but was wondering whether there is an easier way to do it. Thank you so much! Tiago ############# code ## matrix to plot matI <- matrix(c(rep(1:3, 100), rep(4:6, 100), rep(7:9, 100)), nrow=3, byrow=T) ## plot with three panels layout(matrix(1:3, nrow=1), widths=c(1,1,1)) # margins mar1 <- c(1,1,1,1) par(mar=mar1) ## plot matrix image(x=(1:(ncol(matI)+1)), y=(1:(nrow(matI)+1)), t(matI), axes=F) abline(h=c(1,100,200,300), xpd=NA) ## manually adjusting bottom and up par it lines up ## mar1 <- c(1.9,0,1.9,2) ## par(mar=mar1) colorsBarPlot <- c(rep('green', 100), re...
2013 Oct 23
2
Multivariate time series in R 3 vs R 2
Hello! Recently I got report that my package mar1s doesn't pass checks any more on R 3.0.2. I started to investigate and found the following difference in multivariate time series handling in R 3.0.2 compared to R 2 (I've checked on 2.14.0). Suppose I wish to calculate seasonal component for time series. In case of multivariate time serie...
2011 Dec 02
1
Willkommen bei der "R-help" Mailingliste
...everal marks, but I did not figure out how this works. Trying X <- as.ppp(mydata, owin(c(174, 178), c(29, 33))) just gives the error Error in as.ppp(mydata, owin(c(174, 178), c(29, 33))) : X must be a two-column or three-column data frame The data set looks something like Date X Y Mar1 Mar2 Mar3 1.1. 4 3 50 6 A 2.1. 2 1 40 9 A 3.1. 5 8 35 12 B But how can I integrate two or more marks in a three-column data frame, when two columns are already needed for the X and Y coordinates? I hope you can help me w...
2008 Oct 28
0
Package "evd"
As I tried to draw random sample from Hüsler-Reiss density with the following code, library(evd) margins <- cbind(0, 1, seq(-0.5,0.5,0.1)) x <- rbvevd(101, dep = 1.7, model = "hr", mar1 = margins) [,1] [,2] [1,] -0.56662298 0.8448505 [2,] 0.55824918 1.0217279 [3,] 0.24741124 0.6684668 [4,] -0.31547985 0.1781680 [5,] 0.69466134 0.2299363 [6,] 3.58035098 2.3489841 [7,] -0.07171582 0.6984240 [8,] 0.54275202 0.7706450 [9,] -1.01611325 -0.65981...
2013 Oct 21
0
lapply(ts(1:2), length) inconsistent answers
...ched, with nothing obviously masked. 1. Am I correct that the answer to "lapply(ts(1:2), length)" should be a list of length 2 consisting of "int 1" twice? This is what I get from R 3.0.2 with nothing else attached. If I've attached other things including mar1s and a version of fda prior to the current 2.4.0 on CRAN, I get a list of length 1 consisting of "int 2". See below. 2. What might cause this inconsistency? I'm guessing this may be due to something strange in the NAMESPACE, but I wouldn't now what....
2008 Mar 29
1
A patch for extending pdf device to embed popup text and web links
...= OMA2; } + if (strcmp("OMA3", coord) == 0) { from = OMA3; } + if (strcmp("OMA4", coord) == 0) { from = OMA4; } + if (strcmp("NIC", coord) == 0) { from = NIC; } + if (strcmp("NFC", coord) == 0) { from = NFC; } + if (strcmp("MAR1", coord) == 0) { from = MAR1; } + if (strcmp("MAR2", coord) == 0) { from = MAR2; } + if (strcmp("MAR3", coord) == 0) { from = MAR3; } + if (strcmp("MAR4", coord) == 0) { from = MAR4; } + if (strcmp("NPC", coord) == 0) { from =...