similar to: Joining two (or more) frequency tables

Displaying 20 results from an estimated 3000 matches similar to: "Joining two (or more) frequency tables"

2008 Nov 12
3
R- transform data frame into matrix
Hello I have the problem that I want to transform a dataframe as generated by diagnosis <- rep(diagnosis[1:3], 3) marker <- gl(3,3) values <- rnorm(9) dataframe <- cbind(diagnosis, marker, values) dataframe <- dataframe[c(1:5, 7:9), ] into a matrix where levels(diagnosis) is indicating the rows of the matrix, levels(marker) the columns and values are the actual content of the
2012 Mar 15
1
Extending a group of S4 classes by setClassUnion ?
Hi, I would like to create some S4 classes as follows setClass("Father",representation(name="character")) setClass("Son1",contains="Father",representation(par="numeric")) setClass("Son2",contains="Father",representation(par="logical")) Son1<-new("Son1") Son1 at name<-"Son1" Son1 at par<-3
2006 Sep 21
3
:order by association field
Hi. I''m trying to do something that should be a fairly common pattern, but I''m currently not sure how. BACKGROUND: model Family has_one Father. also, Family has field "country_of_origin" model Father has a number of fields, such as first_name, age, etc. It''s easy to sort based on families'' fields: sorted_families = Family.find(:all, :order =>
2008 May 27
2
HABTM using two columns
Hi all, I was wondering whether anyone could guide me to docu and code examples how to create and use a has_and_belongs_to_many relationship with a joining table where TWO columns are used to identify the relation to TWO alternative tables. Example: table 1: mothers [mother_id, name] table 2: fathers [father_id, name] table 3: children [child_id, name] joining table 4: children_parent
2009 Jan 22
1
infer haplotypes phasing trios tdthap
Dear R mailing list, I have a dataset with genotypes from trios and I would like to infer haplotypes for each mother, father and child. The package that I could find that can do this is tdthap. But when the mother is homozygous (e.g., 2/2) the haplotype is called as not possible to infer (0); I would prefer for it to call the genotype (2). From what I understand it is doing what I would like
2018 Jul 10
4
Construcción de archivo de texto
Hola a todos, A partir de los siguientes datos: d <- list(`1` = structure(list(ped = c(1L, 1L, 1L, 1L, 1L, 1L, 1L), id = 1:7, father = c(2L, 0L, 0L, 2L, 2L, 2L, 2L), mother = c(3L, 0L, 0L, 3L, 3L, 3L, 3L), sex = c(2L, 1L, 2L, 2L, 2L, 1L, 2L), affected = c(1L, 2L, 1L, 1L, 2L, 2L, 2L)), row.names = c("1", "2", "3", "4", "5",
2014 Mar 12
1
PCI Passthrough of 2 identical devices
hi, i have a small trouble with pci-passthrough. i have a working configuration passing a tv card into the guest, all is fine and dandy. as soon as i add my second identical card into the host i cant start the guest anymore, whether i add the second card to the guest or not. error message is identical in both cases. message of virt-manager|virsh|libvirtd.log: > libvirtError: internal error:
2013 Jan 23
4
how to read a df like that and transform it?
Dear all I have a data.frame like that : father mother num_daughter daughter 291 3906 0 NULL 275 4219 0 NULL 273 4236 1 49410 281 4163 1 49408 274 4226 1 49406 295 3869 2 49403 49404 287 4113 0 NULL 295 3871 1 49401 292 3895 4 49396 49397 49398 49399 291 3900 3 49392 How to read it into R and transform it like that: father mother num_daughter
2010 Mar 28
1
Renumbering
HI all, Is there a renumbering function in R? I would like to renumber the following id numbers *Input file * Id Father Mother 123 0 0 124 0 0 125 123 124 126 123 0 127 125 126 128 0 127 130 123 125 *Output* Id Father Mother 1 0 0 2 0 0 3 1 2 4 1 0 5 3 4 6 0 7 7 1 2 Any help is highly appreciated in Advance Val K [[alternative HTML version deleted]]
2004 Feb 15
4
father and son heights
Faraway's book titled "Practical Regression and Anova using R", with full text available online at: http://cran.r-project.org/doc/contrib/Faraway-PRA.pdf refers to a data set, stat500, which compares midterm and final grades. It can be used to illustrate similar concepts. A google search for faraway.zip will locate the actual data. --- Date: Sun, 15 Feb 2004 10:37:08 -0800
2007 Mar 26
1
data-frame adding/deleting column
Hallo, I have got an existing data frame and want to add a new column. The existing data frame was created like this: > df <- rbind( c("Fred", "Mary", 4), c("Fred", "Mary", 7), + c("Fred", "Mary", 9), c("Barney", "Liz", 3), + c("Barney", "Liz", 5) ) > df
2009 Dec 14
2
Doubts about namespace && thunderbird.
Hi people. I ask this because I'm confuse about the namespace stuff. I setup a server with Centos 5.4(updated)+dovecot 1.0.7+postfix 2.3.3. We use thunderbird 2.0.x as our default email client. I want to use courier-imap inbox layout: Inbox-- sent junk trash draft The inbox as father of the tree, other post say something about a
2002 Sep 25
2
Weekly machine password changes (RE: RE: odd: everything SHOULD work... winbind)
No big surprise there. :) I'm still trying to figure exactly what goes on with the machine password changing around. Who initiates this? nmbd? The PDC? Who's notified of this change, and what's going on there. Perhaps someone can shed some light? -- Nir Soffer -=- Software Engineer, Exanet Inc. -=- "Father, why are all the children weeping? / They are merely crying son O, are
2013 May 17
5
Active Admin with Ajax call
Hello everyone. I''m begining with Ruby on Rails, and i''m facing some trouble with "ActiveAdmin with ajax." Here''s the situation: It''s a Kennel''s web site, so, while i''m creating a new dog, i have one select/options for the dog''s father, dog''s mother, and dog''s race. After select the dog''s
2014 Mar 12
1
Re: PCI Passthrough of 2 identical devices
hi laine, thx for the fast answer. i tried VFIO as it seems supported and got at least one step further. starting the guest with one of the DVB cards is possible now, even when the other card is in the hosts pci config (not removed soft or hard). adding the second card/device thru ... > <hostdev mode='subsystem' type='pci' managed='yes'> >
2020 Jun 14
4
Voice "broken" during calls
Am 13.06.2020 um 22:56 schrieb Antony Stone: Hi again, > 2b. Take your Thomson telephone to some other location with Internet access, > let it register to your home Asterisk server, and them make a call to the same > number yet again. I'm sure you can get the Thomson to connect to Asterisk via > some external network, since you say you can do this from your Android phone.
2007 Dec 11
1
[OT] vernacular names for circular diagrams
Dear useRs, by a circular diagram representation I mean what you will get by entering this at your R promt: pie(1:5) Nice to have R as a lingua franca :-) The folowing quote is from page 360 in this very interesting paper: @article{SpenceI2005, title = {No Humble Pie: The Origins and Usage of a Statistical Chart}, author = {Spence, I.}, journal = {Journal of Educational and
2008 Jan 27
4
[OT] vernacular names for circular diagrams
> Dear useRs, > > by a circular diagram representation I mean what you will get by entering > this at your R promt: > > pie(1:5) > > Nice to have R as a lingua franca :-) > > The folowing quote is from page 360 in this very interesting paper: > > @article{SpenceI2005, > title = {No Humble Pie: The Origins and Usage of a Statistical Chart}, >
2002 Jul 14
2
Precedence of usernames w/Winbind
I might be missing obvious here, but here goes: Samba 2.2.4. Using "winbind use default domain = <DOMAIN>" option usernames map correctly, however, when logging on from an W2K machine I still get the autogenerated UID instead of my NIS (Or /etc/passwd) UID. Both nis and files precede winbind in /etc/nsswitch.conf Commenting out winbind from /etc/nsswitch.conf works, which
2010 Jun 15
4
TPROXY configuration
I''m trying to get TPROXY / Squid running and I have a few questions... I found this page: http://www.shorewall.net/Shorewall_Squid_Usage.html#TPROXY However, it doesn''t explain what I''m seeing in the configuration. For the zone file, do I keep my loc and net configurations and just add the following to the file? - lo - - or do I remove the loc and net zones and