Thank you
From: Rui Barradas
To: Sarah Auburn
Cc: r-help@r-project.org
Sent: Monday, 2 July 2012, 17:39
Subject: Re: [R] table function in a matrix
Hello,
See the difference.
a <- b <- c("A", "A", "B", "B", "C", "A", &quo
. Sorry one more query for one of my datasets which has NAs
(missing genotypes). Is there any way in which I can count NAs?
Many thanks!
Sarah
From: Sarah Auburn
To: Petr Savicky
Cc: "r-help@r-project.org"
Sent: Thursday, 7 June 2012, 23:24
Subject: Re: [R] table function in a mat
ct: Re: [R] table function in a matrix
Perfect, thank you!
From: Petr Savicky
To: r-help@r-project.org
Sent: Thursday, 7 June 2012, 19:42
Subject: Re: [R] table function in a matrix
On Wed, Jun 06, 2012 at 11:02:46PM -0700, Sarah Auburn wrote:
> Hi,
> I am trying to get a summary of the cou
Perfect, thank you!
From: Petr Savicky
To: r-help@r-project.org
Sent: Thursday, 7 June 2012, 19:42
Subject: Re: [R] table function in a matrix
On Wed, Jun 06, 2012 at 11:02:46PM -0700, Sarah Auburn wrote:
> Hi,
> I am trying to get a summary of the cou
On Wed, Jun 06, 2012 at 11:02:46PM -0700, Sarah Auburn wrote:
> Hi,
> I am trying to get a summary of the counts of different variables for each
> sample in a matrix of the form "m" below to generate an output as shown.
> (Ultimately I want to generate a stacked barchart for each sample). I am on
Hi,
I am trying to get a summary of the counts of different variables for each
sample in a matrix of the form "m" below to generate an output as shown.
(Ultimately I want to generate a stacked barchart for each sample). I am only
able to get the "table" function to work on one sample (column) at
Cc : r-help@r-project.org
Envoyé le : Lundi, 24 Août 2009, 18h33mn 52s
Objet : Re: [R] table function
On Aug 24, 2009, at 10:59 AM, Inchallah Yarab wrote:
> hi,
>
> i want to use the function table to build a table not of frequence (number of
> time the vareable is repeated in a lis
-Ursprüngliche Nachricht-
Von: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] Im
Auftrag von Inchallah Yarab
Gesendet: Monday, August 24, 2009 11:59 AM
An: r-help@r-project.org
Betreff: [R] table function
hi,
i want to use the function table to build a table not of frequence
Inchallah Yarab wrote:
>
> i want to do a table summerizing the number of variable where z is in
> [0-1000],],[1000-3000], [> 3000]
>
You can use "cut" to create a new vector of labels and tabulate the result.
Options control closed/open endpoints (see ?cut):
> z <- c(100,1500,1200,500,3500,
On Aug 24, 2009, at 10:59 AM, Inchallah Yarab wrote:
hi,
i want to use the function table to build a table not of frequence
(number of time the vareable is repeated in a list or a data
frame!!) but in function of classes
I don t find a clear explnation in examples of ?table !!!
example
?cut and ?factor
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of Inchallah Yarab
Sent: Monday, August 24, 2009 10:59 AM
To: r-help@r-project.org
Subject: [R] table function
hi,
i want to use the function table to build a table not of
hi,
i want to use the function table to build a table not of frequence (number of
time the vareable is repeated in a list or a data frame!!) but in function of
classes
I don t find a clear explnation in examples of ?table !!!
example
x y z
1 0 100
5 1 1500
6
12 matches
Mail list logo