You might want to start by reading the Bayesian task view at
http://probability.ca/cran/
John Kane
Kingston ON Canada
-Original Message-
From: s_zerm...@esi.dz
Sent: Thu, 21 Mar 2013 07:06:40 -0700 (PDT)
To: r-help@r-project.org
Subject: [R] Bayesian network
HeLLo,
I'm new
to pause and
reflect if there might be a good reason.
I nominate this as a fortune candidate.
Seconded John Kane
Kingston ON Canada
--
Kevin E. Thorpe
Head of Biostatistics, Applied Health Research Centre (AHRC)
Li Ka Shing Knowledge Institute of St. Michael's
Assistant Professor, Dalla
https://github.com/hadley/devtools/wiki/Reproducibilityhttps://github.com/hadley/devtools/wiki/Reproducibility
John Kane
Kingston ON Canada
-Original Message-
From: ingf...@gmail.com
Sent: Wed, 20 Mar 2013 18:18:17 +
To: r-help@r-project.org
Subject: [R] help pairs
Hi
Will this do?
library(plyr)
ddply(my_df, .(a), summarize, mm = mean(dat), number = length(dat))
John Kane
Kingston ON Canada
-Original Message-
From: ashen...@ufl.edu
Sent: Wed, 20 Mar 2013 14:57:36 -0500
To: r-help@r-project.org
Subject: [R] summarize dataframe based
some sample data.
John Kane
Kingston ON Canada
-Original Message-
From: ii54...@msn.com
Sent: Fri, 15 Mar 2013 12:40:54 +
To: r-help@r-project.org
Subject: [R] Data manipulation
Hello all,
I would appreciate your thoughts on a seemingly simple problem. I have
No idea of what sentence. R-help strips any html and only provides a text
message so all formatting has been lost. I think the question is not really an
R-help question but if you resubmit the post you need to show the sentence in
question in another way.
John Kane
Kingston ON Canada
Well you can write it there but it won't do anything until read into some
software that can interpret it as a url. A csv file is just plain text.
John Kane
Kingston ON Canada
-Original Message-
From: bsmith030...@gmail.com
Sent: Fri, 15 Mar 2013 07:53:02 -0400
To: r-help@r
3 1 4 4
I see that you have two combinations of Class and X with no entries. Is this
what you wanted to show in W? If so, it is not immediately apparent how to go
about this.
John Kane
Kingston ON Canada
-Original Message-
From: ii54...@msn.com
Sent: Fri, 15 Mar 2013 13
Nice. That does look like it. IOANNA?
John Kane
Kingston ON Canada
-Original Message-
From: nbla...@ispm.unibe.ch
Sent: Fri, 15 Mar 2013 14:27:03 +0100
To: ii54...@msn.com, r-help@r-project.org
Subject: Re: [R] Data manipulation
Is this what you want to do?
D2 - expand.grid
I think this is more a question for something like Cross Validated but you
may well get a hint or two here. Unfortunately while I vaguely see what the
reviewer is getting at I certainly don't know enough to help.
John Kane
Kingston ON Canada
-Original Message
)) will
be sufficient.
Sorry I'm not more helpful
John Kane
Kingston ON Canada
-Original Message-
From: cat.e.co...@gmail.com
Sent: Fri, 15 Mar 2013 12:46:13 +0800
To: r-help@r-project.org
Subject: [R] Reassign values based on multiple conditions
Hi all,
I have a simple data
particularly at answer number 3 which uses the data.table package and which
looks like it may do what you want.
John Kane
Kingston ON Canada
-Original Message-
From: jsdroys...@bellsouth.net
Sent: Fri, 15 Mar 2013 12:06:05 -0400
To: r-help@r-project.org
Subject: [R] seeking tip
, 6L, 11L, 5L, 8L, 13L, 16L,
15L, 2L), freq = c(17L, 14L, 7L, 13L, 19L, 5L, 3L, 20L, 9L, 10L
)), .Names = c(abond, freq), row.names = c(NA, -10L),
class = data.frame)
plot(dat1$abond, col = red)
lines(dat1$freq, col= blue)
John Kane
Kingston
in advance,
--
Gian
On 14 March 2013 14:51, John Kane jrkrid...@inbox.com wrote:
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
You really need to read the posting guide and supply some sample data
at
the very least.
Here is about as simple
A good place to start might be http://www.jstatsoft.org/v40/i03/paper for the
lubridate package or have a look at the zoo package
John Kane
Kingston ON Canada
-Original Message-
From: yash.kaja...@gmail.com
Sent: Thu, 14 Mar 2013 19:15:00 +0530
To: r-help@r-project.org
Subject: [R
Below , in line
John Kane
Kingston ON Canada
-Original Message-
From: michael.eisenr...@gmx.ch
Sent: Thu, 14 Mar 2013 11:51:49 +0100
To: r-help@r-project.org
Subject: [R] merge function to combine two tables
Dear R-help members
I would be grateful if anyone could help me
Also going from memory Michael's ggplot should almost work but I think yo need
to change symbol = id in the aes statement to
geom_point(aes(shape = id)) although it may work in the first aes() statement.
John Kane
Kingston ON Canada
-Original Message-
From: michael.weyla
in the first aes statement.
library(ggplot2)
p - ggplot(dta , aes(time, value,
shape = as.factor(id) , colour =as.factor(group ))) +
geom_point()
p
John Kane
Kingston ON Canada
-Original Message-
From: dcarl...@tamu.edu
Sent: Thu, 14 Mar 2013 11:23:18 -0500
No , but please RSVP if you disagree with me.
John Kane
Kingston ON Canada
-Original Message-
From: cl...@ecy.wa.gov
Sent: Thu, 14 Mar 2013 09:28:46 -0700 (PDT)
To: gunter.ber...@gene.com
Subject: Re: [R] NLS results different from Excel -- Tricky fortunes
nomination
The R-help list strips most attachements other than text (and perhaps pngs? )
to deduce the risk of virus or malware being recieved.
You could try parking the file on something like medifire and providing a link
here.
John Kane
Kingston ON Canada
-Original Message-
From: laomen
If that is a text file I'd guess that the seperator is a tab. I don's see why
you used NULL as R should just read in the file with NA's for empty values.
You might want to try :
heisenberg - read.csv(file=comprice.csv,head=TRUE,sep=\t)
John Kane
Kingston ON Canada
-Original Message
Thanks David. The clarification helps. I had forgotten that pdfs would get
through.
Howeve the file got to me, I suspect because I am listed in the To line under
my actual email address. I suspect that only meng and I recieved it and the
rest of the list did not.
John Kane
Kingston
It works for me. Or at least I got something to download. What is another
matter. I am just trying to learn how to do this and really don't have any good
advice.
Perhaps the site was down or overloaded? Any firewalls to worry about at your
end?
John Kane
Kingston ON Canada
-Original
.
It is not particularly clear what you want to do. You apparently have four
entries in the matrix and say that you want to have three bars.
How do you want to handle the 11425 value since it has diffference cats?
John Kane
Kingston ON Canada
-Original Message-
From: matthias.we...@fnt.de
= c(1, 2, 1, 2)),
.Names = c(x, abnr2, time, cat),
row.names = c(NA, -4L), class = data.frame)
dd1 - data.frame(table( dd$cat, dd$abnr2))
ggplot(dd1, aes(Var2, Freq, fill = Var1)) + geom_bar()
John Kane
Kingston ON Canada
-Original
= 0.02, width = 0)) +
stat_smooth(method = glm, family = binomial, formula = y ~ poly(x,2),
alpha = 0.1, size=2, aes(fill = GENDER))
John Kane
Kingston ON Canada
-Original Message-
From: frien...@yorku.ca
Sent: Fri, 08 Mar 2013 11:36:36 -0500
To: r-help@r
Looking good. I think the function in this post is what you want. It worked on
your code for me.
http://stackoverflow.com/questions/13297155/add-floating-axis-labels-in-facet-wrap-plot
.
John Kane
Kingston ON Canada
-Original Message-
From: a...@ecology.su.se
Sent: Thu, 07 Mar
Perhaps
http://stackoverflow.com/questions/1395528/scraping-html-tables-into-r-data-frames-using-the-xml-package
may be of help
John Kane
Kingston ON Canada
-Original Message-
From: antony.akk...@ge.com
Sent: Wed, 6 Mar 2013 19:23:24 -0800 (PST)
To: r-help@r-project.org
Subject
If I try facet_wrap(~factor1, ncol = 2) I get no faceting at all. Strange.
John Kane
Kingston ON Canada
-Original Message-
From: istaz...@gmail.com
Sent: Thu, 7 Mar 2013 12:14:01 -0500
To: a...@ecology.su.se
Subject: Re: [R] ggpliot2: reordering of factors in facets facet.grid
With the orginal data.frame being df1
df2 - data.frame(matrix(rep(NA, nrow(df1)*ncol(df1)), nrow = nrow(df1)))df2
- data.frame(matrix(rep(NA, nrow(df1)*ncol(df1)), nrow = nrow(df1)))
John Kane
Kingston ON Canada
-Original Message-
From: sahanasrinivasan...@gmail.com
Sent: Thu, 7
command to work until I
rebooted RStudio and now this.
I have no idea of how to track down what's happening but at least you've
made me aware of it.
Thanks
John Kane
Kingston ON Canada
-Original Message-
From: a...@ecology.su.se
Sent: Thu, 07 Mar 2013 19:32:21 +0100
,
linetype = factor1)
p1
John Kane
Kingston ON Canada
-Original Message-
From: a...@ecology.su.se
Sent: Wed, 06 Mar 2013 13:32:42 +0100
To: r-help@r-project.org
Subject: [R] Ggplot2: Moving legend, change fill and removal of space
between plots when using grid.arrange() possible use
Placing a legend.
z - ggplot(mtcars, aes(wt, mpg, colour = factor(cyl))) + geom_point()
z + theme(legend.position = c(.5, .5))
Currently this does not appear to work in RStudio but seems fine if I use gedit
or if I run R in a terminal session.
John Kane
Kingston ON Canada
No link and/ no attached file. The list tends to strip most attachments to
reduce virus attacks.
John Kane
Kingston ON Canada
-Original Message-
From: angeloscozzare...@tiscali.it
Sent: Wed, 6 Mar 2013 19:53:18 +0100
To: r-help@r-project.org
Subject: [R] Graph from Glantz
Hi
Replying to my own post RStudio is doing this fine once I had rebooted R. I
must have had some strange stuff loaded that I had not realised was there.
John Kane
Kingston ON Canada
-Original Message-
From: jrkrid...@inbox.com
Sent: Wed, 6 Mar 2013 11:16:28 -0800
) # reset par
# See ?text, ?par and ?mtext for more information.
##=##
John Kane
Kingston ON Canada
-Original Message-
From: a...@ecology.su.se
Sent: Fri, 01 Mar 2013 11:53:31 +0100
To: jrkrid...@inbox.com
Subject: RE: [R] How to plot 2 continous
that you specifed below
ddply (dataread , .(Sector, FISCALYEAR), summarise, WROE=wavg(ROE, MKTCAP)))
I think we need a bit more information.
John Kane
Kingston ON Canada
-Original Message-
From: anandpu...@gmail.com
Sent: Fri, 1 Mar 2013 11:01:42 -0500
To: r-help@r-project.org
, FISCALYEAR), summarise,WROE=wavg(ROE, MKTCAP))
Have you left out a equation that calculates MKTCAP?
John Kane
Kingston ON Canada
-Original Message-
From: anandpu...@gmail.com
Sent: Fri, 1 Mar 2013 13:53:44 -0500
To: jrkrid...@inbox.com
Subject: Re: [R] Conditional Weighted Average
Thanks for the data .
You have an undefined variable in the ddply statement. There is no MKTCAP in
the data.frame.
You also have one two many ) in the statement. I think it should read:
ddply (dat1 , .(Sector, FISCALYEAR), summarise, WROE=wavg(ROE, MKTCAP))
John Kane
Kingston ON Canada
See my last post which crossed yours.
John Kane
Kingston ON Canada
-Original Message-
From: anandpu...@gmail.com
Sent: Fri, 1 Mar 2013 14:33:17 -0500
To: jrkrid...@inbox.com
Subject: Re: [R] Conditional Weighted Average (ddply or any other
function)
oops - it should be MKT, I
Is there any chance you meant
ddply (dat1 , .(Sector, FISCALYEAR), summarise, WROE=wavg(ROE, MKT))
??
It gives a result but I have no idea if it makes sense.
John Kane
Kingston ON Canada
-Original Message-
From: anandpu...@gmail.com
Sent: Fri, 1 Mar 2013 14:13:37 -0500
To: r-help
combinations and does not with others and let some experts have a look at
it.
To my untutored eye you look like you're okay but I am not an expert by any
means.
Sorry not to be of more help
John Kane
Kingston ON Canada
-Original Message-
From: anandpu...@gmail.com
Sent: Fri, 1 Mar 2013 15
It is not at all clear to me exactly what you want but ggplot2 does not allow
double-y graphs. However does this suggest anything useful?
http://grokbase.com/t/r/r-help/104yxg1q38/r-plotting-multiple-cis
John Kane
Kingston ON Canada
-Original Message-
From: a...@ecology.su.se
Sent
The server removed any attached files
It is better to put everything in the actual email.
https://github.com/hadley/devtools/wiki/Reproducibility
John Kane
Kingston ON Canada
-Original Message-
From: berega...@gmail.com
Sent: Sat, 23 Feb 2013 02:40:29 +0300
To: r-help@r
I think you need a print command in there
John Kane
Kingston ON Canada
-Original Message-
From: nikhiljo...@gmail.com
Sent: Wed, 20 Feb 2013 16:38:56 -0500
To: r-help@r-project.org
Subject: [R] Problem with levelplot() in a loop
Dear R users,
I am trying to print heatmaps
)) will be sufficient.
In this case it looks like we would want three dput results, one for each year.
John Kane
Kingston ON Canada
-Original Message-
From: a...@ecology.su.se
Sent: Tue, 19 Feb 2013 12:38:25 +0100
To: r-help@r-project.org
Subject: [R] introducing jitter in overlapping graphs
You need to convert the factor to character.
as.Date( as.character(mydata$Date), %Y-%m-%d)
should do it.
John Kane
Kingston ON Canada
-Original Message-
From: janesh.devk...@gmail.com
Sent: Tue, 19 Feb 2013 11:47:04 -0600
To: r-help@r-project.org
Subject: [R] Converting the data
Currently your code does not seem to make any sense
===comments in line
John Kane
Kingston ON Canada
-Original Message-
From: s...@st-andrews.ac.uk
Sent: Mon, 18 Feb 2013 16:09:49 +
To: r-help@r-project.org
Subject: [R] help with population matrix
Hi guys, I am
https://github.com/hadley/devtools/wiki/Reproducibility
John Kane
Kingston ON Canada
-Original Message-
From: t...@gurukuli.co.uk
Sent: Sun, 17 Feb 2013 07:50:17 +
To: r-help@r-project.org
Subject: [R] Multidimensional correlation matrix question
Hello,
I previously sent
This sounds a bit too much like homework.
And in any case https://github.com/hadley/devtools/wiki/Reproducibility
John Kane
Kingston ON Canada
-Original Message-
From: asltjoey.rs...@gmail.com
Sent: Sun, 17 Feb 2013 20:10:13 +0700
To: r-help@r-project.org
Subject: [R] How to do
on
This should get you started.
John Kane
Kingston ON Canada
-Original Message-
From: dwinsem...@comcast.net
Sent: Sat, 16 Feb 2013 05:57:29 -0800
To: brianng...@csu.fullerton.edu
Subject: Re: [R] Creating a Double Bar Graph With Provided DataSet
On Feb 15, 2013, at 11:31 PM, Brian
http://stackoverflow.com/questions/5863097/selecting-only-numeric-columns-from-a-data-frame
John Kane
Kingston ON Canada
-Original Message-
From: bdecicco2...@yahoo.com
Sent: Sat, 16 Feb 2013 10:15:35 -0800 (PST)
To: r-help@r-project.org
Subject: [R] Extracting Numeric Columns from
to post only in
text. HTML etc is automatically dropped.
John Kane
Kingston ON Canada
-Original Message-
From: ala...@yahoo.com
Sent: Thu, 14 Feb 2013 07:15:05 -0800 (PST)
To: r-help@r-project.org
Subject: [R] Plot a Matrix as an Image with ggplot
Dear all,
I am trying to plot
Nothing got through. You need to send everything in text format.
John Kane
Kingston ON Canada
-Original Message-
From: 98sa...@gmail.com
Sent: Thu, 14 Feb 2013 15:04:24 -0500
To: r-help@r-project.org
Subject: [R] stratified analysis
I am having trouble doing a stratified
?merge
If I have not reversed the data sets this should work
With data sets called dat1 and dat2
merge(dat1,dat2, all.y = TRUE)
John Kane
Kingston ON Canada
-Original Message-
From: matthias.we...@fnt.de
Sent: Wed, 13 Feb 2013 06:39:57 -0800 (PST)
To: r-help@r-project.org
We might be able to help if we knew what you are doing.
https://github.com/hadley/devtools/wiki/Reproducibility
John Kane
Kingston ON Canada
-Original Message-
From: catalinro...@gmail.com
Sent: Sun, 10 Feb 2013 13:16:12 +0200
To: r-help@r-project.org
Subject: [R] compute
No image. png files seem to make it through so if you save as png it should
arrive.
Some sample code and data would help
Is the data in one data.frame or could you put it into one? If so you might
want to try melting the data (see reshape 2 package) and plotting with ggplot2
John Kane
It all depends on where you want the text. Did the other two replies that I
have seen provide a better solution?
If not can you give us some more description of what you want or point to a
graph somewhere on the internet so we can get a better idea of what you want?
John Kane
Kingston
Nice boxplot but you forgot to tell us the issues :)
John Kane
Kingston ON Canada
-Original Message-
From: asir...@gmail.com
Sent: Sat, 9 Feb 2013 08:09:13 -0800
To: r-help@r-project.org
Subject: [R] Boxplot Issues
__
R-help@r
I seem to be suffering from the same problem (the Friday one, not the cor one)
Have a look at
http://stats.stackexchange.com/questions/4040/r-compute-correlation-by-group
for something that looks like it will work
John Kane
Kingston ON Canada
-Original Message-
From: david.cars
I realize it's -12C and we're having the next best thing to a blizzard but why
can I not melt this data frame.
I am missing something terribly obvious but I just don't understand what the
error message is saying.
John Kane
Kingston ON Canada
Code and aata below
Yes there probably is if you would show us what you are doing.
Minimal working code helps.
https://github.com/hadley/devtools/wiki/Reproducibility
John Kane
Kingston ON Canada
-Original Message-
From: fabrice.c...@gmail.com
Sent: Fri, 8 Feb 2013 14:28:17 -0500
To: r-help@r
=a)
hist(b)
text(-4, 150, labels =b)
hist(c)
text(-4, 150, labels =c)
hist(d)
text(-4, 150, labels =d)
par - opr
John Kane
Kingston ON Canada
-Original Message-
From: fabrice.c...@gmail.com
Sent: Fri, 8 Feb 2013 14:42:10 -0500
To: jrkrid...@inbox.com
Subject: Re: [R] Add
From ?source
Note that running code via source differs in a few respects from entering it
at the R command line. Since expressions are not executed at the top level,
auto-printing is not done. So you will need to include explicit print calls for
things you want to be printed
John Kane
Kingston
Please reply with context to the list. Most R-help readers do not use nabble.
I don't quite understand your question but do you mean something like ?names?
John Kane
Kingston ON Canada
-Original Message-
From: matthias.we...@fnt.de
Sent: Tue, 29 Jan 2013 07:41:21 -0800 (PST)
To: r
I don't see what is happening from your code but you have a typo in the emai if
not in your code. It should be library (pROC)
John Kane
Kingston ON Canada
-Original Message-
From: feth...@yahoo.fr
Sent: Mon, 28 Jan 2013 14:44:50 + (GMT)
To: r-help@r-project.org
Subject: [R
Something like
plot(test,type='h',yaxs='i', ylim = c(0, 60)) ?
You would need to figure out what the right values for ylim are.
John Kane
Kingston ON Canada
-Original Message-
From: inp...@gmail.com
Sent: Tue, 29 Jan 2013 14:51:32 +0200
To: kri...@ymail.com
Subject: Re: [R
of
other possibly useful examples.
John Kane
Kingston ON Canada
-Original Message-
From: denis.franci...@gmail.com
Sent: Mon, 28 Jan 2013 22:26:02 +0100
To: r-help@r-project.org
Subject: [R] R plot like candlestick
Hi all,
I'm new on this list so I greet all.
My question is: does
Following David's suggestion you might want to have a look at
https://confluence.clazzes.org/display/CSVEDIT/CSVEdit+Home .
I have not used it but it seems to get good reviews from people I know.
John Kane
Kingston ON Canada
-Original Message-
From: dwinsem...@comcast.net
Sent
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
John Kane
Kingston ON Canada
-Original Message-
From: eliza_bo...@hotmail.com
Sent: Fri, 25 Jan 2013 18:13:55 +
To: r-help@r-project.org
Subject: [R] joint probability distribution
Dear
The image came through but no data. I'd suggest using ?dput to send the data.
John Kane
Kingston ON Canada
-Original Message-
From: janesh.devk...@gmail.com
Sent: Thu, 24 Jan 2013 11:46:53 -0600
To: r-help@r-project.org
Subject: [R] Insert segment only on particular facets
Does something like this do what you want? It returns a list of tables
md - data.frame((matrix(sample(1:5, 100, replace = TRUE),nrow= 10)))
str(md)
apply(md, 2, table)
John Kane
Kingston ON Canada
-Original Message-
From: p.mulong...@namibia.pharmaccess.org
Sent: Fri, 11 Jan
installation the faster people may be able to
help you.
John Kane
Kingston ON Canada
-Original Message-
From: shairu...@yahoo.com
Sent: Fri, 11 Jan 2013 01:18:47 -0800 (PST)
To: r-help@r-project.org
Subject: [R] Extract data
Dear R users,
I just join this forum a few minutes ago. My
I think we a much clearer statement of the problem
This link provides some suggestions on how to frame the problem
https://github.com/hadley/devtools/wiki/Reproducibility
John Kane
Kingston ON Canada
-Original Message-
From: mcmoumi...@gmail.com
Sent: Wed, 9 Jan 2013 08:55:25
differently at times.
John Kane
Kingston ON Canada
-Original Message-
From: thoms...@email.arizona.edu
Sent: Mon, 7 Jan 2013 19:17:27 -0600
To: r-help@r-project.org
Subject: [R] Conditional Statistics
Hello,
I am a new user of R. I am coming from SAS and do statistics on stock
(testfile, 100)) will be sufficient.
Simpe example:
aalist - list(aa = c(3.0, 2.9, 2.7), bb = c(0.86, 0.76, 0.66),
cc= c(0.07, 0.04, 0.04), cc = c(a, b, c))
dput(aalist)
The attached text file was useful but actual or example data is much better.
John Kane
Kingston
),
nrow= 24))
dd -rep(c(a,b), each= 12)
xx - cbind(dd, xx)
aggregate(xx[,3:5], list(xx$dd), mean)
By the way, when supplying data samples a good way is to use the dput command.
Try ?dput for information
John Kane
Kingston ON Canada
-Original Message
The attachement did not come through and we need some idea of what you are
doing. Please see https://github.com/hadley/devtools/wiki/Reproducibility for
some ideas of what we need.
And please read the posting guide
John Kane
Kingston ON Canada
-Original Message-
From: idliuxud
it.
This makes helping you much easier and you don't get nasty remarks thrown at
you.
Welcome to the R world
John Kane
Kingston ON Canada
-Original Message-
From: sid.2311...@gmail.com
Sent: Sun, 30 Dec 2012 17:07:47 +0545
To: r-help@r-project.org
Subject: [R] Starting with R
I have
or perhaps load it into a spreadsheet before you
read it into R.
I tried the method from the link arun provided and it did not work. It looks
like the headers and data are not consistant
John Kane
Kingston ON Canada
-Original Message-
From: herrdittm...@yahoo.co.uk
Sent: Fri, 21 Dec
And yet another way.
library(reshape2)
names(Dat1) - c(big,small,nums)
dcast(Dat1 , big ~ small, sum)
John Kane
Kingston ON Canada
-Original Message-
From: bogaso.christo...@gmail.com
Sent: Tue, 18 Dec 2012 20:06:42 +0530
To: r-help@r-project.org
Subject: [R] Summarizing
. Usually,
dput(head(testfile, 100)) will be sufficient.
John Kane
Kingston ON Canada
-Original Message-
From: waggyma...@yahoo.com
Sent: Sun, 16 Dec 2012 23:07:54 -0800 (PST)
To: r-help@r-project.org
Subject: [R] looping through spatial points and getting counts of spatial
points
reshape2_1.2.1 ggplot2_0.9.3
loaded via a namespace (and not attached):
[1] colorspace_1.2-0 dichromat_1.2-4 digest_0.6.0 gtable_0.1.2
labeling_0.1
[6] MASS_7.3-22 munsell_0.4 proto_0.3-9.2tools_2.15.2
John Kane
Kingston ON Canada
-Original
http://cran.r-project.org/doc/manuals/R-data.html
John Kane
Kingston ON Canada
-Original Message-
From: nicome...@gmail.com
Sent: Mon, 3 Dec 2012 13:59:18 +0100
To: r-help@r-project.org
Subject: [R] xlsx file read in R
Dear all,
How can I read .xlsx files in R
Regards Nico
Are you basically asking for all possible permutations of the table? If so see
?permn in the combinat package.
John Kane
Kingston ON Canada
-Original Message-
From: bogaso.christo...@gmail.com
Sent: Sat, 01 Dec 2012 18:10:15 +0545
To: r-help@r-project.org
Subject: [R] Getting all
One way, using the plyr package would be:
library(plyr)
dcast(base, p ~ q)
John Kane
Kingston ON Canada
-Original Message-
From: ce.kay...@yahoo.fr
Sent: Sat, 1 Dec 2012 04:37:02 -0800 (PST)
To: r-help@r-project.org
Subject: [R] How to built a pivot table of value
Hi R
R can usually do almost anything but if the function exists I am not aware of
it. Sorry. I did misunderstand what you were doing.
John Kane
Kingston ON Canada
-Original Message-
From: bogaso.christo...@gmail.com
Sent: Sat, 01 Dec 2012 19:33:09 +0545
To: jrkrid...@inbox.com
Blast, you're right. I tend to load both at the same time and confused the two.
It should be reshape2
John Kane
Kingston ON Canada
-Original Message-
From: b...@xs4all.nl
Sent: Sat, 1 Dec 2012 15:20:13 +0100
To: jrkrid...@inbox.com
Subject: Re: [R] How to built a pivot table
I think this does it.
require(reshape2)
df1 - melt(DF, id=month)
ggplot(df1, aes(x = month, y = value, fill = variable)) +
theme_bw() +
geom_bar(stat = identity) +
coord_polar()
John Kane
Kingston ON Canada
-Original Message-
From: henry.helsi...@gmail.com
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
John Kane
Kingston ON Canada
-Original Message-
From: dtustud...@hotmail.com
Sent: Wed, 28 Nov 2012 18:38:46 -0700
To: michael.weyla...@gmail.com
Subject: Re: [R] error, R commends cannot show
a specific
question.
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
John Kane
Kingston ON Canada
-Original Message-
From: linda_...@hotmail.co.uk
Sent: Wed, 28 Nov 2012 08:49:42 -0800 (PST)
To: r-help@r-project.org
Subject: Re: [R] Order
in the list can be found at
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
John Kane
Kingston ON Canada
-Original Message-
From: kath.re...@gmail.com
Sent: Wed, 28 Nov 2012 13:13:32 +0100
To: r-help@r-project.org
Subject: [R] output data
for comparison.
Thank you to all you
Cheers,
Angelo
2012/11/27 John Kane [via R] ml-node+s789695n4651040...@n4.nabble.com
I am currently getting the very strange results that if I paste your
orginal data from your first message into my R terminal I get the same
errors you do
I'd just create a vector of
appropriate length and cbind it to the data frame or whatever.
John Kane
Kingston ON Canada
-Original Message-
From: linda_...@hotmail.co.uk
Sent: Tue, 27 Nov 2012 12:47:15 -0800 (PST)
To: r-help@r-project.org
Subject: [R] Order function
I have a set
It works for me. See
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
for some suggestions on how to report the problem in more detail.
Your sessionInfo() is probably an absolute necessity here.
Good luck
John Kane
Kingston ON Canada
-Original
No idea. It seems fine to me.
Perhaps a bit more information would be useful expecially your sessionInfo()
See
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
for some suggestions on forming questions.
John Kane
Kingston ON Canada
-Original
or
read.csv.
I'm sorry that I cannot be of more help. Perhaps one of the R gurus can
comment on the possible buffer problem.
John Kane
Kingston ON Canada
-Original Message-
From: angelo...@gmail.com
Sent: Tue, 27 Nov 2012 07:04:13 -0800 (PST)
To: r-help@r-project.org
Subject: Re: [R] R
Have a look at ?merge
John Kane
Kingston ON Canada
-Original Message-
From: steven.ran...@gmail.com
Sent: Tue, 27 Nov 2012 15:17:58 -0700
To: r-help@r-project.org
Subject: [R] Finding values in one column and
All -
I have a data frame
data.a
IDvalueA valueB
6 12
Come to think of it the plyr package and the data.table packages also offer
similar tools. For large merges (joins) I think the data.table package is much
faster.
John Kane
Kingston ON Canada
-Original Message-
From: steven.ran...@gmail.com
Sent: Tue, 27 Nov 2012 15:28:57 -0700
John Kane
Kingston ON Canada
-Original Message-
From: landronim...@gmail.com
Sent: Sun, 25 Nov 2012 15:02:16 +0100
To: jrkrid...@inbox.com
Subject: Re: [R] RExcel, ROOo and LibreOffice inquiry
On Sun, Nov 25, 2012 at 2:38 PM, John Kane jrkrid...@inbox.com wrote:
Can you supply
701 - 800 of 1739 matches
Mail list logo