similar to: Transform every integer to 1 or 0

Displaying 20 results from an estimated 20000 matches similar to: "Transform every integer to 1 or 0"

2013 Jan 24
3
From table to data.frame
Hello, I have a dataframe (test.df) with intervals that were generated by table (see below). I would prefer a dataframe labeled like this: > test.tab <- table(cut(skn.test$density, seq (0,1, by=0.05))) > test.tab (0,0.05] (0.05,0.1] (0.1,0.15] (0.15,0.2] (0.2,0.25] (0.25,0.3] (0.3,0.35] 68 87 85 72 65 73 74 (0.35,0.4] (0.4,0.45]
2013 Jan 22
2
summarise subsets of a vector
Hello, I have vector called test. And now I wish to measure the mean of the first 10 number, the second 10 numbers etc How does it work? Thanks Wim > dput (test) c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.71, 0.21875, 0,
2013 Jan 31
2
glm poisson and quasipoisson
Hello, I have a question about modelling via glm. I have a dataset (see dput) that looks like as if it where poisson distributed (actually I would appreciate that) but it isnt because mean unequals var. > mean (x) [1] 901.7827 > var (x) [1] 132439.3 Anyway, I tried to model it via poisson and quasipoisson. Actually, just to get an impression how glm works. But I dont know how to
2017 Jul 16
3
Arranging column data to create plots
Dear All, I need some help arranging data that was imported. The imported data frame looks something like this (the actual file is huge, so this is example data) DF: IDKey X1 Y1 X2 Y2 X3 Y3 X4 Y4 Name1 21 15 25 10 Name2 15 18 35 24 27 45 Name3 17 21 30 22 15 40 32 55 I would like to create a new data frame with the following NewDF: IDKey X Y Name1 21 15 Name1
2017 Jul 16
0
Arranging column data to create plots
On Sat, 15 Jul 2017, Michael Reed via R-help wrote: > Dear All, > > I need some help arranging data that was imported. It would be helpful if you were to use dput to give us the sample data since you say you have already imported it. > The imported data frame looks something like this (the actual file is > huge, so this is example data) > > DF: > IDKey X1 Y1 X2 Y2
2012 Jul 14
3
Can't understand syntax
OK, I need help!! I've been searching, but I don't understand the logic of some this dataframe addressing syntax. What is this type of code called? test [["v3"]] [is.na(test[["v2"]])] <-10 #choose column v3 where column v2 is == 4 and replace with 10 and where is it documented? The code below works for what I want to do (find the non-missing value in a row),
2003 Dec 02
2
can't add a user to Samba with Ldap passwd backend
Whem i want to add a user to samba, witch act as a PDC, with LDAP passwd backend i get the following error: Problem during LDAPsearch: No such object Query was: , (&(objectClass=sambaDomain)(sambaDomainName=TESTVGC.WIM)) pdb_init_ldapsam: WARNING: Could not get domain info, nor add one to the domain pdb_init_ldapsam: Continuing on regardless, will be unable to allocate new users/groups,
2011 Nov 08
0
[LLVMdev] Failed to decode profile dump with llvm-prof
Turns out I was using `opt -profile-loader` instead of `opt -path-profile-loader`. Switching to the path profile loader fixed the problem. Wim On Tue, Nov 8, 2011 at 3:18 AM, 陳韋任 <chenwj at iis.sinica.edu.tw> wrote: > On Mon, Nov 07, 2011 at 04:10:29PM +0100, Wim Vander Schelden wrote: > > I'm having the same problem. Does anyone know what's causing this? > > >
2014 Aug 30
0
PXE booting WinPE with UEFI architecture
On Fri, Aug 29, 2014 at 8:01 PM, Spike White <spikewhitetx at gmail.com> wrote: > But chain-loading into WinPE would be useful too. > In order to use "wimboot", I have to use ./efi64/com32/modules/pxechn.c32 > to chain-load into ipxe? As so: pxechn.c32 contains BIOS-only code and is not going to work in any EFI environment. > LABEL WinPE > MENU LABEL
2003 Nov 26
1
ocfs-2.4.21-EL-smp-1.0.9-9.i686.rpm does not workwith RHEL 3errata kernel
>also - for async io ; >p2448994_9204_LINUX.zip is the patch to apply for oracle >(this is metalink ARU patch number). Wim, The patch description on Metalink says: DIRECT IO SUPPORT ON EXT2 FILESYSTEM Which wasn't quite what I was expecting. Kevin -----Original Message----- From: Wim Coekaerts [mailto:wim.coekaerts@oracle.com] Sent: 25 November 2003 03:23 To: Brian M. Diehl
2011 Nov 08
3
[LLVMdev] Failed to decode profile dump with llvm-prof
On Mon, Nov 07, 2011 at 04:10:29PM +0100, Wim Vander Schelden wrote: > I'm having the same problem. Does anyone know what's causing this? > > Kind regards, > > Wim What's your profiling procedure? I can only guess llvm-prof does not recognize the profiling data. Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia
2014 Aug 30
2
PXE booting WinPE with UEFI architecture
> Date: Fri, 29 Aug 2014 13:02:10 +0100 > From: Michael Brown <mcb30 at ipxe.org> > To: Jason Jones <jason.s.jones at convergys.com>, "syslinux at zytor.com" > <syslinux at zytor.com> > Subject: Re: [syslinux] PXE booting WinPE with UEFI architecture > Message-ID: <54006BC2.3090703 at ipxe.org> > Content-Type: text/plain;
2004 Aug 06
4
Problems starting ices
Hi! I've installed icecast and ices on a FreeBSD box. When I try to start ices, I get following output: [2003-08-11 11:02:14] INFO ices-core/main ices started... [2003-08-11 11:02:14] INFO signals/signal_usr1_handler Metadata update requested [2003-08-11 11:02:14] INFO playlist-basic/playlist_basic_get_next_filename Loading playlist from file "/home/wim/playlist.txt" [2003-08-11
2004 Jun 02
3
AW: OCFS 1.0.9-6 performance with EVA 6000 Storage
Hi all, Sorry to break in, but I find this thread a bit interesting. Jeram: I'm not very familiar with HP storage and cannot find too much info on the EVA 6000 array. Is it related to the EVA 5000 somehow, or is it a NAS array? In any case, how is the array configured. If the algorithm for hartbeat is as described earlier (36 sector reads and one write per second (per host???)) then you
2004 Aug 06
2
Problems starting ices
Hi Karl, I would like to send you the output, but after installing strace on my FreeBSD, i get the following: <p>/usr/local/bin/strace -o output -s 100 -f /usr/local/bin/ices /usr/local/etc/icecast/ices.xml strace: open("/proc/...", ...): No such file or directory trouble opening proc file Is there another way to send you a trace? <p><p><p>On Mon, 2003-08-11
2018 Oct 18
1
Using wimboot with syslinux UEFI
I am trying to load a WinPE boot image using wimboot, and failing. The 3 files appear to load successfully (the output "Encapsulating ... <filename>" is displayed for each file, taking a few minutes on the .wim file as expected based on the size), but then the workstation just reboots, and I don't see output after that. Has anyone successfully loaded WinPE using wimboot with
2003 Nov 24
2
ocfs-2.4.21-EL-smp-1.0.9-9.i686.rpm does not work with RHEL 3errata kernel
From: John Smiley [mailto:pro_oracle@yahoo.com] Sent: Monday, November 24, 2003 5:07 PM To: Wim Coekaerts Cc: ocfs-devel@oss.oracle.com; ocfs-users@oss.oracle.com Subject: [Ocfs-users] ocfs-2.4.21-EL-smp-1.0.9-9.i686.rpm does not work with RHEL 3errata kernel Wim, ocfs-2.4.21-EL-smp-1.0.9-9.i686.rpm does not install when the errata kernel (2.4.21-4.0.1) is installed in RHEL 3. It complains
2009 May 20
2
[LLVMdev] LLVM-GCC and Symbian
Hi, I noticed that there is some kind of reference to Symbian support in LLVM-GCC, and I'm trying to find out more about it. I configured llvm- gcc-4.2-2.5 using: > ../configure --prefix=/opt/stow/llvm-gcc-2.5/ --enable-llvm=/home/wim/Documents/Sources/llvm-2.5/OBJ_ROOT/ --disable-bootstrap --disable-multilib --enable-checking --target arm-none-symbianelf --enable-languages=objc,c,c++
2013 May 20
7
Bye bye Mr tmem guy
Hi Linux kernel folks and Xen folks -- Effective July 5, I will be resigning from Oracle and "retiring" for a minimum of 12-18 months and probably/hopefully much longer. Between now and July 5, I will be tying up loose ends related to my patches but also using up accrued vacation days. If you have a loose end you''d like to see tied, please let me know ASAP and I will do my
2014 Sep 04
2
PXE booting WinPE with UEFI architecture
This got me closer, but it got to "Encapsulating winpe.wim..." and never went through the rest of the way. Ultimately PXELINUX apparently timed out and the machine rebooted. Here is relative portion of pxelinux: LABEL SCCM OSD Boot MENU LABEL ^2. SCCM OSD Boot com32 linux.c32 append wimboot initrdfile=bootmgr.exe,BCD,boot.sdi,winpe.wim TEXT HELP