Greg Snow wrote:
Wade,
What type of GUI do you want?
Do you want a full GUI that the user runs to do everything (that uses R as the
computational engine)? Look at R commander, JGR, and the R plugin for Excel as
possible examples.
Hi Wade,
I am trying to introduce some users to R without
Bert Gunter gunter.berton at gene.com writes:
I think we owe Doug Bates a little more respect than that!
If you check my postings on the forum and on my homepage (subject: Gastric
Emptying), you will find that there are few people that pay so much respect to
Douglas Bates' contributions than I
Hi Mosche,
In my problem the polytope is defined not by its vertices, but by a set of
linear equations and inequalities.
Serguei
Moshe Olshansky schrieb:
Hi,
If you know that all your points represent vertices of a convex polygon you do
not need any special package.
The center of mass is
On Wed, 8 Oct 2008, Erin Hodgess wrote:
Hi R People:
I am looking at the Braun/Murdoch book, A First Course in
Statistical Programming in R, and I have a question about a function
there. It's on page 52, Example 4.5; the sieve of Erastosthenes.
There is a line:
primes - c()
Is there a
Dear Michael,
take a look at plotmeans in gplots library.
library(gplots)
example(plotmeans)
Hope this helps,
Gianandrea
Michael Just wrote:
Hello,
I'd appreciate a suggestion on how to construct plots (barplots?) that use
means on the Y axis instead of density/count. I'd also like to
This might be Linux specific, I have never tried it on anything else:
R -d gdb
library(your-package)
CTRL+C
break an-entry-point-in-your-package-to-debug
c
your-function-to-debug()
Maybe see also the R extensions manual,
Gabor
On Wed, Oct 8, 2008 at 3:28 AM, Droit Arnaud [EMAIL PROTECTED]
Prof Brian Ripley wrote:
On Wed, 8 Oct 2008, Erin Hodgess wrote:
Hi R People:
I am looking at the Braun/Murdoch book, A First Course in
Statistical Programming in R, and I have a question about a function
there. It's on page 52, Example 4.5; the sieve of Erastosthenes.
There is a line:
I want to print the following multiple boxes of output from R.
-
1st stage |2nd stage | 3rd stage |
x1|x2 | x3|
| |
On Wed, 8 Oct 2008, [EMAIL PROTECTED] wrote:
Dear prof, and list!
I'm wondering which are the steps to exploit multiple processors/cores if
most of the processing time is due to C code dynamically loaded into R. I
mean; e.g., a Monte Carlo analysis calls the C part a huge number of
times, and
It's very kind of Stephen to plug my book, but it's notwhat you're looking for.
You need to read more about this general topic, and aboutthe particular packages: try
http://www.unine.ch/CSCF/grasp/grasp-r/index.htmlhttp://www.unine.ch/CSCF/grasp/
Based on downloading grasp , it doesn't
You haven't given any of the information asked for in the posting guide.
But, assuming this is Windows in CP1252 (as I believe that has been your
locale before), it works for me in current R.
plot(1:10)
file.label - foo
savePlot(paste(diagnostic â vs a , file.label, .jpg,
sep = ),
I am looking at the Braun/Murdoch book, A First Course in
Statistical Programming in R, and I have a question about a function
there. It's on page 52, Example 4.5; the sieve of Erastosthenes.
There is a line:
primes - c()
Is there a difference between using that and
primes - NULL
Dear R gurus and users,
I'm having problems with the use of write.table.
I have a 28-variables data frame create at each cycle of a loop; it can contain
between 2000 and 3000 rows for each cycle.
After each cycle the data frame is written out to a file with the append=TRUE
option and then
On 08-Oct-08 11:14:39, Ron Michael wrote:
I made one typo in my previous mail.
May I ask one statistics related question please? I have one query
on MLE itself. It's property says that, for large sample size it is
normally distributed [i.e. asymptotically normal]. On the other hand
it is
This is more or less the same information I posted recently that may
be of help here.
On Tue, Oct 7, 2008 at 8:32 PM, Wade Wall [EMAIL PROTECTED] wrote:
What I am wanting to do is learn to build some simple GUIs for a limited
number of functions. Basically, I am envisioning a screen with check
On Wed, 8 Oct 2008, Gough Lauren wrote:
Hi,
Thank you very much for your reply. This seems to be working OK when
fitting weibull and lognormal distributions. However, fitdistr now
requires me to include start values:
As documented.
ltwei-function(x,shape,scale,log=FALSE){
+
On 08/10/2008 1:48 AM, Erin Hodgess wrote:
Hi R People:
I am looking at the Braun/Murdoch book, A First Course in
Statistical Programming in R, and I have a question about a function
there. It's on page 52, Example 4.5; the sieve of Erastosthenes.
There is a line:
primes - c()
Is there a
On 07/10/2008 9:28 PM, Droit Arnaud wrote:
Hello everybody,
I have a package with a C codes called from R.
I want to debug the C functions to check variables values and to include some
breakpoints in the C codes.
I am wondering if anyone knows of any tools to easily help debug in the R
Stephen Cole wrote:
...
I have a vector of 20 values
x - c(20,18, 45, 16, 47, 47, 15, 26, 14,14,12,16,35,27,18,94,16,26,26,30)
1.
I want to select random pairs from this data set but do it without
replacement exhaustively
matrix(x[sample(1:20,20)],nrow=2)
then step through the columns of
Thank you, Professor Ripley:
Your example works for me too.
plot(1:10, xlab = a, ylab = â)
file.label - EXAMPLE 1 â vs a.xls
savePlot(paste(diagnostic â vs a , file.label, .jpg,
sep = ), type = jpg)
But, if I read-in the file name using file.choose() I get the same corrupted
output
Actually, you will have duplicates with 400 pairs.
Here you will have 13^2 pairs with replacement and 13*12 pairs without
replacement and with regard to order.
How about this:
z - unique(x)
y - expand.grid(z[1:13],z[1:13])
xx - y[,1] != y[,2]
y[xx,]
Just another thought.
Erin
On Wed, Oct
Michael Just wrote:
Hello,
I'd appreciate a suggestion on how to construct plots (barplots?) that use
means on the Y axis instead of density/count. I'd also like to use groups
and plot error or confidence interval bars on these graphs. I know this is a
read the manual situation. I'd appreciate
Dear All,
Thanks for all very interesting replies.
In fact I have read all the recent publications on ENM (Ecological Niche
Modeling), and many of them use GARP (Genetic Algorithm for Rule Prediction;
sensu STockwell Peterson 2001) and Maxent (Maximum Entropy sensu Philips
Dudik, 2008a, b)
Hello, R community,
I have been using the lmer and mcmcsamp functions in R with some difficulty. I
do not believe this is my code or data, however, because my attempts to use the
sample code and 'sleepstudy' data provided with the lme4 packaged (and used on
several R-Wiki pages) do not return
Dear users,
I have two continuous variables which are two different measures taken each
year from 1975 to 2005. I want to see if the two variables are correlated
but need to take into account the fact that they are a time series. I have
been following an example from 'The R Book' where you plot
For all possible pairs, you'll have 20^2 pairs.
This is a way to do it:
expand.grid(x[1:20],x[1:20])
HTH,
Erin
On Wed, Oct 8, 2008 at 4:43 AM, Jim Lemon [EMAIL PROTECTED] wrote:
Stephen Cole wrote:
...
I have a vector of 20 values
x - c(20,18, 45, 16, 47, 47, 15, 26,
Thank you very much. This will give me something to chew on for quite some time.
Kevin
[EMAIL PROTECTED] wrote:
On 07-Oct-08 22:23:22, Bert Gunter wrote:
But it **is** indexed in both of VR's MASS and S Programming.
I have no idea whether the info there will be helpful to you,
of
I made one typo in my previous mail.
Â
May I ask one statistics related question please? I have one query on MLE
itself. It's property says that, for large sample size it is normally
distributed [i.e. asymptotically normal]. On the other hand it is Consistent
as well. My doubt is, how this
May I ask one statistics related question please? I have one query on MLE
itself. It's property says that, for large sample size it is normally
distributed [i.e. asymptotically normal]. On the other hand it is Efficient as
well. My doubt is, how this two asymptotic properties exist
On Tue, Oct 7, 2008 at 10:32 AM, Wade Wall [EMAIL PROTECTED] wrote:
Sorry that my post wasn't very clear.
What I am wanting to do is learn to build some simple GUIs for a limited
number of functions. Basically, I am envisioning a screen with check boxes,
a drop down menu etc. that users
That also works without a hitch on my box, even in vanilla 2.7.2. What
exactly is in file.label as given by
charToRaw(file.label)
Encoding(file.label)
? It should be in UTF-8, and so should
paste(diagnostic â vs a , file.label, .jpg, sep = )
It looks like the latter is not being treated as
De Woody J.A. j.dewoody at soton.ac.uk writes:
For instance:
fm1 - lmer(Reaction ~ Days + (Days|Subject), sleepstudy)
sm1 - mcmcsamp(fm1, 5000)
Error in .local(object, n, verbose, ...) :
Code for non-trivial theta_T not yet written
Douglas Bates mentions this as a reminder to himself
Hello all.
Trying to use transparency for overlaid histogram plots I have come
across an interesting inconsistency, possibly a bug when running under
Windows. Originally noticed in R 2.7.1, it is still there in 2.8.0 beta.
library(lattice)
zz - function(n,alpha)
{
ranges - NULL
for(ds in
Hi everybody,
I want to create some boxplots (as png) within an lapply method. To get nice
gridlines behind the boxplot, I plotted it twice and therefore I set par(new=TRUE).
This works nicely for the first plot but the second does plot on the first plot
too and creates a mess...
How can I
Hi all,
I am trying to run an autologistic model using the function errorsarlm from
spdep package.
**I built an XY matrix extracting the two colums from matriz**
coords1-matriz[matriz$casos1==1, c(4,5)]
coords1-as.matrix(coords1)
**I identify neighbours of region points**
*Summary*: The latest Windows binary version of rgl_081.708 from
R-Forge has some problem that
causes rgl.snapshot() to fail, at least on my system.
Thereafter, *all* rgl 3D graphics are rendered without any text labels.
The last problem remains even after (a) removing rgl and re-installing
Thank you Professor:
After reading in the file this is what I see:
file.label
[1] EXAMPLE 1 â vs a.xls
charToRaw(file.label)
[1] 45 58 41 4d 50 4c 45 20 31 20 c3 a2 20 76 73 20 61 2e 78 6c 73
Encoding(file.label)
[1] UTF-8
Encoding(paste(diagnostic â vs a , file.label, .jpg, sep = ))
[1]
Anyone using or has access to ParallelR? I was looking at the page and
found nothing really useful!
http://www.revolution-computing.com/sitegenius/topic.php?id=195
I want to see if I can run R on a cluster of workstation, and use
batch systems like Grid Engine or Xgrid:
Dear list,
I need some clues on this. I have two excel files and I basically want
to map one to the other one. Can you give me some hints how to do
it?
The first excel file, named as Susan_probe.xls, there are two columns,
PROBE_ID1 and SEARCH_KEY1
PROBE_ID1 SEARCH_KEY1 ILMN_30212
dataToMerge=data.frame(yourtablename2$PROBE_ID2, yourtablename2$SEARCH_KEY2)
##Puts the two columns of interest in dataset 2 in a separate data frame.
mergedData=merge(yourtablename1,dataToMerge,by.x=SEARCH_KEY1,by.y=SEARCH_KEY
2,all.x=T,all.y=F)
##merges the first table with the data frame just
Hi!
Have you looked at snow, snowfall, Rmpi, or rparallel, please?
Hope this helps,
Sincerely,
Erin
On Wed, Oct 8, 2008 at 10:14 AM, Chi Chan [EMAIL PROTECTED] wrote:
Anyone using or has access to ParallelR? I was looking at the page and
found nothing really useful!
Antje niederlein-rstat at yahoo.de writes:
I want to create some boxplots (as png) within an lapply method. To get
nice gridlines behind the boxplot, I plotted it twice and therefore I
set par(new=TRUE).
This works nicely for the first plot but the second does plot on the
first plot
Hm.
Bert Gunter wrote:
that even the most technical
aspects of the discipline can be made manifest to anyone with half a brain
and a stat 101 course under their belt.
I don't think this is something I can use in a rebuttal. The reviewer may be
offended and reviewers are people one does
Dear Michael,
I haven't tried rgl.snapshot() in the development version of rgl, so I can't
comment on that, but I believe that these are two unrelated problems. I
think that the version of rgl on CRAN fails to display text when rgl.* and
*3d function calls are mixed, while this works in the
Hi there,
thanks for your help. I did read Bates statement several times, and I am
very glad and thankful that many statisticians spend much time on this. The
problem is, as Dieter pointed it out, that many end users often have to
use statistics without being able to fully understand the math
Hi,
with the space parameter it is possible to change the gap / distance
between the bars, but is it also
possible to change the space after each 6th bar?
So for example you have bars from 1 to 6 then a large gap and then the next
six bars from 7 to 12
Thanks a lot!
--
View this message in
Another option is bargraph.CI or lineplot.CI from the package sciplot.
See http://mutualism.williams.edu/sciplot for examples.
On Tue, 2008-10-07 at 23:31 -0500, Michael Just wrote:
Hello,
I'd appreciate a suggestion on how to construct plots (barplots?) that use
means on the Y axis instead
Dear duncan,
I'm writing to ask you for some help about compiling SJava.
I encounter some errors when I compiled SJava on Window XP:
Building JNI header files...
Extracting the classes from Environment.jar
/jdk1.3/bin/jar: not found
RForeignReference
After executing command sh
which(A %in% B)
-Christos
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of mentor_
Sent: Wednesday, October 08, 2008 11:19 AM
To: r-help@r-project.org
Subject: [R] Using grep
Hi,
I have a vector A with (200, 201, 202, 203, 204, ... 210)
On Tue, Oct 7, 2008 at 11:31 PM, Michael Just [EMAIL PROTECTED] wrote:
Hello,
I'd appreciate a suggestion on how to construct plots (barplots?) that use
means on the Y axis instead of density/count. I'd also like to use groups
and plot error or confidence interval bars on these graphs. I know
Here is a possible solution:
A
[1] 200 201 202 203 204 205 206 207 208 209 210
B
[1] 201 204 209
which(!is.na(match(A,B)))
[1] 2 5 10
Hope this helps,
Sincerely,
Erin
On Wed, Oct 8, 2008 at 10:19 AM, mentor_ [EMAIL PROTECTED] wrote:
Hi,
I have a vector A with (200, 201, 202, 203,
A - seq(200,210,1)
B - c(201,204,209)
which(A %in% B)
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of mentor_
Sent: Wednesday, October 08, 2008 11:19 AM
To: r-help@r-project.org
Subject: [R] Using grep
Hi,
I have a vector A with (200,
Hello;
I'll put my real problem through a simple example:
I've got a main list:
main.lst - lst()
With a number of sublists:
for(i in 1:1000){
main.lst[[i]] - list()
main.lst[[i]]$first - runif(1,0,1)
main.lst[[i]]$second - runif(2,3,4)
}
If later on I need to split this list, how
Thanks, John
What you say about mixing rgl.* and *3d calls may be true, but that is
not my problem. After this occurred,
I tried many things, but reduced it to the smallest, most basic example
(in my original post), using only plot3d(), that
worked perfectly in both the CRAN and R-Forge
On 08-Oct-08 15:19:02, mentor_ wrote:
Hi,
I have a vector A with (200, 201, 202, 203, 204, ... 210) and
a vector B with (201, 204, 209).
Now I would like to get the position in vector A matches with
the entries in vector B
So what I want to have is the following result:
[1] 2 5 10
First of
On Wednesday 08 October 2008, Manuel Morales wrote:
Another option is bargraph.CI or lineplot.CI from the package sciplot.
See http://mutualism.williams.edu/sciplot for examples.
On Tue, 2008-10-07 at 23:31 -0500, Michael Just wrote:
Hello,
I'd appreciate a suggestion on how to construct
Julia S. wrote:
Hi there,
thanks for your help. I did read Bates statement several times, and I am
very glad and thankful that many statisticians spend much time on this. The
problem is, as Dieter pointed it out, that many end users often have to
use statistics without being able to fully
Jacky -- Duncan has kindly allowed me to maintain SJava. A current
version is not readily available, but I will provide you with some help
off-list (and arrange for more public dissemination soon).
Martin
Jacky Huang wrote:
Dear duncan,
I'm writing to ask you for some help about compiling
Thank you all for you suggestions. They are all helpful. However, I have
come to a more fundamental problem. Preparing my data to even make such a
graph. I thought I was ready. I will obviously need to find the n, mean,
and confidence interval for my data before I can plot them. for some of
these
Can you please try a 2.8.0 beta build? I have a suspicion as to what
might be going on, and it cannot happen there.
If my guess is correct,
nfile - paste(diagnostic â vs a , file.label, .jpg, sep = )
savePlot(path.expand(nfile), type=jpg)
may work for you in 2.7.2 (but as I said, I wasn't
Dea-R community.
I'd like to draw your attention to an issue I have recently
encountered while doing my current data analysis.
I've got an unexpected (to me) result from the command:
augPred(lmList(my.object)),
'my.object' being a grouped data frame of class:
class(my.object)
[1]
Hello!
I am wondering if there is a function in R that returns quantiles of a
weighted sample, i.e., a set of values, each coming with a different
weight. The function quantile() does that only for the case when the
weights are all equal.
In other words, I am looking for a quantile function
see
http://www.nabble.com/weighted-quantiles-to19864562.html#a19865869
url:www.econ.uiuc.edu/~rogerRoger Koenker
email[EMAIL PROTECTED]Department of Economics
vox: 217-333-4558University of Illinois
fax: 217-244-6678
I'm running R 2.7.1 with Tinn-R 2.0.0.7 and Windows XP Professional. I
have write privileges to the folders containing my R installation, my
Tinn-R installation, and my Tinn-R initialization settings. I installed R
first, followed by Tinn-R. I have modified my RProfile.site file (in
Tinn-R,
Hello everyone,
As some may know, today Google unveiled its 2001 search index [1]. I
was curious to see how was R like at that time, and was not
disappointed. Compared to today's main page [2], seven years ago the
page looked [3] a bit rudimentary, especially the graphic. (It is wort
noting that
mentor_ mentor_ at gmx.net writes:
with the space parameter it is possible to change the gap / distance
between the bars, but is it also
possible to change the space after each 6th bar?
So for example you have bars from 1 to 6 then a large gap and then the next
six bars from 7 to 12
Space
The package 'eha' fits these distributions (and more) with general
left truncation and right censoring, and also regression models a la
survreg. Look at 'phreg' for parametric proportional hazards models
and 'aftreg' for accelerated failure time models. In your case of no
covariates, the two
Dear Javier,
sublists, to be passed to a function, sintaxis like this won't work:
sublist - main.lst[[1:4]]
are you looking for:
sublist - main.lst[1:4]
HTH
Claudia
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
An earlier post asked about limiting the z-axis range. I have the
opposite problem. I need to expand the z-axis range in order to
reduce the vertical relief on the surface plot (i.e. make it flatter).
Any suggestions on how to do that?
Kevin
__
On 08-Oct-08 18:00:27, Liviu Andronic wrote:
Hello everyone,
As some may know, today Google unveiled its 2001 search index [1]. I
was curious to see how was R like at that time, and was not
disappointed. Compared to today's main page [2], seven years ago the
page looked [3] a bit
On Wed, 8 Oct 2008, Liviu Andronic wrote:
Hello everyone,
As some may know, today Google unveiled its 2001 search index [1]. I
was curious to see how was R like at that time, and was not
disappointed. Compared to today's main page [2], seven years ago the
page looked [3] a bit rudimentary,
(Ted Harding) wrote:
On 08-Oct-08 18:00:27, Liviu Andronic wrote:
Hello everyone,
As some may know, today Google unveiled its 2001 search index [1]. I
was curious to see how was R like at that time, and was not
disappointed. Compared to today's main page [2], seven years ago the
page
Thank you Professor:
Here is an example using R2.8.0 beta. It shows the coding to be latin1
I installed my package which requires rcom, RODBC, RColorBrewer, survival I
was unable to find rcom in the packages drop-down menu. I tried mirrors
USA(PA) and USA(PA2). rcom does appear in the menu
On 10/8/2008 2:28 PM, Kevin Wright wrote:
An earlier post asked about limiting the z-axis range. I have the
opposite problem. I need to expand the z-axis range in order to
reduce the vertical relief on the surface plot (i.e. make it flatter).
Any suggestions on how to do that?
persp3d
On 8/10/2008, at 5:16 PM, Deepayan Sarkar wrote:
On 10/7/08, Rolf Turner [EMAIL PROTECTED] wrote:
I am trying to do a histogram lattice plot and I would like the
histogram to be filled with a different colour in each panel.
Note: I want every bar in each histogram to be the same colour,
On 8/10/2008, at 6:48 PM, Erin Hodgess wrote:
Hi R People:
I am looking at the Braun/Murdoch book, A First Course in
Statistical Programming in R, and I have a question about a function
there. It's on page 52, Example 4.5; the sieve of Erastosthenes.
There is a line:
primes - c()
Is there
On 9/10/2008, at 12:34 AM, Julia S. wrote:
Hm.
Bert Gunter wrote:
that even the most technical
aspects of the discipline can be made manifest to anyone with half
a brain
and a stat 101 course under their belt.
I don't think this is something I can use in a rebuttal. The
reviewer may
On Wed, 8 Oct 2008, Giovanni Petris wrote:
I am wondering if there is a function in R that returns quantiles of a
weighted sample, i.e., a set of values, each coming with a different
weight. The function quantile() does that only for the case when the
weights are all equal.
In other words, I am
On Wednesday 08 October 2008, Manuel Morales wrote:
On Wed, 2008-10-08 at 09:49 -0700, Dylan Beaudette wrote:
On Wednesday 08 October 2008, Manuel Morales wrote:
Another option is bargraph.CI or lineplot.CI from the package sciplot.
See http://mutualism.williams.edu/sciplot for
On Wed, Oct 8, 2008 at 6:17 AM, milton ruser [EMAIL PROTECTED] wrote:
[snip]
Finally, in fact GRASP do what I am looking for, and I am starting to
compare the results of this packages with other very wel- know softwares
(DescktopGarp, Maxent, OpenModeller). If someone of you have suggestions
Hi Dieter,
thanks a lot for looking inside my code though it was not executable...(sorry
for that).
Finally, I found a rather stupid mistake. My original code did not use the
variable i for the second boxplot. So the second round actually plotted two
different data at the two calls...
so it
Hi I'm getting a weird result when I try to switch from a normal box
plot to a notched one. The ends of the box fold down toward the
median giving a horned appearance. Is just the sample itself? It is
small, but the un-notched plot looks okay. Anyway to fix this?
I also managed to get the right result but within a for loop ;)
So I really appreciate your solutions!
Thanks a lot!
--
View this message in context:
http://www.nabble.com/Using-grep-tp19881017p19882769.html
Sent from the R help mailing list archive at Nabble.com.
Dear R users,
I'd like to make this data
rem.y = c(-1,0,2,4,5)
from
y = c(-1,-1,0,2,2,2,2,4,4,5,5,5,5,5).
That is, I need to remove repeated values.
Here is my code, but I don't think it is efficient. How could I improve
this?
Dear R users,
I have this vector that consists numeric numbers. Is there a command that
detects the repeated numbers in a vector and returns the index of the
repeated numbers (or the actual numbers)? For example, v - c(3,4,5,7,4).
The command would return me index 2 and 5 (or the repeated
On Wed, 2008-10-08 at 12:01 -0500, Michael Just wrote:
Thank you all for you suggestions. They are all helpful. However, I have
come to a more fundamental problem. Preparing my data to even make such a
graph. I thought I was ready. I will obviously need to find the n, mean,
and confidence
On Wed, 2008-10-08 at 09:49 -0700, Dylan Beaudette wrote:
On Wednesday 08 October 2008, Manuel Morales wrote:
Another option is bargraph.CI or lineplot.CI from the package sciplot.
See http://mutualism.williams.edu/sciplot for examples.
On Tue, 2008-10-07 at 23:31 -0500, Michael Just
Manuel,
Thanks, this worked well. I was also toying around with other options in
bargraph.CI per your suggestion.
Thanks,
Michael
bargraph.CI(RecovUnit, bbED, group = year, data =scape234,
+ xlab = Recovery Unit, ylab = Edge Density, cex.lab = 1.5,
x.leg = 1,
+ density =
Kathryn
?unique
and see also duplicated.
unique(c(-1,-1,0,2,2,2,2,4,4,5,5,5,5,5))
[1] -1 0 2 4 5
HTH
Peter Alspach
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of kathie
Sent: Thursday, 9 October 2008 8:12 a.m.
To:
On 08/10/2008 2:36 PM, liujb wrote:
Dear R users,
I have this vector that consists numeric numbers. Is there a command that
detects the repeated numbers in a vector and returns the index of the
repeated numbers (or the actual numbers)? For example, v - c(3,4,5,7,4).
The command would return me
Interactive, Comprehensive and Highly Visual !
R-PLUS 3.3 Rocks :)
At a click, import data from different formats, use Excel-like
spreadsheet for manipulating your data, create publication-quality
reports, generate editable graphics ... and click click to run your
favorite models through
Dear Kathie,
See ?unique.
y = c(-1,-1,0,2,2,2,2,4,4,5,5,5,5,5)
unique(y)
[1] -1 0 2 4 5
HTH,
Jorge
On Wed, Oct 8, 2008 at 3:12 PM, kathie [EMAIL PROTECTED] wrote:
Dear R users,
I'd like to make this data
rem.y = c(-1,0,2,4,5)
from
y =
kathie wrote:
Dear R users,
I'd like to make this data
rem.y = c(-1,0,2,4,5)
from
y = c(-1,-1,0,2,2,2,2,4,4,5,5,5,5,5).
That is, I need to remove repeated values.
Here is my code, but I don't think it is efficient. How could I improve
this?
By using the 'unique'
Hello, this code below was from a helpful R-help user.
dat - read.csv(Resid_fix2.csv, sep=, , header=T)
dat11 - dat[1:413,]
# convert ambiguous columns to factors:
dat11$Pri_No - factor(dat11$Pri_No)
dat11$RecovUnit - factor(dat11$RecovUnit)
# plot:
require(lattice)
bwplot(bbED~ Pri_No |
Can this be an answer ?
which(v %in% names(table(v)[table(v)1]))
[1] 2 5
Nael
On Wed, Oct 8, 2008 at 8:36 PM, liujb [EMAIL PROTECTED] wrote:
Dear R users,
I have this vector that consists numeric numbers. Is there a command that
detects the repeated numbers in a vector and returns the
Dear Daniel,
Thank you very much for the help!
I tried the code and got the following:
John-read.table(file=John_probe.txt,header=TRUE,row.names=NULL,fill=TRUE)
Susan-read.table(file=Susan_probe.txt,header=TRUE,row.names=NULL,fill=TRUE)
dim(John)
[1] 48701 2
dim(Susan)
[1] 46713 2
I just updated my Redhat EL systems to R-2.7.2, and tried to update my
packages as well. Lattice is one that failed. What do I need to do?
R version 2.7.2 (2008-08-25)
install.packages(lattice, repos = http://cran.fhcrc.org/;)
Warning in install.packages(lattice, repos =
On Wed, 8 Oct 2008, Charles Annis, P.E. wrote:
Thank you Professor:
Here is an example using R2.8.0 beta. It shows the coding to be latin1
But you did not use file.choose or basename here.
I installed my package which requires rcom, RODBC, RColorBrewer, survival I
was unable to find rcom
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Chi,
ParallelR is a commercial software to run R in parallel. It is working
very well. We tested it at a small linux cluster.
You also can use R and the parallel packages (snow, Rmpi, nws, ...)
packages. All Open Source and for free. You probably
On Wed, 8 Oct 2008, Waichler, Scott R wrote:
I just updated my Redhat EL systems to R-2.7.2, and tried to update my
packages as well. Lattice is one that failed. What do I need to do?
Install the R-devel RPM? (Assuming you installed R from an RPM.)
R version 2.7.2 (2008-08-25)
1 - 100 of 129 matches
Mail list logo