Displaying 20 results from an estimated 200 matches similar to: "Contingency tables from data.frames"
2005 Jul 07
1
Tables: Invitation to make a collective package
Hi All,
I would like to make an invitation to make a collective package with all
functions related to TABLES.
I know that there are many packages with these functions, the original idea is
collect all this functions and to make a single package, because is arduous for
the user know all this functions broadcast in many packages.
So, I think that the original packages can continue with its
2010 Mar 26
1
Problems if optimization
What's up fellows...
I am a begginer in R and i am trying to find the parameters of one
likelihood function, but when i otimize it, always appers a error or
advertisement and the solve does not occur.
The problem seems like that:
"lMix<-function(pars,y){
beta1<-pars[1]
beta2<-pars[2]
beta3<-pars[3]
beta4<-pars[4]
beta5<-pars[5]
alfa1<-pars[6]
2011 Dec 12
4
Improve a browse through list items - Transform a loop to apply-able function.
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?...
Nom : non disponible
URL : <https://stat.ethz.ch/pipermail/r-help/attachments/20111212/5611c696/attachment.pl>
2009 May 21
3
index to select rows of a large matrix
Dear R Users,
I have created a 1500 x 20000 data frame - DataSeq. Each of the 1500
rows represents a data sequence.
I have another data frame iData that stores the information of these
1500 data sequences in the same order, for example, condition, gender,
etc.
If I use "subset" to select certain groups within iData according to
some criteria that I have set, e.g. condition, gender
Then
2015 Feb 11
4
Fwd: samba & Oracle ACFS Issues
On Wed, Feb 11, 2015 at 10:27:50AM +0100, Nacho del Rey wrote:
> Hi Volker and the list
>
> Yesterday the problem appeared again
>
> I could launch a strace command over a samba PID to see what was going on
> and this is the result
>
> [PRO] [root at pf3il0024 ~]# strace -frp 57686
> Process 57686 attached - interrupt to quit
> 0.000000 fcntl(14, F_SETLKW,
2007 Nov 28
1
Histograms and Sturges rule
Dear All,
According to the Sturges rule, the number of classes of a histogram is
the closest integer to
1 + logb(n,base=2)
where n is the number of observations. The function hist(), by
default, uses the Sturges rule. However, the code
x <- 1:200
hist(x)
produces a histogram with 10 classes and not 9 classes as determined
by the Sturges rule. What am I missing?
Thanks in advance,
Paul
2008 May 19
2
How hist() decides breaks?
Hi Folks,
I'd like to know how hist() decides how many cells to use
when it ignores my "suggestion" to use say 'hist(...,breaks=50)'.
More specifically, I have the results of 10000 simulations,
each returning an 8-vector, therefore 8 variables each with
10000 values. Some of these 8 have somewhat skew distributions.
Say one of these 8 variables is X.
I ask for H <-
2007 May 17
1
[PATCH] ocfs: use list_for_each_entry where benefical
Signed-off-by: Christoph Hellwig <hch@lst.de>
Index: linux-2.6/fs/ocfs2/cluster/tcp.c
===================================================================
--- linux-2.6.orig/fs/ocfs2/cluster/tcp.c 2007-05-06 13:51:17.000000000 +0200
+++ linux-2.6/fs/ocfs2/cluster/tcp.c 2007-05-17 15:00:14.000000000 +0200
@@ -261,14 +261,12 @@ out:
static void o2net_complete_nodes_nsw(struct o2net_node
2009 Feb 19
2
read.table : how to condition on error while opening file?
Hi,
I'm using read.table in a loop, to read in multiple files. The problem
is that when a file is missing there is an error message and the loop is
broken; what I'd like to do is to test for the error and simply do
"next" instead of breaking the loop. Anybody knows how to do that?
Example:
filelist <- c("file1.txt", "file2.txt",
2009 Jun 30
1
(no subject)
Hi Group,
I've a vector of 1000 numeric values for which I want to draw a histogram. I've read this vector into R with no variable name.I mean only the 1000 values, which makes V1 the name of the variable by default?? Then I tried
> hist(V1, breaks = "Sturges",
+ freq = NULL, probability = !freq,
+ include.lowest = TRUE, right = TRUE,
+ density = NULL, angle =
2006 Nov 10
0
typo in hist.Rd (PR#9355)
'Freedman' is misspelled (as 'Friedman') in
src/library/graphics/man/hist.Rd. As a result, the help page currently
implies that
breaks = "Fried"
is a valid argument to hist, but results in an error:
> hist(rnorm(100), breaks = "Fried")
Error in match.arg(tolower(breaks), c("sturges", "fd", "freedman-diaconis", :
2009 Jun 30
0
(no subject)
--- On Tue, 6/30/09, maram salem <marammagdysalem at yahoo.com> wrote:
> From: maram salem <marammagdysalem at yahoo.com>
> Subject: [R] (no subject)
> To: r-help at r-project.org
> Received: Tuesday, June 30, 2009, 6:34 AM
> Hi Group,
> I've a vector of 1000 numeric values for which I want to
> draw a histogram. I've read this vector into R with no
>
2004 Mar 17
9
Frequency table
This must be FAQ, but I can't find it in archives or with a site search.
I am trying to construct a frequency table. I guess this should be done with
table. Or perhaps factor and split. Or prop.table. cut? findInterval? Argh!
Please correct me if what I am looking for is not called a "frequency table".
Perhaps it's called grouped data.
> zz$x9
[1] 65 70 85 65 65 65 62 55
2010 Jul 15
0
Histogram with two groups on the same graph (not on separate panels)
I have been trying to produce a histogram that has two groups (male and female
snakes) on the same graph (either superimposed or each frequency bar appears
side by side). I found a couple of functions for superimposed histogram written
by other people.
The below is the codes I used for my data containing a column of svl (body size;
snout-vent length) and another column of sex (male or female).
2003 Apr 02
1
normalized frequency histogram
Hi folks
I'm trying to plot a normalized frequency histogram of some data.
After checking the docs, it seems there is no built in feature for this.
from the definition for normalized frequency, I need to divide the
relative frequency by the size of the intervals being used.
So I could divide the series by this interval length, and then plot the
relative frequency.
The problem is
2005 Oct 20
1
having scaling problems with a histogram
Hello,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
I would like to create a histogram from a data collumn consisting of 4 classes (0; 0.05;0.5;25;75). Due to the difference in scale the classes 0;0.05 and 0.5 are displayed within one combined bin by default with the code:Hist(x, scale="percent",
2011 Mar 03
3
Probabilities greather than 1 in HIST
Dear all,
I am a newbie in R and could not find help on this problem. I am trying to
plot an histogram with probabilities in the y axis. This is the code I am
using:
#TLC uniform
n=30
mi=1; mx=6
nrep=1000
xbar=rep(0,nrep)
for (i in 1:nrep) {xbar[i]=mean(runif(n,min=mi,max=mx))}
hist(xbar,prob=TRUE,breaks="Sturges",xlim=c(1,6),main=paste("n =",n),
xlab="Média",
2004 Dec 13
1
recommended IP phones and VoIP providers?
Can anyone give me some recommendations for IP phones that work well with Asterisk?
I'm hoping for something not much more then $100 bux or so.
Also does vonage service work directly through Asterisk or would I have to use their hardware? Or are there any other suggestions for a VoIP
provider?
Thanks for the help!
Nihal
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.2.3
2004 Dec 14
0
Asterisk make ext. light up?
Is there any phone SIP, FXS, etc. that works with asterisk that will show if extensions or FXO's are in use?
I want to be able to see what lines are being used so I can decide if I want to pickup on them, and also see who's on the phone. Is this possible
with Asterisk?
The only thing I can come up with is maybe getting SIP phones that have builtin web browsers. Then making a web page
2009 Oct 16
1
@2.0, Fatal error (Expecting '=') in trash plugin config
i've setup trash plugin as,
grep trash imap.conf
mail_plugins = autocreate fts fts_squat fts_solr imap_quota quota trash zlib
cat plugin.conf
plugin {
...
trash = /data/mail/Conf/dovecot/conf.d/trash.conf
}
cat /data/mail/Conf/dovecot/conf.d/trash.conf
1 Spam
2 Trash
3 Sent
3 Sent Messages
but, @
dovecot -n
# 2.0.alpha1: /data/mail/Conf/dovecot/dovecot.conf