similar to: drop columns whose rows are all 0

Displaying 20 results from an estimated 100 matches similar to: "drop columns whose rows are all 0"

2007 Dec 06
1
Randomizing one column in the dataMatrix
I have huge data file, and I would like randomize just one column at a time , is there any easy way? Thanks a lot. -- View this message in context: http://www.nabble.com/Randomizing-one-column-in-the-dataMatrix-tf4957535.html#a14197423 Sent from the R help mailing list archive at Nabble.com.
2012 Jan 15
1
Word Wrap
Hello, I have to write a big sentence with cat() and I would like that R automatically adds a new line when it is needed (when the text arrives at the end of the window), the same as Windows Notepad does (Word Wrap). How could I do? Thank you F.
2012 Jan 13
2
read.table as integer
Hello, I have a csv file with many variables, both characters and integers. I would like to load it on R and do some operations on integer variables, the problem is that R loads the entire dataset considering all variables as characters, instead I would like that R makes the distinction between the two types, because there are too many variables to do: x1<-as.integer(x1)
2006 Oct 31
0
6202015 fmd should only load plug-ins whose filenames end in .so
Author: mws Repository: /hg/zfs-crypto/gate Revision: 350b29b024d8b672585c7a66fcea71985a54f77f Log message: 6202015 fmd should only load plug-ins whose filenames end in .so 6369961 fmd emits identical diagnosis after repair when case was never closed 6385004 mc-amd driver leaks property string on attach 6385007 fmd is not decrementing buf total when cases are closed Files: update:
2005 Jul 20
0
(fwd) Bug#319169: logcheck: chokes on log files whose names contain spaces
i did some cleanup first, but now i'm choking on a much earlier stage than i first thought. -- logcheck for file in $(egrep --text -v "(^#|^[[:space:]]*$)" $LOGFILES_LIST); do logoutput "$file" done -- that falls apart if you insert in /etc/logcheck/logcheck.logfiles a line like /var/log/auth .log even if you escape it with "", which is a valid
2015 Feb 20
0
isohybrid and ISO images whose size is not a multiple of 2048 bytes vs. VirtualBox
Hi, On 20/02/2015 11:29, Thomas Schmitt via Syslinux wrote: > Hi, > >> Now, I have a question: what about the "offset" parameter? How it >> modifies our assumptions and calculations if the "offset" parameter is >> not zero? > > The offset influences only the start address of the > partition. The alignment goal is about the end address. > So
2007 Dec 03
1
[LLVMdev] lli interpreter crashed for integer type whose bitwidth > 64
Hi, The lli interpreter crashed for the following case: ; ModuleID = 'x.c' target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32" target triple = "i686-pc-linux-gnu" define i32 @main() { entry: %retval = alloca i32 ; <i32*> [#uses=2] %tmp = alloca i32 ;
2009 Sep 08
2
[LLVMdev] Finding the functions whose addresses are taken.
Hi, How to find in a module, the list of functions whose addresses are ever taken into some variables? - Sanjiv
2009 Sep 08
0
[LLVMdev] Finding the functions whose addresses are taken.
Each function is a GlobalValue. Find all the uses of them... any uses that are not a "call" with the function as callee goes into your list. Global variables work the same way. Find the uses of them that are not "Load" or "Store" instructions with the global value as the pointer operand. On Tue, Sep 8, 2009 at 12:20 PM, Sanjiv Gupta<sanjiv.gupta at
2010 Jul 27
0
[LLVMdev] inline callsites whose function definitions are in different file?
On Tue, Jul 27, 2010 at 9:46 AM, Chuck Zhao <czhao at eecg.toronto.edu> wrote: > I don't, and the compiler doesn't neither, that is the problem, unless I do > hacking at compile time. > E.g.: > - put all such function's definitions into file1.c > - force to compile file1.c 1st. > - when compiling file2.c: >  . read file1.bc >  . attach to file2's
2020 Oct 26
3
[Bug 3224] New: SSH should be (optionally) clear whose password is asked for
https://bugzilla.mindrot.org/show_bug.cgi?id=3224 Bug ID: 3224 Summary: SSH should be (optionally) clear whose password is asked for Product: Portable OpenSSH Version: 8.3p1 Hardware: Other OS: Linux Status: NEW Severity: enhancement Priority: P5 Component: ssh
2006 Aug 05
0
cor of two matrices whose columns got shuffled
Hello, I'm trying to take the correlation of two distance matrices and get the r2 value ex) Ndisc PS1 Ntet Nsito NcB NcA PS3 NcC NiB NiA PS1 0.08945 Ntet 0.08601 0.02020 Nsito 0.09361 0.02780 0.02260
2013 Apr 11
0
plotting the cumulative hazard function of a process whose intensity function is specified
I would like to simulate a stochastic process by specifying an intensity function, say lambda(t)=0.05 + 3 exp(鈭抰) I have the following code, but it has a number of problems. One issue I have is I do not know where the time variable is. I would appreciate your help with this code. library("survival") n <- 5000 lamc<-0.08 k1<-0.05 k2<-3 ld<-function(t){k1+k2}
2010 Feb 02
2
finding files whose name does NOT contain a given character
Unluckily I dela with miRNA files whose name may contain the character "*". Because of the special meaning of "*" I have to remove it. I found out how to make list.files() extract only those file names which contain a "*" Namely: # list.files(pattern="\\*") Now I have to process all files whose name does NOT contain the character "*". I cannot
2010 Jul 27
0
[LLVMdev] inline callsites whose function definitions are in different file?
On Tue, Jul 27, 2010 at 7:46 AM, Chuck Zhao <czhao at eecg.toronto.edu> wrote: >  LLVM (2.7 release version) provides 2 implementations for inlining > function callsites: > > - InlineSimple.cpp (-inline):               inline simple callsites > according to its cost analysis > - InlineAlways.cpp (-always-inline):  inline all callsites that are > marked with
2012 Jul 14
2
writing data into files whose names are in a vector
GuRus How do I use the write function (or write.table or write.csv) to achieve the following please? age=c(32,37,39) names=c("john","peter","jake") I would like create in a directory 3 files each named as john.csv,peter.csv and jake.csv and each file have data from the age vector. That is jon.csv will contain 32, peter.csv will contain 37 and jake.csv will contain
2015 Jan 26
0
Inspect a "delayed" assigned whose value throws an error?
If it was any other environment than the global, you could use substitute: e <- new.env() delayedAssign("foo", stop("Hey!"), assign.env = e) substitute(foo, e) delayedAssign("foo", stop("Hey!")) substitute(foo) Hadley On Mon, Jan 26, 2015 at 12:53 PM, Henrik Bengtsson <hb at biostat.ucsf.edu> wrote: > Hi, I got an interesting programming
2015 Jan 27
0
Inspect a "delayed" assigned whose value throws an error?
>>>>> Henrik Bengtsson <hb at biostat.ucsf.edu> >>>>> on Mon, 26 Jan 2015 12:41:48 -0800 writes: > On Mon, Jan 26, 2015 at 12:24 PM, Hadley Wickham <h.wickham at gmail.com> wrote: >> If it was any other environment than the global, you could use substitute: >> >> e <- new.env() >>
2014 Apr 16
1
Re: [virt-tools-list] live-migrating a VM whose current host's storage is fubar'ed
On 04/15/2014 05:16 PM, Digimer wrote: > Hi all, > > For those on the linux-cluster list, this is a similar question to my > post[1] there. > > I recently had a client destroy their node's RAID array (they yanked hard > drives until the array was destroyed). The VMs running on the node continued > to operate for another hour, impressively. Their storage was based
2010 Jun 26
2
use a data frame whose name is stored as a string variable?
Hi, Let's say I have a data frame (called "example") with numeric values stored (columns V1 and V2). I also have a string variable storing this name x1<-"example" Is there a way to use the variable x so that R knows that I want the specified action to occur on the data frame? For example, summary (x) would return a summary of the data frame? I am considering this