Displaying 20 results from an estimated 405 matches for "dick".
Did you mean:
dice
2023 Apr 03
4
Simple Stacking of Two Columns
Hi R-Helpers,
Sorry to bother you, but I have a simple task that I can't figure out how to do.
For example, I have some names in two columns
NamesWide<-data.frame(Name1=c("Tom","Dick"),Name2=c("Larry","Curly"))
and I simply want to get a single column
NamesLong<-data.frame(Names=c("Tom","Dick","Larry","Curly"))
> NamesLong
Names
1 Tom
2 Dick
3 Larry
4 Curly
Stack produces an error
NamesLong<-stack...
2023 Apr 03
1
Simple Stacking of Two Columns
Hi,
You were on the right track using stack(), but you just pass the entire data frame as a single object, not the separate columns:
> stack(NamesWide)
? values ? ind
1 ? ?Tom Name1
2 ? Dick Name1
3 ?Larry Name2
4 ?Curly Name2
Note that stack also returns the index (second column of 'ind' values), which tells you which column in the source data frame the stacked values originated from.
Thus, if you just want the actual data:
> stack(NamesWide)$values
[1] "Tom" ?...
2023 Apr 04
1
Simple Stacking of Two Columns
Just to repeat:
you have
NamesWide<-data.frame(Name1=c("Tom","Dick"),Name2=c("Larry","Curly"))
and you want
NamesLong<-data.frame(Names=c("Tom","Dick","Larry","Curly"))
There must be something I am missing, because
NamesLong <- data.frame(Names = c(NamesWide$Name1, NamesWide$Name2))...
2023 Apr 04
1
Simple Stacking of Two Columns
...On Behalf Of Heinz Tuechler
Sent: Monday, April 3, 2023 4:39 PM
To: r-help at r-project.org
Subject: Re: [R] Simple Stacking of Two Columns
Jeff Newmiller wrote/hat geschrieben on/am 03.04.2023 18:26:
> unname(unlist(NamesWide))
Why not:
NamesWide <- data.frame(Name1=c("Tom","Dick"),Name2=c("Larry","Curly"))
NamesLong <- data.frame(Names=with(NamesWide, c(Name1, Name2)))
>
> On April 3, 2023 8:08:59 AM PDT, "Sparks, John" <jspark4 at uic.edu> wrote:
>> Hi R-Helpers,
>>
>> Sorry to bother you, but I have a s...
2010 Nov 17
3
How to stop automount
...ne won't boot and drops to a shell.
Below is the line I added to fstab. I thought that the option "noauto"
would prevent the machine from trying to mount the drive
/dev/sdb /usbdrive ext3 user,noauto,rw 0 2
What am I doing wrong? Any advice is welcome.
Dick
--
Yes indeed...the Hokey Pokey *is* what its all about!
2002 Nov 11
11
Speed problem
...not
just a problem of -partial or something similar. Ok, I haven't tried
it without ssh yet, but it really looks very strange.
The version is the rsync 2.5.6cvs version from debian-unstable.
Thanks for any help !
Mermgfurt,
Udo
--
Udo Wolter | /"\
email: uwp@dicke-aersche.de | \ / ASCII RIBBON CAMPAIGN
www: www.dicke-aersche.de | X AGAINST HTML MAIL
dark: heaven@lutz-ziffer.de | / \
2006 Jan 27
8
ror/lighttpd - HTML files via port 80 become application/octet-stream?
...----
Using this very config file and only changing the port number yields a
valid page. Using port 80 screws up the MIME type.
Any hints would be very much appreciated.
FYI. Server = Debian Sarge
Ruby = 1.8.4
Rails = 1.0.0
Lighttpd = 1.4.8
Postgres = 8.1.2
This box runs no other stuff.
--
Dick Visser
TERENA IT-support officer / webmaster
Singel 468D, 1017 AW, Amsterdam, The Netherlands
Phone: +31 20 5304488 Fax: +31 20 5304499
Email: dick@terena.nl http://www.terena.nl
Live IPv4/6 webcam: http://www.terena.nl/~dick
PGP-key: http://www.terena.nl/~dick/pgp.key.asc
2009 Jun 02
2
Table of Summaries
Apologies for the novice question, but this is likely beyond my google
searching range..
I am trying to create a table from the summaries of a file. The 2 column
data table looks like;
Harry 335/335
Harry 124/506
Harry 124/506
Dick 133
Tom 335/335
Tom 335/335
with 1000 unique values in col 1, 300 unique in col 2. The 'summary'
doesn't seem to handle this many values well.
I would like to summarise this data in a table that reads the number of
occurences of the values of col 2 for each...
2010 Nov 13
2
External HD on CentOS 5.5
I'm looking into backing up my CentOS 5.5 system using an external USB
2.0 hard drive. Anyone with experience with Toshiba Canvio USB 750 GB
unit? I'm backing up to DVDs now and would like to streamline the process.
Any advice is welcome with thanks.
Dick
--
Yes indeed...the Hokey Pokey *is* what its all about!
2009 Feb 17
5
scrub on snv-b107
scrub completed after 1h9m with 0 errors on Tue Feb 17 12:09:31 2009
This is about twice as slow as the same srub on a solaris 10 box with a
mirrored zfs root pool. Has scrub become that much slower? And if so,
why?
--
Dick Hoogendijk -- PGP/GnuPG key: 01D2433D
+ http://nagual.nl/ | SunOS sxce snv107 ++
+ All that''s really worth doing is what we do for others (Lewis Carrol)
2009 Oct 02
4
GnuPG for CentOS 5.3?
Good Morning--
I'm looking to shore up security in my system and with communications.
Can you point me to the proper version of GnuPG for CentOS 5.3 (Final)?
Thanks,
Dick
--
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
--Benjamin Franklin 1755
2016 Oct 14
0
Firefox and Chrome - dicking about with my volume.
I have Centos 7 installed on my laptop which works perfectly fine.
I use a variety of music apps including VLS, mplayer and squeezelite. They all
work fine, and using the KDE mixer app I have the levels set just as I like
them.
Why is it then that if i start up either Firefox or Chrome, whichever I start
up first creates a new sound device which appears in the mixer, and then
changes my
2009 Feb 27
3
luactive question
After a liveupgrade and luactivate I can login to the -new- BE.
My question is: do I have to luactive the -old- BE again if I want to
chose that one from the grub menu or can I just run it if I want to.
--
Dick Hoogendijk -- PGP/GnuPG key: 01D2433D
+ http://nagual.nl/ | SunOS sxce snv107 ++
+ All that''s really worth doing is what we do for others (Lewis Carrol)
2007 Oct 24
5
Access.log
...rtions unless I clean it up on a regular basis (which I'm not prone to do.)
Is there anyway other than eliminating the graphing to prevent those log entries. Otherwise, what would be the preferred method of eliminating the log completely? Eliminate the <accesslog> tag altogether?
--
Dick
Triad AV Services
1910 Ingersoll Ave.
Des Moines, IA 50309
515-243-2125
515-243-2055 (fax)
http://www.triadav.com
dtrump1@triadav.com
2005 Aug 20
2
Forcing individual clients to alternate mount points
...it is live only.
Do I just use a different port number? Any recommendations for the
streaming source?
2. I know that using the admin facilities I can manually force a
client to an alternate mount point. But is there a good way to do this
on an automated basis?
Thanks for any suggestions.
Dick Trump
2009 Jan 14
3
remove columns containing all zeros (or other value)
...nrow=3)
I would like to remove the third column. However, because this is in a
loop I need a way to first determine which columns are all zeros, and
only then remove them. I.e., I don't know which column of x contains all
zeros until after x is created.
Thanks!
Anthony
--
Anthony Steven Dick, Ph.D.
Post-Doctoral Fellow
Human Neuroscience Laboratory
Department of Neurology
The University of Chicago
5841 S. Maryland Ave. MC-2030
Chicago, IL 60637
Phone: (773)-834-7770
Email: adick at uchicago.edu
Web: http://home.uchicago.edu/~adick/
2009 Aug 23
23
incremental backup with zfs to file
...between 0908 and
090822. Is this correct?
How do I restore those files? I know how to recreate the root pool
and how to restore the first one (.../snaps/rpool.0908)
But what is the exact zfs syntax to restore the second file on top of
the first one, containing the differences between the two?
--
Dick Hoogendijk -- PGP/GnuPG key: 01D2433D
+ http://nagual.nl/ | SunOS 10u7 5/09 | OpenSolaris 2009.06 rel
+ All that''s really worth doing is what we do for others (Lewis Carrol)
2002 May 16
1
[patch] suggestions for -v option
...list of files.
2) The message "<file> is newer" when you use the -u option is moved to
verbose level 1. I think that it is usefull to report newer files
when you use a single -v option. It is also consistent with the
warning messages generated by "rdist -y".
--
Dick Streefland //// Altium Software BV
dick.streefland@altium.nl (@ @) http://www.altium.com
--------------------------------oOO--(_)--OOo---------------------------
-------------- next part --------------
--- rsync-2.5.5/flist.c.orig Thu Mar 14 22:20...
2006 Mar 04
2
count("<p>") in a string
i want to count the number of paragraphs in my message of an article ,
but it gives the wrong number
example of paragraph :
<p><div class=''paragraaf''><p><h4>Dick Advocaat verdient veel geld bij
Zuid-Korea</h4><div class=''bericht''>De Zuid-Koreaanse voetbalbond legt
de Nederlandse bondscoach Dick Avocaat rijkelijk in de watten. De lokale
media melden dat Advocaat per jaar 605.000 euro opstrijkt. Zijn loon zou
een half miljoen...
2007 Apr 25
2
Parsers for input to index?
The documents we want to index come in many formats; e.g., HTML, PDF,
RTF, Word, Excel, etc., etc., etc. I''ve been searching to find parsers
that will translate each of these formats to indexable text, but have
had little success. Any help will be appreciated.
--
Posted via http://www.ruby-forum.com/.