search for: columnar

Displaying 15 results from an estimated 15 matches for "columnar".

Did you mean: columna
2012 Sep 27
1
List of Variables in Original Order
...another one for the variable names. I built the correlation matrix using x = matrix(format(cor(mydata.df[,1],mydata.df[,c(2:79)]),digits=4),nc=3) and the variable names matrix using y = matrix(ls(mydata.df[c(2:79)]),nc=3). The problem is the function ls returns the names in alphabetical order, columnar order. How do I get the names in columnar order? Is there a better way to display the correlation of a single variable with a large number of other variables? If there is, how do I do it? I appreciate any help I can get. This is my first project in R so I don't know much about it yet. -- Vie...
2011 Mar 09
2
collapse a data column into a row
I have a file with a data in columnar format like below: probeID rc_AI104113_at rc_AI178259_f_at rc_AI179134_i_at rc_AI179134_f_at rc_AI104113_at rc_AA819429_f_at How can I rewrite it in the format below: 'rc_AI104113_at', 'rc_AI178259_f_at', 'rc_AI179134_i_at', 'rc_AI179134_f_at', 'rc_AI104113_at...
2023 Aug 07
1
[libnbd PATCH] golang: Optionally use gofmt on generated .go files
...4, 2023 at 09:29:48AM -0500, Eric Blake wrote: > Combine my recent work on improving the generated Go output with > Tage's work on using a canonical formatter for Rust. If gofmt is > available during the build, then the generated .go files will now use > TAB indents and have proper columnar alignment; if it is not > available, the project still compiles. > > Signed-off-by: Eric Blake <eblake at redhat.com> > --- > > Followup to this earlier series: > https://listman.redhat.com/archives/libguestfs/2023-July/032133.html Now in as 9cb10b39, after rebasing to...
2012 Jun 19
1
Scaling a "density".
...olks, I have a small dataset of counts of recoveries on defaulted loans: recoveries<-structure(c(0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1, 0, 0, 0, 0, 0, 4, 0, 1, 2, 2, 12), .Dim = c(11L, 2L), .Dimnames = list( NULL, c("pcts", "counts"))) Here is the data in columnar form: pcts counts [1,] 0.0 0 [2,] 0.1 0 [3,] 0.2 0 [4,] 0.3 0 [5,] 0.4 0 [6,] 0.5 4 [7,] 0.6 0 [8,] 0.7 1 [9,] 0.8 2 [10,] 0.9 2 [11,] 1.0 12 For example row [6,] means that in our historical sample we saw 50% recoveri...
2023 Aug 04
1
[libnbd PATCH] golang: Optionally use gofmt on generated .go files
Combine my recent work on improving the generated Go output with Tage's work on using a canonical formatter for Rust. If gofmt is available during the build, then the generated .go files will now use TAB indents and have proper columnar alignment; if it is not available, the project still compiles. Signed-off-by: Eric Blake <eblake at redhat.com> --- Followup to this earlier series: https://listman.redhat.com/archives/libguestfs/2023-July/032133.html I still need to fold in the 'make check' verification of non-gen...
2009 Apr 08
2
Reshape - strange outputs
...ow and column names columnnames <- sprintf("%.2f", seq(from = -89.75, to = 89.75, length = 360)) rnames <- sprintf("%.2f", seq(from = -179.75, to = 179.75, length = 720)) colnames(arunoff_1986_temp) <- columnnames rownames(arunoff_1986_temp) <- rnames # Melt into columnar format arunoff_1986$Longitude <- rownames(arunoff_1986) # Note: If I do: arunoff_1986$Latitude <- rownames(arunoff_1986) (i.e. change it to 'Latitude', I get the following: Warning message: In arunoff_1986$Latitude <- rownames(arunoff_1986) : Coercing LHS to a list ), thus pr...
2009 Jul 28
5
Summarising Data for Forrest Plots
...groups within my single dataset as a test of heterogeniety. I have a dataset who received either full dose(FD) or reduced dose(RD) treatment, and a number of characteristics about those subjects: age, sex, renal function, weight, toxicity. And I have survival data (censored). they are in standard columnar data. Is there an *easy* way to transform them into something like this: SubGroup n.FD n.RD surv.FD surv.RD 1 Age >65 2 Age <= 65 3 Male ... 9 Grade 0-2 Tox 10 Grade 3/4 Tox Which rmeta will then let me use to create a forest plot f...
2010 Jul 07
9
problema con file
Hola. Tengo un archivo de texto con formato Ansi en Windows que lo quiero convertir en una serie temporal pero cuando lo trato de hacer con el siguiente comando: out <- read.zoo(readLines(con <- file("log2.log", encoding="UCS-2LE")),FUN = as.chron) Me da los siguientes errores: Error en file(file, "rt") : no se puede abrir la conexión Además: Mensajes de
2008 Apr 03
1
prettyR 25% quartile, 75% quartile
I am using the describe function in prettyR. I would like to add the 25% 75% quartiles to the summary table how do I do this I have tried describe(x.f, num.desc=c("mean", "median", "sd", "min", "max", "skewness", "quantile(x.f, na.rm=T, probs=seq(0.25, 0.75))", "valid.n")) help -- Let's not spend our time
2013 Jan 14
1
tabstop in graphics
Hi, I'm curious about Tab stops in graphics: plot(1) text(1.2, 1.2, "Char\nMoreChar") works fine, but text(1.2, 0.8, "Char\tMoreChar") doesn't. Exporting with pdf tells me that the sign width is unknown. I'm not into informatics, so I don't know how a tabstop actually works. Is this at all possible in graphical commands as it is in write.table and the like?
2006 May 18
1
write.csv + appending output (FILE I/O)
Hi, How can I write the output to an excel (csv) file without printing row names (i.e without breaks). Here is my code: library( fn <- function() { q <- c(1,2,3) write.csv(q,"C:/Temp/op.xls", append = TRUE, row.names = FALSE,quote = FALSE) } # Function Call for(i in 1:3) { fn() } Present Output : x 1 2 3 x 1 2
2011 Jan 14
1
[LLVMdev] Compiler Centric Career Opportunities in finance
...mming language and compiler design -- hence my posting on the LLVM mailing list. Goldman Sachs most famously developed Slang and SecDB more than 20 years ago -- Slang is essentially a scripting language based on Scheme (functional) which has added a number of object oriented features. SecDB is columnar database similar to APL / K / Q. http://bit.ly/eVJpQY Obviously there have been some changes in computer science in the last 20 years! As such, many of these groups are taking advantage of new(er) technologies including Map Reduce / Pig / MongoDB / Hadoop / Python / Haskell / OCaml / C++....
2009 Jan 10
3
Poor RAID performance new Xeon server?
I have just purchased an HP ProLiant HP ML110 G5 server and install ed CentOS 5.2 x86_64 on it. It has the following spec: Intel(R) Xeon(R) CPU 3065 @ 2.33GHz 4GB ECC memory 4 x 250GB SATA hard disks running at 1.5GB/s Onboard RAID controller is enabled but at the moment I have used mdadm to configure the array. RAID bus controller: Intel Corporation 82801 SATA RAID Controller For a simple
2017 Dec 09
1
Remove
library(dplyr) DM <- read.table( text='GR x y A 25 125 A 23 135 . . . ) DM %>% filter((GR == "A" & (x >= 15) & (x <= 30)) | (GR == "B" & (x >= 40) & (x <= 50)) | (GR == "C" & (x >= 60) & (x <= 75))) On Fri, Dec 8, 2017 at 4:48 PM, Ashta <sewashm at gmail.com>
2007 Dec 01
10
Fixtures Cleanup
All, I''ve been playing a bit with some patches to make the fixture loading and management code a little bit easier to maintain. If I were to start chopping out features, how would you feel about losing: Fixture instantiation, Old school single-file fixtures, CSV fixtures, The ability to specify a subset of fixtures (everything''s always loaded instead), The ability to