search for: leftmost

Displaying 20 results from an estimated 75 matches for "leftmost".

2010 Nov 18
3
New Sampling question
...3 6 5 4 7 this data frame have two sets of variables. each set simply represent one scale. as shown above, the first scale, say CSE, consists of four items: CSE1, CSE2, CSE3, and CSE4, whereas the second scale, say WSE, also has four items: WSE1, WSE2, WSE3, WSE4. the leftmost column lists the subjects' ID. I wanna create a new data frame through sampling random numbers from the data frame above. Below is the structure of the new data frame. SubID var var var var s c c c c s c c c...
2005 Nov 02
1
x/y coordinates of dendrogram branches
...dend <- as.dendrogram(hc) > attributes(dend[[1]])$midpoint [1] 0.5 Perhaps I could loop over all possible branches and get the midpoints if I knew how to convert them to x-values. The manual says that midpoint is the "numeric horizontal distance of the node from the left border (the leftmost leaf) of the branch (unit 1 between all leaves)." But how do I know which one is the leftmost leaf and what is its horizontal value? Thanks in advance, Timo
2013 Nov 05
0
Sampling question
...? 3 ? ? ?6 ? ? ?5 ? ? ? ?4 ? ? ? 7 this data frame have two sets of variables. each set simply represent one scale. as shown above, the first scale, say CSE, consists of four items: CSE1, CSE2, CSE3, and CSE4, whereas the second scale, say WSE, also has four items: WSE1, WSE2, WSE3, WSE4. the leftmost column lists the subjects' ID. I wanna create a new data frame through sampling random numbers from the data frame above. Below is the structure of the new data frame. ? ? SubID ? ?var ? ?var ? var ? ? var ? ? ? s ? ? ? ? ?c ? ? ?c ? ? ?c ? ? ? c ? ? ? ? ? ? s ? ? ? ? ?c ? ? ?c ? ? ?c ?...
2017 Oct 10
1
About multiple panels with limited space in-between
...uestion about plotting. The following two datasets are an example. What I have in mind is like the attached figure, but just have two rows, top row is for DF1, bottom row is for DF2. The top and bottom rows, have x-axis as var1, var2, var3, etc, while the y-axis represents A. For each row, only the leftmost panel has y-axis ticks and label. For the two rows, only the bottom row has x-axis ticks and label. I am not very clear about the coding. Thanks if you could give me any suggestions. DF1: Year 2000 A var1 var2 var3 var4 var5 1.2 0.8 0.9 1.1 1.2 12 1.8 0.9 1.2...
2007 Jun 26
3
[PATCH] Always use mipmaps in cube plugin
...gin uses mipmapping only when cube is unfolded. When the cube is rotated, mipmaps are not used, which leads to ugly look of textures. The attached patch fixes this. This leads to another kind of artifacts, which are fixable with anisotropic filtering. http://team.pld-linux.org/~wolf/aniso.png The leftmost image is the current state of cube plugin. The center image is with mipmaps enabled. The rightmost is with mipmaps and anisotropic filtering. wolf -- Bartek . Taudul : .:.................................................................... w o l f @ p l d - l i n u x . o r g...
2007 Sep 04
2
Howto sort dataframe columns by colMeans
I read from external data source containing several columns. Each column represents value of a metric. The columns are time series data. I want to sort the resulting dataframe such that the column with the largest mean is the leftmost column, descending in colMean values to the right. I see many solutions for sorting rows based on some column characteristic, but haven't found any discussion of sorting columns based on column characteristics. viz. input data looks like this time met-a met-b met-c 00:00 42...
2009 May 24
2
how to implement a circular buffer with R
Some wavelet analysis experts have implemented periodic boundary conditions for signals. I need to implement a circular buffer. Something like: "12345abcdefgh12345abcdefgh" so that at each step the riightmost element is moved to the leftmost index and everything else is properly shifted: "h12345abcdefgh12345abcdefg", "gh12345abcdefgh12345abcdef", .... My implementation (still debugging) seems to start working but is terribly clumsy. I am sure that some expert can suggest a more elegant solution, Thank you. Maura...
2010 Apr 03
2
(OT) OpenOffice.org calc chart strangeness.
I am attempting to create a simple line chart graphing three columns from a soffice-calc spreadsheet. I expect it to take the leftmost column as the X-Axis, plotting the others on the Y-Axis, but it always creates an X-Axis of the row number in the columns, and the first column amongst the data. I have tried this on OpenOffice.org 3.2.0, NeoOffice(R) 3.0.2 Patch 2, iWork Pages, and Excel 12.2.4 in Microsoft Office 2008 for Mac....
1999 Jul 27
0
tick marks and layout
Hi, all. Layout seems to put tick marks only in the leftmost column (for the y axis) and bottom row (for the x axis). This is easy to see using the following trivial program: function (nr, nc) { layout(matrix(1:(nr * nc), nr, nc)) for (i in 1:(nr * nc)) { plot(rnorm(10), rnorm(10)) } layout(matrix(1, 1, 1)) } I'd like to b...
2007 Dec 19
1
lattice: axes drawn when relation='free' or relation='sliced' but not when relation='same'
...ernating=2 , relation='same' , rot=90) fig1 <- xyplot( [...], scales=list(x=xaxs, y=yaxs)) I want this to draw ticks and labels on the left-hand side of each panel. Instead, I get ticks on the left-hand side of only the panels in the leftmost column, and labels only on the right-hand side of the rightmost column. What can account for that? What seems especially peculiar is that when I change relation to 'sliced' or 'free', the axes are drawn as I want them to be drawn. The data that I'm plotting are numeric and ra...
2011 Jul 08
1
lattice: How to vertically adjust an axis label?
Dear expeRts, How can I vertically adjust an axis tick label so that it is nicely aligned with the other labels? library(lattice) xyplot(0~0, xlim=c(0,3), scales=list(x=list(at=c(1,1.1), labels=c(expression(hat(theta)[italic(n)]),expression(theta))))) ## aim: move the leftmost expression up so that theta is nicely aligned with the second theta. Cheers, Marius
2011 Feb 28
1
changing origin and plotting complex graphs
...e x axis, and percentage change in area under rice between 1960 and 1990 on the y axis. Let origin of the plot be at (50 per cent of area of rice in India as a whole,percentage change in area of rice in India as a whole). Then label with name of State three highest/rightmost points and three lowest/leftmost points. please help! i'm a novice..so simple commands only please -- -- [[alternative HTML version deleted]]
2001 Jul 11
1
Extra lines when bty="n" (PR#1021)
Full_Name: Claus Ekstrøm Version: 1.2.0 OS: Linux (RedHat 7.1) Submission from: (NULL) (212.54.75.68) For some reason two extra lines keep appearing when making graphics with no box, bty="n" (a vertical line along the leftmost side of the graphics region and a horizonal line along the bottom side). The lines are very visible if the plot is saved as a postscript file and is later included in a document. Example code: # postscript("test.ps") y <- rnorm(100) par(mar=c(0,0,0,0), bty="n") plot(y) #...
2003 Jan 04
1
Winamp vorbis crash
...rbis@xiph.org, because Peters homepage at http://www.blorp.com/~peter/ is ... dead, and I am not sure what his email address is ) I have a ( more than probably corrupt ) ogg/vorbis file that makes winamp lock up. If I drag&drop the file on winamp, the position slider will start flashing at the leftmost position and winamp does not respond to any user input any more and uses 100% CPU. The only way to kill it is with the "Task Manager". I append the ogg/vorbis file ( it is only 4kilobytes long ). I created it with graphedit, using the OggDS DirectShow filters for Ogg and Vorbis ( from ht...
2012 Aug 22
1
Reshaping dataframes
Hi, I have a data set with variables that are _not_ missing at random. Now I use a package for learning a Bayesian Network which won't accept NA as a value. From a database I query data.frames with k,k+n,k+2n, ... variables (there are always at least k variables as leftmost columns). Using rbind.fill from the reshape package on two data frames I would get a data frame like trg_type child_type_1 1 Scientists NA 2 of used Now to get rid of NA values I use the following function, which works for data frames with only factor values: substitute_na &l...
2008 Apr 22
1
Mozilla windowless plugin
...should be a thing of the past, too. It also means Swfdec is the first plugin to support windowless on Mozilla/Unix. While this means we now have another feature that Adobe's player doesn't have, it also means we get to find the bugs in it. Here's the ones I know: - On redraw events the leftmost column of pixels isn't repainted. This causes weird stripes on some pages, a good example being http://www.youtube.com I think this is Mozilla's fault, but I'm not sure. - There is no way to set the mouse cursor. Swfdec uses the default mouse cursor all the time for windowless plugins....
2009 Jun 04
1
Using WinBUGS from R: A Multi-Way Array Problem
...ng data d<-list(Yk=Yk, T=T,n=n,k=k). Now in WinBUGS I have to define a multivariate stochastic node as as follows e[i,1:n,kk]~dmnorm( , ) ## i= 1,2,...,T ; kk = 1,2,...,k But Winbugs accepts only something like e[ , , 1:n]~dmnorm( , ). That is "1:n" has to be given at the leftmost position. This means that I need to change the definition of dim indices in R as follows. first index: for kth T by n array second index: T rows third index: n columns. Specifically, I want the above output as 1, , [,1] [,2] [1,] 1 4 [2,] 2 5 [3,] 3 6 2, , [,1] [,2...
2011 Jan 11
1
how to sort new data frame based on the original data frame
...3 6 6 3 6 5 4 7 this data frame have two sets of variables. each set simply represent one scale. as shown above, the first scale, say G, consists of four items: G1, G2, G3, and G4, whereas the second scale, say W, also has four items: W1, W2, W3, W4. the leftmost column lists the subjects' ID. I drew 100 new random samples based on the data frame. here is the structure of each new random sample: var var var var g g g g g g g g w...
2013 Aug 19
1
[LLVMdev] Offset in MCFixup
...et. LLVM's documentation states that: MCFixup.Offset -"/// The byte index of start of the relocation inside the encoded instruction." MCFixupKindInfo.TargetOffset - "/// The bit offset to write the relocation into." So if the relocation starts at bit 20 (assuming that the leftmost bit is bit number 31) I'd say that MCFixup.Offset = 1 and MCFixupKindInfo.TargetOffset = 3 and this is somehow confirmed by the code in MCAsmStreamer::AddEncodingComment. All the relocation bits are correctly identified if I emit the encoding of an instruction. The other use of MCFixup.Offset...
2018 Mar 15
1
Adjusting OHCL data via quantmod
...uot;) dividends <- getDividends("AAPL", split.adjust = TRUE) ratios_av <- adjRatios(splits = splits, dividends = dividends, close = close_av) close_av_adj <- close_av * ratios_av[,"Div"] * ratios_av[,"Split"] head(merge(close_av, close_av_adj, Ad(AAPL))) #The leftmost column is the raw close data from Alpha Vantage, #the middle column is the raw Alpha Vantage close column manually adjusted #for splits and split-adjusted dividends, and the last column is the adjusted close column returned by Alpha Vantage #Adjust all data for splits, and split-adjusted dividends...