It occurs to me a simple table command will do what you say you want but I
suspect the real analysis is more complicated
dat1 <- data.frame(aa = sample(letters[1:5], 10, replace = TRUE),
bb = 1:10)
table(dat1$aa)
On Tue, 21 Jul 2020 at 14:01, John Kane wrote:
> As Ber
gt; 0, 0, 0, 1, 0, 0, 0, 0, 0), TSHS_30R = c(0, 0, 0, 0, 0, 0, 0,
>
> 0, 0, 0), TSHS_31R = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0), TSHS_32R = c(0,
>
> 0, 0, 0, 0, 0, 0, 0, 0, 0), TSHS_33R = c(0, 0, 0, 0, 0, 0, 0,
>
> 0, 0, 0)), row.names = c(NA, -10L), class = c("tbl_df", &q
roject.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
John Kane
Kingston ON Canada
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
ot possible without using one of those two packages? I got the
> impression I should be able to use grid.arrange to do so but was not able
> to get it to work without disturbing the width alignment above...
>
> __
> R-help@r-project
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
John Kane
Kingston ON Canada
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list -- To UNSUBS
elp@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
John Kane
King
I think we need to see some of the original data. See ?dput for how to supply
data in a email.
We probably don't need all the data, I'd suggest perhaps 100 rows or so. Try
dput(head(yourdata, 100))
BTW what is "last"?
John Kane
Kingston ON Canada
> -Origi
27;t know if it would be useful or not without seeing it. Generally seeing
the original data is helpful as is seeing your basic code.
Have a look at one or the other of these for some suggestions on writing to the
R-help list
https://github.com/hadley/devtools/wiki/Reproducibility
http://sta
You might want to have a look at the xtable package
John Kane
Kingston ON Canada
> -Original Message-
> From: ac...@le.ac.uk
> Sent: Fri, 5 Jul 2013 03:44:02 -0700 (PDT)
> To: r-help@r-project.org
> Subject: [R] save rds as text
>
> I created a table like t
John Kane
Kingston ON Canada
-Original Message-
From: y_re...@hotmail.com
Sent: Fri, 5 Jul 2013 13:35:32 +
To: jrkrid...@inbox.com, rolf.tur...@xtra.co.nz, jdnew...@dcn.davis.ca.us
Subject: RE: [R] Data Package Query
Hello,
When I run the below syntax:
Trial<-read.table("T
https://github.com/hadley/devtools/wiki/Reproducibility
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
John Kane
Kingston ON Canada
> -Original Message-
> From: jia2...@citi.com
> Sent: Mon, 8 Jul 2013 12:45:03 +
> To: r-help@r
It looks like you can if I understand properly. Try this
dat1 <- data.frame(dat1$scores)
dat1$items <- rownames(data1)
ggplot(dat1, aes(Comp.1, Comp.2, colour = items)) + geom_point() +
theme(legend.position="none")
John Kane
Kingston ON Canada
> -Original Mes
, colour = items)) + geom_point() +
theme(legend.position="none")
A quick look suggests that this is roughly the same plot as in the example Fig
4 but there the author is using geom_segment to add the lines but I have not
looked at it all that carefully.
John Kane
Kingston O
then copy and paste the results into your
email.
So for file "dat1" one would just use dput(dat1) and paste the results into an
email.
John Kane
Kingston ON Canada
> -Original Message-
> From: hdo...@air.org
> Sent: Thu, 11 Jul 2013 09:53:40 +
> To: r-help@r
Not sure why the problem. I think I'd need see your actual data and give it a
try. If you want to supply your data or a sample of it see ?dput for a
convenient way to do so.
I see thought that you've found a dedicated ggplot biplot so if may not be
worth your while.
John Kane
K
ode.
>
> -Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
> On Behalf Of Doran, Harold
> Sent: Thursday, July 11, 2013 11:36 AM
> To: 'John Kane'; r-help@r-project.org
> Cc: dmba...@gmail.com; maech...@stat.math.eth
We really need to see the data, I think.
You can use the function dput(), see ?dput
dput(filename) will give you a formatted output that you can just copy and
paste into an e-mail. An R-help reader can just copy and paste that into R and
have an exact copy of your data set.
John Kane
No idea what I happening but does this give what you expect
library(gridExtra)
preds <- grid.arrange(pred1_plot,pred2_plot, pred3_plot, ncol=3)
preds
John Kane
Kingston ON Canada
> -Original Message-
> From: stev0...@gmail.com
> Sent: Fri, 19 Jul 2013 22:18:47 -0500
&g
Taking Berend's example a bit further, this seems to work
If you use str(b) you will see it is a list
b <- rle(a)
cc <- data.frame(b[[1]], b[[2]])
names(cc) <- c("leng", 'val')
dd <- subset(cc, val ==TRUE )
table(dd)
John Kane
Kingston ON Canada
>
TRUE
213 TRUE
233 TRUE
251 TRUE
273 TRUE
291 TRUE
John Kane
Kingston ON Canada
> -Original Message-
> From: tmrs...@gmail.com
> Sent: Sat, 20 Jul 2013 13:11:47 -0400
> To: jrkrid...@inbox.com
> Subject: Re: [R] How to search for a sequence(and its comb
My best guess it that you have something like 1 123123 in there somewhere
try:
which(cc[,1] == 6)
and have a look at line 137
Essentially your data does not look exactly like what you think it does.
John Kane
Kingston ON Canada
> -Original Message-
> From: tmrs...@gmail.com
ake-a-great-r-reproducible-example
John Kane
Kingston ON Canada
> -Original Message-
> From: teresama...@hotmail.com
> Sent: Mon, 22 Jul 2013 09:11:32 +
> To: r-help@r-project.org
> Subject: Re: [R] HELP R
>
>
>
>
>
>
>
>
> Hi, I did
and paste the results into the mail.
John Kane
Kingston ON Canada
> -Original Message-
> From: gallr...@psychologie.tu-dresden.de
> Sent: Wed, 24 Jul 2013 12:25:35 +0200
> To: r-help@r-project.org
> Subject: [R] Function, that assigns two vectors to each other
>
>
Please use dput() to supply data and send in text format not html.
Thanks
John Kane
Kingston ON Canada
> -Original Message-
> From: mrahmankuf...@gmail.com
> Sent: Wed, 24 Jul 2013 19:00:42 +0800
> To: r-help@r-project.org, r-help-requ...@r-project.org,
> r-help-ow..
but there is a link to the author's code. And it's a fun read.
http://kieranhealy.org/blog/archives/2013/06/09/using-metadata-to-find-paul-revere/
John Kane
Kingston ON Canada
> -Original Message-
> From: sundas.java...@imperial.ac.uk
> Sent: Wed, 24 Jul 2013 10:18:03 +
y because 'list' has a special
meaning in R and I don't think that is what you mean. if it is, my appologies.
Perhaps have a look at
https://github.com/hadley/devtools/wiki/Reproducibility
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
mp;ei=MfHzUej7FoSergG1_ICYAw&usg=AFQjCNH2b72a6un_xAM-PYxC-sUGU8-xOw&sig2=iBIrl1uhIsJXmPbAh4kUbw&bvm=bv.49784469,d.aWM
You may be able to use two smooth statements to do what you want.
John Kane
Kingston ON Canada
> -Original Message-
> From: ye...@lbl.gov
> Sent: Fri, 26 Jul 201
If I read this correctly:
mydates <- as.Date(c("2007-06-22", "2007-05-21", "2004-04-13",
"2004-03-11","2004-02-13"))
xx <- min(mydates)
yy <- max(mydates)
yy-xx
John Kane
Kingston ON Canada
> -Original Message-
> Fro
https://github.com/hadley/devtools/wiki/Reproducibility
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
John Kane
Kingston ON Canada
> -Original Message-
> From: dominic.r...@gmail.com
> Sent: Tue, 30 Jul 2013 15:41:46 +0200
>
Who knows? You have not told us what you are actually doing.
https://github.com/hadley/devtools/wiki/Reproducibility
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
John Kane
Kingston ON Canada
> -Original Message-
> From: lcmail4li...@gma
geom_dotplot() in the ggplot2 package perhaps?
ggplot(mtcars, aes(x = mpg)) + geom_dotplot()
John Kane
Kingston ON Canada
> -Original Message-
> From: dwarnol...@suddenlink.net
> Sent: Mon, 29 Jul 2013 23:21:26 -0700 (PDT)
> To: r-help@r-project.org
> Subject: [R] Dot
We need to know what you actually are doing before we can suggest anything.
Have a look at these links :
https://github.com/hadley/devtools/wiki/Reproducibility
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
John Kane
Kingston ON Canada
> -Origi
eat-r-reproducible-example
for some suggetions on asking questions and code formatting.
John Kane
Kingston ON Canada
> -Original Message-
> From: debrui...@gmail.com
> Sent: Wed, 31 Jul 2013 16:57:55 +0200
> To: r-help@r-project.org
> Subject: [R] Highlight selected bar in
There is a problem with your example data set. "Series" has only one value so
there is no faceting. Also you refer to "trim.index$Rate" . Where is it coming
from or is trim.index just another name for "thing"
John Kane
Kingston ON Canada
> -Original
No attachments came through. Either include the code and the data in the
email---see ?dupt for a way to include the data or include the files as .txt
files.
John Kane
Kingston ON Canada
> -Original Message-
> From: wngich...@gmail.com
> Sent: Fri, 2 Aug 2013 10:45:33 +020
https://stat.ethz.ch/mailman/listinfo/r-help
Scroll down
John Kane
Kingston ON Canada
> -Original Message-
> From: judahscep...@gmail.com
> Sent: Sat, 3 Aug 2013 15:32:22 +0100
> To: r-h...@stat.math.ethz.ch
> Subject: [R] Junk mail
>
> Please remove my my e
I tried it in French and there a few hiccups but it's not too bad.
Personally I'd like to see the help tranlated into English too.l
John Kane
Kingston ON Canada
> -Original Message-
> From: j...@bitwrit.com.au
> Sent: Sun, 04 Aug 2013 10:28:42 +1000
> To: tomas.g
a bit more information. See
https://github.com/hadley/devtools/wiki/Reproducibility and/or
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
for some suggestions on crafting a question for the list.
John Kane
Kingston ON Canada
> -Original Mess
In Line
John Kane
Kingston ON Canada
> -Original Message-
> From: i...@software-solutions.nl
> Sent: Mon, 5 Aug 2013 06:57:30 -0700 (PDT)
> To: r-help@r-project.org
> Subject: [R] Retreiving correct data from combining two datasets
>
> Hi all,
>
> I have t
No you don't need another format. read.table is the same on any operating
system.
What is your actual command and what error messages if any?
It may be a path problem.
John Kane
Kingston ON Canada
> -Original Message-
> From: clemence.germa...@gmail.com
> Sent: Mon, 5
I think we would need to see the odt file. You might want to upload it to
some place like www.mediafire.com or www.dropbox.com so that R-help readers
can take a look at it.
John Kane
Kingston ON Canada
> -Original Message-
> From: cougar...@hotmail.com
> Sent: Tue, 6 Au
Really a question for RStudio support and I don't know if this is still true
http://support.rstudio.org/help/discussions/questions/724-console-line-limit
but I'd also suggest just using sink() and viewing the results in a text editor
or word processor.
John Kane
Kingston
John Kane
Kingston ON Canada
> -Original Message-
> From: emor...@usgs.gov
> Sent: Wed, 21 Aug 2013 06:50:07 -0700
> To: r-help@r-project.org
> Subject: [R] Narrowing values collected from .txt file
>
> useRs-
>
> The output generated from a groundwater mo
Your data arrived but no code. The R help list is fussy about what type of
files you can attache.
For an alternative approach have a look at
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
John Kane
Kingston ON Canada
> -Original Mess
am wrong, and I think I am, would you explain the problem a bit more,
perhaps with some small data vectors?
John Kane
Kingston ON Canada
> -Original Message-
> From: balguillaume2...@gmail.com
> Sent: Fri, 23 Aug 2013 14:37:26 -0700
> To: r-help@r-project.org
> Subject: [R]
I am misreading something here I think. Why are you graphing against a constant?
John Kane
Kingston ON Canada
> -Original Message-
> From: mohan.radhakrish...@polarisft.com
> Sent: Tue, 27 Aug 2013 13:28:48 +0530
> To: r-help@r-project.org
> Subject: [R] Scale of axis fo
have read about double-axis graphs
is rather negative. However, I know they are standard in some disciplines.
John Kane
Kingston ON Canada
-Original Message-
From: mohan.radhakrish...@polarisft.com
Sent: Tue, 27 Aug 2013 17:08:51 +0530
To: jrkrid...@inbox.com
Subject: RE: [R] Scale of ax
names(mydatat) <- c("V1","V2","V3")
For future reference
https://github.com/hadley/devtools/wiki/Reproducibility and/or
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
John Kane
Kingston ON Canada
> ---
If I understand you correctly just import the data into R as a data.frame and
then use the unlist() command.
John Kane
Kingston ON Canada
> -Original Message-
> From: mban...@partners.org
> Sent: Mon, 26 Aug 2013 09:06:12 -0700 (PDT)
> To: r-help@r-project.org
> Subje
raphs one on top of the
other , with the top graph having the 'higher' values. However it is a
judgement call and also dependent on the discipline.
Anyway see the quick and dirty attempt attached to see what I am suggesting.
John Kane
Kingston ON Canada
-Original Me
Jim,
With those ranges isn't Mohan going to lose discrimination? That's one reason
I suggested a two-panel approach.
John Kane
Kingston ON Canada
> -Original Message-
> From: j...@bitwrit.com.au
> Sent: Tue, 27 Aug 2013 22:36:12 +1000
> To: mohan.radhakrish...@p
could be a long
night/week.
Good luck.
John Kane
Kingston ON Canada
-Original Message-
From: mohan.radhakrish...@polarisft.com
Sent: Tue, 27 Aug 2013 18:21:45 +0530
To: jrkrid...@inbox.com
Subject: RE: [R] Scale of axis for two data sets
Thanks. There is one more idea from Jim Lemon whic
with data named dat1
match(2, dat1$samp.depth)
John Kane
Kingston ON Canada
> -Original Message-
> From: catalinro...@gmail.com
> Sent: Tue, 27 Aug 2013 20:24:04 +0300
> To: r-help@r-project.org
> Subject: [R] find row name with specific value
>
> Hello all!
>
Well I don't see anything that looks like a year but go from this
dat1[match(2, dat1$samp.depth),] and pick off what you want I guess
John Kane
Kingston ON Canada
-Original Message-
From: catalinro...@gmail.com
Sent: Tue, 27 Aug 2013 20:46:27 +0300
To: jrkrid...@inbox.com
Subjec
fortune but it's going into my
collection of quotes.
John Kane
Kingston ON Canada
FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on your
desktop!
__
Looks like school is starting up again.
We don't usually help with homework especially at this level. Read a text book
John Kane
Kingston ON Canada
> -Original Message-
> From: bal.chan...@gmail.com
> Sent: Thu, 29 Aug 2013 15:57:29 +0530
> To: r-help@r-project.org
&
Please use dput() to supply data. It's a lot easier for readers to just copy
and paste into R.
I have no idea of what variables are associated with the columns below.
John Kane
Kingston ON Canada
> -Original Message-
> From: mohan.radhakrish...@polarisft.com
> Sent: Th
sstat/
Good luck.
Oh and R is much nicer than SPSS. Come join us.
John Kane
Kingston ON Canada
> -Original Message-
> From: joanasco...@hotmail.com
> Sent: Fri, 30 Aug 2013 14:27:37 +0100
> To: r-help@r-project.org
> Subject: [R] (no subject)
>
> good afternoon
Maybe there is some built-in assumption about dating and when to change to the
new century. It seems to kick-in at 1968
as.Date("25/04/69", "%d/%m/%y")
as.Date("25/04/68", "%d/%m/%y")
as.Date("25/04/60", "%d/%m/%y")
John K
usually a sample amoutnt will do , so dput(head(mydata,
100) for example will supply 100 rows of data.
Below is a example of a data.frame in dput format. Just copy and paste it into
R and you will have a new date.frame
John Kane
Kingston ON Canada
##dput file==
What error messages etc are you getting?
What actual commands are you using?
sessionInfo?
John Kane
Kingston ON Canada
> -Original Message-
> From: prakash.dev-ku...@hp.com
> Sent: Sat, 31 Aug 2013 03:35:37 -0700 (PDT)
> To: r-help@r-project.org
> Subject: [R] Issue w
This is not a mailing list for people's homework.
John Kane
Kingston ON Canada
> -Original Message-
> From: bal.chan...@gmail.com
> Sent: Sat, 31 Aug 2013 12:07:22 +0530
> To: r-help@r-project.org
> Subject: [R] how to generate graphs for multiple regressions
>
The latest release (2013-05-16, Good Sport) R-3.0.1 so perhaps you need to
upgrade to 3.0.1?
John Kane
Kingston ON Canada
> -Original Message-
> From: lucien.blanden...@unine.ch
> Sent: Wed, 4 Sep 2013 15:05:03 +
> To: r-help@r-project.org
> Subject: [R] Problem with
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 +053
cleanup in a text editior 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: herr
asking 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
&
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: id
ace = TRUE),
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 Can
ings very 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
dput(head(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
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
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
> S
about your 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,
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
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
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 probabili
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
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
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 -0
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-proj
>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&quo
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: davi
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
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
>
-3, 150, labels ="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.
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
> Subje
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 ON
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
>
> __
?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
ly need 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
>
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 troub
and
so 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
>
&g
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
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
>
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
> S
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
>
)) 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] introduc
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
>
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,
&
601 - 700 of 1800 matches
Mail list logo