search for: split

Displaying 20 results from an estimated 17198 matches for "split".

2009 Dec 10
3
How to figure out which the version of split is used?
There are a number of functions that are dispatched to from split(). > methods('split') [1] split.data.frame split.Date split.default split.POSIXct Is there a way to figure out which of these variants is actually dispatched to when I call split? I know that if the argument is of the type data.frame, split.data.frame will be called? Is it the...
2018 Mar 15
1
Adjusting OHCL data via quantmod
...al-data-in-r/importing-text-data-and-adjusting-for-corporate-actions?ex=10) (and quantmod documentation) to determine how Alpha Vantage's data is adjusted. Here are my findings: -It seems that Alpha Vantage's OHLC data are unadjusted, and the adjusted close column provided is adjusted for splits, and split-adjusted dividends. -If I use AV's adjusted close column to adjust my OHCL data, my data will be adjusted for splits, and split-adjusted dividends. (So, I can use adjustOHLC(), with argument use.Adjusted = TRUE to adjust for splits, and split-adjusted dividends) Evidence: ### libr...
2019 Dec 18
2
A weird behaviour of strsplit?
Hi all, In the help of strsplit one can read split character vector (or object which can be coerced to such) containing regular expression<http://127.0.0.1:39783/help/library/base/help/regular%20expression>(s) (unless fixed = TRUE) to use for splitting. If empty matches occur, in particular if split has length 0, x is sp...
2019 Jan 26
2
Status update on the hot/cold splitting pass
Hello, I’d like to give a status update to the community about the recently-added hot/cold splitting pass. I'll provide some motivation for the pass, describe its implementation, summarize recent/ongoing work, and share early results. # Motivation We (at Apple) have found that memory pressure from resident pages of code is significant on embedded devices. In particular, this pressure spi...
2019 Jan 28
2
Status update on the hot/cold splitting pass
The splitting pass currently doesn’t move cold symbols into a separate section. Is that affecting your results? On Darwin, we plan on using a symbol attribute to provide an ordering hint to the linker (see r352227, N_COLD_FUNC). vedant > On Jan 28, 2019, at 10:51 AM, Aditya K via llvm-dev <llvm-dev...
2011 Aug 05
0
[LLVMdev] RFC: Exception Handling Rewrite
...in the main body of a try-statement all go to the same landingpad- > block), then you cannot move the LandingpadInst in order to break a critical edge unless > you do it for _all_ landingpad-block predecessor edges simultaneously, but that seems > to be a messy conclusion (being forced to split other edges that don't need to be split). > > > my first guess is that all the nuances of whether it ever makes sense and/or is even > logically possible to split a critical landingpad-edge won't be discovered except by > painful trial-and-error, and that it might be best...
2019 Feb 05
2
Status update on the hot/cold splitting pass
On Mon, Jan 28, 2019 at 11:03 AM Aditya K via llvm-dev < llvm-dev at lists.llvm.org> wrote: > > The splitting pass currently doesn’t move cold symbols into a separate > section. Is that affecting your results? > Maybe partly, the main reason is that, in the absence of good profile > info, we aren't finding many cold blocks. > We noticed that the split cold functions are ending up in th...
2019 Feb 05
2
Status update on the hot/cold splitting pass
...le.com> wrote: > Hi Teresa, > > On Feb 5, 2019, at 2:38 PM, Teresa Johnson via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > > > > > On Mon, Jan 28, 2019 at 11:03 AM Aditya K via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > >> > The splitting pass currently doesn’t move cold symbols into a separate >> section. Is that affecting your results? >> Maybe partly, the main reason is that, in the absence of good profile >> info, we aren't finding many cold blocks. >> > > We noticed that the split cold func...
2007 Nov 24
2
'Split' character
Dear R-users, The following code splits a very simple dataframe into a list, each element of the list being one line of the dataframe. You will see that the split function names each element of the list by using uses the content of a and b and merging them with a "." character. Is there a way to customize this character? a&lt...
2010 Dec 09
4
lapply getting names of the list
...H K 0.3939 0.939 0.3939 0.77 rx82922 B1 J K 0.3838 0.393 0.393 0.00 rcn3939 B1 M O 0.000 0.000 0.000 0.77 tcn39399 B1 P I 0.393 0.393 0.393 0.56 Note that the SampleID is repeating. So I want to be able to split the dataset based on the SampleID and write the splitted dataset of every SampleID into a new file. I tried split followed by lapply to do this. infile <- read.csv("test.txt", sep="\t", as.is = TRUE, header = TRUE) infile.split <- split(infile, infile$SampleID) names(inf...
2011 Jun 17
1
question about split
Dear R-users I seem to be stumped on something simple. I want to split a data frame by factor levels given in one or more columns e.g. given dat <- data.frame(x = runif(100), fac1 = rep(c("a", "b", "c", "d"), each = 25), fac2 = rep(c("A", "B"), 50)) I know I can spl...
2009 Sep 06
1
struggling with "split" function
I am very sorry for such a simple question, but I am struggling with "split". I have the following data frame: x<-data.frame(A=c(NA,NA,NA,NA,"split",NA,NA,NA,NA,"split",NA,NA,NA,NA,"split",NA,NA,NA,NA), B=c("Name1","text1","text2","text3",NA,"Name2","text1","text2",&...
2011 Aug 11
1
Splitting data
I want to implement the following algorithm in R: I want to split my data, use a t test to compare both means of the groups to see if they significantly differ from each other. If this is a yes (p < alpha) I want to split again (into 4 groups) and do the same procedure twice, and stop otherwise (here the problem arises). As a final result I would have differe...
2009 Dec 15
2
split.data.frame
Hello, I very much enjoy "with" and "subset" semantics for data frames and was wondering if we could have something similar with split, basically by evaluating the second argument "with" the data frame : split.data.frame function(x, f, drop = FALSE, ...){ call <- match.call( ) fcall <- call( "with", data = call[["x"]], expr = call[["f"]] ) ff <- eval( fc...
2010 May 04
2
split() bug? Inconsistent Windows/Linux behavior.
I didn't see anything on this in the bug reports, and a search of the archives had lots of false positives when searching on "split" to be helpful. I don't view this as particularly interesting or useful, but wanted to report it because I stumbled on it (and don't remember ever seeing "invalid permissions" as part of a segfault).? Yes, I realize this is a silly example that you wouldn't actually do,...
2015 Mar 10
2
[LLVMdev] PBQP spilling
Both approaches are not exclusive. I would even think it makes sense to have a pre-split pass to prepare the graph, with a global view, and later on use use trySplit (or an equivalent) to handle the local coloring issues. From: Quentin Colombet [mailto:qcolombet at apple.com] Sent: 09 March 2015 23:08 To: Lang Hames Cc: Jonas Paulsson; llvmdev at cs.uiuc.edu; Arnaud De Grandmaison...
2020 Feb 10
1
[nbdkit PATCH] split: Add support for .extents
Copies somewhat from the file plugin, with the difference that we always provide an .extents even if one or more of the split files does not support SEEK_HOLE. Testing is possible on a file system that supports sparse files when using nbdsh. Signed-off-by: Eric Blake <eblake@redhat.com> --- I'm going ahead and committing this, but am also posting this for review in case we later find any problems with what I...
2018 Feb 05
2
Dir split brain resolution
Hi, I am wondering why the other brick is not showing any entry in split brain in the heal info split-brain output. Can you give the output of stat & getfattr -d -m . -e hex <file-path-on-brick> from both the bricks. Regards, Karthik On Mon, Feb 5, 2018 at 5:03 PM, Alex K <rightkicktech at gmail.com> wrote: > After stoping/starting the volume I hav...
2013 Jan 27
2
rpart
...of nodes not match in the results of the 2 functions (summary and plot) or it is not always the same? Look forward to your reply, Carol -------------------------------------------- ?summary(rpart.res) Call: rpart(formula = mydata$class ~ ., data = as.data.frame(t(mydata))) ? n= 62 ???????? CP nsplit rel error??? xerror????? xstd 1 0.6363636????? 0 1.0000000 1.0000000 0.1712469 2 0.1363636????? 1 0.3636364 0.6818182 0.1532767 3 0.0100000????? 2 0.2272727 0.7727273 0.1596659 Variable importance ? Hsa.627?? Hsa.692 Hsa.692.2? Hsa.3306?? Hsa.601?? Hsa.831? Hsa.1832? Hsa.2456 ?????? 19??????? 13?...
2009 Dec 08
1
problem with split eating giga-bytes of memory
I'm having trouble using split on a very large data-set with ~1400 levels of the factor to be split. Unfortunately, I can't reproduce it with the simple self-contained example below. As you can see, splitting the artificial dataframe of size ~13MB results in a split dataframe of ~ 144MB, with an increase memory allocation of...