Displaying 20 results from an estimated 3000 matches similar to: "RE : Re: number of count of each unique row"
2006 Sep 25
0
the IPSUR package
Dear useRs,
We are pleased to announce the preliminary release of the IPSUR package.
The primary audience was originally envisioned to be upper division
undergraduate mathematics/statistics/engineering majors, but other useRs may
find this material useful.
In a nutshell, this package slightly modifies and adds selected
functionality to the R Commander by John Fox. The changes were meant to
2006 Sep 25
0
the IPSUR package
Dear useRs,
We are pleased to announce the preliminary release of the IPSUR package.
The primary audience was originally envisioned to be upper division
undergraduate mathematics/statistics/engineering majors, but other useRs may
find this material useful.
In a nutshell, this package slightly modifies and adds selected
functionality to the R Commander by John Fox. The changes were meant to
2007 Dec 10
1
setdiff for data frames
Hello,
I have been interested in setdiff() for data frames that operates
row-wise. I looked in the documentation, mailing lists, etc., and
didn't find exactly the right thing. Given data frames A, B with the
same columns, the goal is to extract the rows that are in A, but not
in B. Of course, one can usually do setdiff(rownames(A), rownames(B))
but that is cheating. :-)
I played around a
2009 May 14
2
can you tell what .Random.seed *was*?
Dear R-help,
Suppose I write a script that looks something like this:
#### script.R
set.seed(something)
x <- rnorm(100)
y <- runif(500)
# bunch of other stuff
save.image()
### end of script.R
Now, I give you a copy of my script.R (with the set.seed statement
removed, of course) together with the .RData file that was generated
by the save.image() command.
Question:
1) can you tell
2008 Jan 10
0
prob package: elementary probability on finite sample spaces
Dear R Community,
I am pleased to announce the beta-release of the prob package. The
source code is now on CRAN, and binaries should be generated there
before long. In the meantime, you can get it with
install.packages("prob", repos = "http://r-forge.r-project.org")
The prob package gives a framework for doing elementary probability on
finite sample spaces in R. The
2008 Jan 10
0
prob package: elementary probability on finite sample spaces
Dear R Community,
I am pleased to announce the beta-release of the prob package. The
source code is now on CRAN, and binaries should be generated there
before long. In the meantime, you can get it with
install.packages("prob", repos = "http://r-forge.r-project.org")
The prob package gives a framework for doing elementary probability on
finite sample spaces in R. The
2007 Aug 06
0
KMO sampling adequacy and SPSS -- partial solution
Hello,
This is in response to a post from a couple of years back regarding
Kaiser-Meyer-Olkin Measures of Sampling Adequacy.
(http://tolstoy.newcastle.edu.au/R/help/05/12/17233.html)
As it turns out, last year Trujillo-Ortiz et al. at the Universidad
Autonoma de Baja California wrote and posted a script for MATLAB that
does the job. You can see it (with a discussion of KMO statistics) at
2008 Jul 04
1
education task view
Dear R-Devel,
I have had it in my mind for some time now that a Task View related to
R and education might be a good thing.
There are currently 19 Task Views, covering a broad spectrum of
general topics for which R may be used. The homepage lists 64 books
related to R, and several of them have accompanying packages on CRAN.
There is a wiki and a host of contributed documentation. We also have
a
2009 May 30
3
setdiff bizarre (was: odd behavior out of setdiff)
Dear R-devel,
Please see the recent thread on R-help, "Odd Behavior Out of
setdiff(...) - addition of duplicate entries is not identified" posted
by Jason Rupert. I gave an answer, then read David Winsemius' answer,
and then did some follow-up investigation.
I would like to change my answer.
My current version of setdiff() is acting in a way that I do not
understand, and a way
2009 May 30
3
setdiff bizarre (was: odd behavior out of setdiff)
Dear R-devel,
Please see the recent thread on R-help, "Odd Behavior Out of
setdiff(...) - addition of duplicate entries is not identified" posted
by Jason Rupert. I gave an answer, then read David Winsemius' answer,
and then did some follow-up investigation.
I would like to change my answer.
My current version of setdiff() is acting in a way that I do not
understand, and a way
2009 May 07
1
build dependencies was Re: [R] problem with rgl package
Dear R-SIG-Debian,
>
> a) You still haven't explained why you need to rebuild it when
> ? ? ? sudo apt-get install r-cran-rgl
> ? gets you a binary
I do not want to answer for the OP, but for myself, two things:
1) I maintain a personal library in my HOME folder - for a few
reasons - and one of the benefits is that I can install/update R
packages without needing to run R as
2008 Nov 24
14
how to test for the empty set
Dear R-help,
I first thought that the empty set (for a vector) would be NULL.
x <- c()
x
However, the documentation seems to make clear that there _many_ empty
sets depending on the vector's mode, namely, numeric(0), character(0),
logical(0), etc. This is borne out by
y <- letters[1:3]
z <- letters[4:6]
intersect(y,z)
which, of course, is non-NULL:
is.null(character(0)) #
2007 Dec 21
2
number of count of each unique row
Hi,
I have a matrix of duplicate rows. How to output a list the unique rows with their count? I have used "unique" to have the unique rows, but can't produce the occurences of each unique row.
Thanks
Louis
---------------------------------
[[alternative HTML version deleted]]
2010 Jul 28
0
IPSUR-1.0 is on CRAN, plus update to RcmdrPlugin.IPSUR
IPSUR-1.0 is making its way through CRAN. It is a snapshot of the
development version of the following textbook:
Title: Introduction to Probability and Statistics using R, First Edition
ISBN: 978-0-557-24979-4
Publisher: me
The book is targeted for an undergraduate course in probability and
statistics. The prerequisites are a couple semesters of calculus and a
little bit of linear algebra. I
2010 Jul 28
0
IPSUR-1.0 is on CRAN, plus update to RcmdrPlugin.IPSUR
IPSUR-1.0 is making its way through CRAN. It is a snapshot of the
development version of the following textbook:
Title: Introduction to Probability and Statistics using R, First Edition
ISBN: 978-0-557-24979-4
Publisher: me
The book is targeted for an undergraduate course in probability and
statistics. The prerequisites are a couple semesters of calculus and a
little bit of linear algebra. I
2009 May 29
2
Odd Behavior Out of setdiff(...) - addition of duplicate entries is not identified
I think I am using the improved version of setdiff(...) that handles data.frames, so I think some odd behavior was expected but this one is escaping me.
It appears that the the addition of duplicate entries is not caught by the setdiff(...). Is this expected behavior?
If so, is there another method or approach that should be used to identify duplicate row entries between two different data
2009 Aug 26
2
faulty formatting of toLatex(sessionInfo())
Dear all
I am writing an Sweave document and have encountered formatting issues
with the "locale" part of toLatex(sessionInfo()). The fact that there
is no spaces between the various "locale" variables means that LaTeX
cannot easily find an appropriate place to break the lines, and some
will get printed off screen.
Below is the text output, and this .pdf document [1] shows the
2009 Jul 30
1
Logistic regression and R
Hello everybody :-)
I have some data that I want to model with a logistic regression, most
of the independent variables are numeric and the only dependent is
categorical, I was thinking that I could apply a logistic regression
using glm but I wanted to deepen my knowledge of this so I tried to do
some reading and found the "iris" dataset, now I would like to ask two
things, first
2009 Dec 15
1
Starting with R and distributions graphics
HI, i'm really new of R and i need some help.
I have to describe some distributions for some dices throw:
- launching 3 dices i need the distribution of the sum of the two higher
values
- launching 4 dices i need the distribution of the occurrences of the same
value
possibly i need a way to compare the two distribution adding the fourth dice
to the first without summing it (only for
2010 Mar 19
1
Gamma parametrization
Dear R users,
?rgamma gives me :
rgamma(n, shape, rate = 1, scale = 1/rate)
rate: an alternative way to specify the scale.
The Gamma distribution with parameters ‘shape’ = a and
‘scale’ = s has density
f(x)= 1/(s^a Gamma(a)) x^(a-1) e^-(x/s)
Should I understand that scale=1/rate ? Is it written somewhere ?
Then