eplace = TRUE) , dtime
= rep(1:10, each=10))
p <- ggplot(mydata , aes( group, result, fill = side ))+ geom_boxplot() +
facet_wrap(~dtime)
p
John Kane
Kingston ON Canada
> -Original Message-
> From: dysonspher...@gmail.com
> Sent: Tue, 30 O
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
John Kane
Kingston ON Canada
> -Original Message-
> From: cat...@bas.ac.uk
> Sent: Tue, 30 Oct 2012 10:27:29 -0700 (PDT)
> To: r-help@r-project.org
> Subject: [R] box() doesnt work
>
Can you resend the information in plain text? It looks like you sent it in
html format and it is very close to completely unreadable.
John Kane
Kingston ON Canada
> -Original Message-
> From: rut...@hotmail.co.uk
> Sent: Sun, 13 Apr 2014 00:28:43 +
> To: r-help@r
It is an Open Source program and can be used by anyone.
John Kane
Kingston ON Canada
> -Original Message-
> From: juan.bohorq...@ecopetrol.com.co
> Sent: Sat, 24 May 2014 07:57:58 -0500
> To: r-help@r-project.org
> Subject: [R] R License
>
> Hello, I work in the ar
Verena
Do you mean word-sheet or is this a typo for 'work-sheet'?
John Kane
Kingston ON Canada
> -Original Message-
> From: vwein...@gmail.com
> Sent: Sat, 24 May 2014 00:31:44 +0200
> To: r-help@r-project.org
> Subject: [R] How to illustrate data of a
I'd go with the addtable2plot but you can also do bascially the same thing in
ggplot2 (again you have to install the ggplot2 package. Here is an example of
the ggplot2 approach
http://stackoverflow.com/questions/12318120/adding-table-within-the-plotting-region-of-a-ggplot-in-r
John
Aha, someone knowledeable has shown up. Thanks Tim
John Kane
Kingston ON Canada
> -Original Message-
> From: t...@mlhim.org
> Sent: Sat, 24 May 2014 12:23:10 -0300
> To: juan.bohorq...@ecopetrol.com.co
> Subject: Re: [R] R License
>
> On Sat, May 24, 2014 at
No raw data. Sent is as text (csv) or use dput() to include it in the email.
John Kane
Kingston ON Canada
> -Original Message-
> From: schmtz...@yahoo.com
> Sent: Fri, 23 May 2014 08:02:31 -0700 (PDT)
> To: r-help@r-project.org
> Subject: [R] Time Series
>
> Dear
$median+0.65)^5
balloon=ggplot(krdata2,aes(x=X,y=variable))+
geom_point(aes(size=median),shape=21,color="black",fill="lightblue")+
scale_size_area(max_size=40,limits=c(0.6, 2.3),guide="legend",
breaks=waiver(), expand=waiver())
print(balloon)
##
Hi Petr
I think cast() has been dropped from the most recent reshape2 and you need
dcast(data, siteS~species) instead
John Kane
Kingston ON Canada
> -Original Message-
> From: petr.pi...@precheza.cz
> Sent: Tue, 27 May 2014 11:46:13 +
> To: kristi.glo...@hotmail.c
(NA, 2.5, 0, 2.5, 0, 0, -10, 15, -2.7, 0, 0, -5, 5, -2.5, 0, 0, 0,
0, 0, 7.5, -2.5, -5, -10, 15, -7.5, 2.5, -2.5, 2.5, 2.5, -2.5, 0, 2.5, 0, 2.5,
-2.5, 0, 2.5, 0, 0, 0, -2.5, 0, 2.5, -2.5, 2.5, 0, -7.5, 2.5, 0, 0, 0)), .Names
= c("Date", "Inr", "Wdose", "Deld
other sequential sentence.
We have a current case here where three people, already incarcerated, are just
been charged with attempted murder.
John Kane
Kingston ON Canada
> -Original Message-
> From: chri...@med.umich.edu
> Sent: Tue, 10 Jun 2014 19:02:30 +
?mean
You need to read tutorial or two, particularly with reference to indexing.
The CRAN site has any number of useful papers and books that you can download.
John Kane
Kingston ON Canada
> -Original Message-
> From: leonardsqual...@hotmail.com
> Sent: Wed, 11 Jun 2014 12:17
Please have a look at 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
> -Original Message-
> From: zaydfa...@gmail.com
> Sent: Fri, 20 Jun 2
LaTeX.
Odfweave seems to produce good tables in OpenOffice/LibreOffice.
John Kane
Kingston ON Canada
> -Original Message-
> From: barrylamb...@gmail.com
> Sent: Wed, 2 Jul 2014 21:33:12 -0500
> To: r-help@r-project.org
> Subject: [R] Help with tables in R
>
> I
TableAPS1 <- subset(TableAP, year >= 1959) ??
John Kane
Kingston ON Canada
> -Original Message-
> From: iamsta...@gmail.com
> Sent: Wed, 31 Oct 2012 20:19:46 -0700 (PDT)
> To: r-help@r-project.org
> Subject: [R] Subsetting year range
>
> Hi,
>
>
Ah nice. I clearly misunderstood and thought that facet_wrap() made sense.
John Kane
Kingston ON Canada
> -Original Message-
> From: ruipbarra...@sapo.pt
> Sent: Wed, 31 Oct 2012 19:45:33 +
> To: dysonspher...@gmail.com
> Subject: Re: [R] boxplots of various le
In Line
John Kane
Kingston ON Canada
> -Original Message-
> From: bochrist...@web.de
> Sent: Fri, 2 Nov 2012 05:34:48 -0700 (PDT)
> To: r-help@r-project.org
> Subject: Re: [R] Loop over several Variables, add on question
>
> Hey Petr,
>
> thanks for answer
I don't understand what you mean by a header line but does this do the other
two for you?
mydata <- data.frame( 1:5, 21: 25)
mydata
names(mydata) <- c("alph", "louie")
rownames (mydata) <- letters[1:5]
mydata
John Kane
Kingston ON Canada
> -Origi
Perhaps http://www.statmethods.net/ or google for "R for SAS and SPSS users"
John Kane
Kingston ON Canada
> -Original Message-
> From: pmaclean2...@yahoo.com
> Sent: Thu, 8 Nov 2012 07:09:39 -0800 (PST)
> To: r-help@r-project.org
> Subject: Re: [R] Executin
)
signal = c (4, 22, 44, 60, 82, NA)
lm( signal ~ conc)
as does this
conc = c(0, 10, 20, 30, 40, 50)
signal = c (NA, 4, 22, 44, 60, 82)
lm( signal ~ conc)
but they give very different results.
I don't think R has changed someone just make typing mistake.
John Kane
Kingston ON C
lm.r)
I hope this helps.
John Kane
Kingston ON Canada
> -Original Message-
> From: tesara...@gmail.com
> Sent: Fri, 9 Nov 2012 09:36:23 -0800 (PST)
> To: r-help@r-project.org
> Subject: Re: [R] lm function - strange error
>
> Here is the document
>
> http://
;
Pehaps the R-Core developers could consider such an editor? I am sure that I
would sacrifce a sheep or two
John Kane
Kingston ON Canada
>> --
>> View this message in context:
>> http://r.789695.n4.nabble.com/lm-function-strange-error-tp4649065p4649074.html
>>
http://www.statmethods.net/stats/descriptives.html
the psych package seems to do what you wan
set.seed(235)
mydata <- data.frame(aa = rnorm(20), bb = rnorm(20) , cc = rnorm(20))
library(psych)
describe(mydata)
John Kane
Kingston ON Canada
> -Original Message-
> From
> -Original Message-
> From: sarah.gos...@gmail.com
> Sent: Fri, 9 Nov 2012 14:34:57 -0500
> To: jrkrid...@inbox.com
> Subject: Re: [R] lm function - strange error
>
> On Fri, Nov 9, 2012 at 2:20 PM, John Kane wrote:
>>
>>> -Original Message--
onc)
summary(lm.r)
conc = c(0,10, 20, 30, 40, 50)
signal = c (4, 22, 44, 60, 82, NA)
lm.r <- lm( signal ~ conc)
summary(lm.r)
John Kane
Kingston ON Canada
-Original Message-
From: askib...@gmail.com
Sent: Fri, 9 Nov 2012 20:35:05 +0100
To: jrkrid...@inb
1, id=c("year"))
p <- ggplot(dat2, aes(year, value, colour = variable )) + geom_line()
p
John Kane
Kingston ON Canada
> -Original Message-
> From: catalinro...@gmail.com
> Sent: Sun, 11 Nov 2012 13:41:15 +0200
> To: r-help@r-project.org
> Subject: [R]
sets, you can
just supply a representative sample. Usually,
dput(head(testfile, 100)) will be sufficient.
John Kane
Kingston ON Canada
> -Original Message-
> From: kay.lue...@uni-rostock.de
> Sent: Mon, 12 Nov 2012 09:01:40 -0800 (PST)
> To: r-help@r-project.org
&
Not a specific answer to your question but have you seen
www.et.bs.ehu.es/~etptupaf/pub/R/RforSAS&SPSSusers.pdf. If you are just
starting to use R it is a very handy reference on the differences and
similarities among the packages.
John Kane
Kingston ON Canada
> -Original
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
John Kane
Kingston ON Canada
> -Original Message-
> From: peter.kup...@me.com
> Sent: Fri, 16 Nov 2012 15:04:31 +0100
> To: r-help@r-project.org
> Subject: [R] Deleting rows with sp
thanks
John Kane
Kingston ON Canada
> -Original Message-
> From: peter.kup...@me.com
> Sent: Fri, 16 Nov 2012 15:32:23 +0100
> To: sarah.gos...@gmail.com
> Subject: Re: [R] Deleting rows with special character
>
> Hey Sara,
> first: Thanks for the fast re
?aggregate will do it.
x <- data.frame( height= c(50, 174, 145, 200, 210, 140, 175),
age_group=c(1,2,2,1,1,2,1),
ville= c(1,2,3,1,2,3,1))
aggregate(x$height,list(x$age_group, x$ville), mean)
or have a look at the plyr or datatable packages.
John Kane
Kingston ON Can
i think we need some sample data.
I would not have thought that you could calculate the percentage of a
categorical data so perhaps a simple example of what you are doing would help.
John Kane
Kingston ON Canada
> -Original Message-
> From: rosario.scandu...@gmail.com
>
is this link of any use?
http://www.inside-r.org/packages/cran/fmsb/docs/radarchart
John Kane
Kingston ON Canada
> -Original Message-
> From: baronov...@bam.org
> Sent: Wed, 21 Nov 2012 12:09:38 -0500
> To: r-help@r-project.org
> Subject: Re: [R] Spider Graph
>
>
Save the file as a csv file and try something like this:
mydata <- read.csv(".csv", header = FALSE)
John Kane
Kingston ON Canada
> -Original Message-
> From: claudio.dilor...@carloalberto.org
> Sent: Sun, 25 Nov 2012 03:29:42 -0800 (PST)
> To: r-hel
Can you supply a link for ROOo ? I don't see it anywhere.
Also what do you mean" OpenOffice is deprecated"? Do you mean in terms of
using it with ROOo? Otherwide OOo, now under new management at Apache is
under active development under the name Apache Open Office.
John K
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 wrote:
>
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
> -Origi
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
> -Origi
import it using read.table 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 (P
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
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
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:
it might be worth asking it on their
website and see if they have any suggestions about limits or if it is a
peculiarity of your setup.
Here's my sessionInfo for comparison.
>
> Thank you to all you
> Cheers,
> Angelo
>
>
> 2012/11/27 John Kane [via R]
>
>>
case 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] O
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
ave 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
> Su
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 Messag
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
&
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
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.
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
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
-5 gridExtra_0.9.1
stringr_0.6.2
[6] scales_0.2.3 plyr_1.8 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-
ive sample. 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
53U"
machine
login
"i686"
"unknown"
user
effective_us
a year as I like
LyX/knitr better but I recommended that an AOO user try it and figured I should
at least be able to answer a few simple questions.
John Kane
Kingston ON Canada
> -Original Message-
> From: murdoch.dun...@gmail.com
> Sent: Tue, 17 Dec 2013 10:26:01 -05
Thanks. As you will see from my reply I misread the manual and it shoud have
been results = xml and I had tried XML.
And result = 'asis' works too. I had thought it was unique to knitr and never
thought to try it.
Thanks
John Kane
Kingston ON Canada
> -Original Messag
-r-reproducible-example
To answer your question probably you want to have a look a "mfcol" or "mfrow"
under ?par.
John Kane
Kingston ON Canada
> -Original Message-
> From: mbhpat...@gmail.com
> Sent: Tue, 17 Dec 2013 09:33:30 -0800
> To: r-help@r-project
The structure of
the data is more important than the values.
Please use dput() (see ?dput for information) to supply the data. Just do :
dput(mydata) and then paste the result into the email.
John Kane
Kingston ON Canada
> -Original Message-
> From: silv...@uel.br
> Sent: Fri,
Nominate for a fortune.
John Kane
Kingston ON Canada
> -Original Message-
> From: jdnew...@dcn.davis.ca.us
You seem to be falling prey to a common misconception that "R" is some
monolithic tool, when in fact it i
paste(xx,",", sep = "") but this coerces the vector to a character vector.
John Kane
Kingston ON Canada
> -Original Message-
> From: elham_h...@yahoo.com
> Sent: Sun, 22 Dec 2013 07:40:21 -0800 (PST)
> To: r-help@r-project.org
> Subject: [R] How do
I still
cannot get it to work. It is almost as if there is some hidden character in the
in that piece of code since I can duplicate the code myself and I even pasted
in most of the geom_histogram code into my code chunk and it runs.
John Kane
Kingston ON Canada
> -Original
"(or whatever the keyboard analogue of that may be) "
Hands clasped? Fingers interlaced?
John Kane
Kingston ON Canada
> -Original Message-
> From: ted.hard...@wlandres.net
> Sent: Sun, 22 Dec 2013 18:37:18 - (GMT)
> To: r-help@r-project.org
> Subject: R
.
It also provides this warning: : Latex Warning; Reference 'fig:plot-figheight'
undefined on page 2 on input line 14.
It seems to repeat the same message for each of the other figures.
John Kane
Kingston ON Canada
> -Original Message-
> From: dulca...@bigpond.com
> Sen
Does not seem to be. I 'think' I removed all the line breaks and it still is
not compiling. Thanks for the suggestion. I had not bothered to paste the
<<>>= text into RStudio and since TexMaker has an automatic wrap, I would never
have noticed it.
John K
h = 1, colour = "black", fill = "white")")
Results
Error: unexpected symbol in:
"showNonASCII("ggplot(df, aes(x = x)) + geom_histogram(aes(y = ..density..)),
binwidth = 1, colour = "black"
John Kane
Kingston ON Canada
> -Original Message
est idea of what the example from
the help page is doing.
John Kane
Kingston ON Canada
> -Original Message-
> From: murdoch.dun...@gmail.com
> Sent: Mon, 23 Dec 2013 12:51:43 -0500
> To: jrkrid...@inbox.com, r...@temple.edu
> Subject: Re: [R] Knitr, ggplot and consistent f
Thanks, I was not getting anything when I printed the x and so thought I was
doing something wrong. Instead I just didn't seem to have a non-ASCII
character.
John Kane
Kingston ON Canada
> -Original Message-
> From: murdoch.dun...@gmail.com
> Sent: Mon, 23 Dec 2013
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
No data. The list strips off most files. If you want to send data give the
file a .txt suffix but it is much better to supply the output of dput() .
John Kane
Kingston ON Canada
> -Original Mess
U", "SA", "SE", "SG", "TC", "TH", "TT", "TW", "TZ", "US",
"ZA"), class = "factor"), val = c(0, 3, 0, 2, 1, 31, 4, 1, 1,
1, 45, 1, 1, 4, 5, 86, 3, 1, 8, 1, 2, 1, 8, 2, 1, 2, 4, 2, 4,
35,
tat = "identity", colour = "blue", fill = 'red', position =
"dodge") +
coord_flip()
It''s not very pretty but it may give you a start. BTW I see that some
countries (GB, CA, Au amongst others) have multiple entries. Does this make
sense or shou
No data. R-help strips most attacments though txt and pdf will usually get
through.
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 Mess
I'm pretty sure that what you have is not what you think you have.
Do a str(Elder1) on the data set and you will see that age is a factor not a
numerical variable. Bascally you have a mangled data set from the look of it.
Why would you want to change NA's to 0's?
John Kane
Kin
Personally I just create a csv file using write.csv() and then read the text
file into the spreadsheet if needed. To be fancier have a look at the xlsx
package.
BTW there is no 'state' variable in your data.frame.
John Kane
Kingston ON Canada
> -Original Message-
> Fr
Not exactly the order you specified but otherwise I think this works.
library(plyr)
d <- data.frame(Stock, Soil, Nitrogen, Respiration)
ddply(d, .(Soil, Stock), summarize, mean(Nitrogen), mean(Respiration))
John Kane
Kingston ON Canada
> -Original Message-
> From:
Not enough information. Have a look at these links for some suggestions on how
to ask a question on R-help.
John Kane
Kingston ON Canada
> -Original Message-
> From: azadbiost...@gmail.com
> Sent: Sat, 1 Feb 2014 18:37:00 -0800
> To: r-help@r-project.org
> Subject:
https://github.com/hadley/devtools/wiki/Reproducibility
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
We need some explanation of what " the expected value" is. A mean perhaps?
John Kane
Kingston ON Canada
> -Original Messag
I don't quite understand what you are looking for. I originally thought that a
simple subset would do it but I don't understand the selection criteria are for
the output data file.s
Original idea:
want <- subset(dat1, dat1$var =="y")
John Kane
Kingston ON Canada
first <- subset(dat1, dat1$var <=1960)
Reverse inequality for the other one.
Hints on how to ask questions on R-help
https://github.com/hadley/devtools/wiki/Reproducibility
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
John Kane
Kingston ON
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: ma_rw...@yahoo.com
> Sent: Sat, 8 Feb 2014 06:40:18 -0800 (PST)
>
Here, here.
John Kane
Kingston ON Canada
> -Original Message-
> From: 538...@gmail.com
> Sent: Wed, 26 Feb 2014 10:07:12 -0700
> To: j...@mail.bitwrit.com.au, achim.zeil...@r-project.org
> Subject: Re: [R] Plots with Y axis split into two scales
>
> I nominate
In line
John Kane
Kingston ON Canada
> -Original Message-
> From: pavnee...@yahoo.co.uk
> Sent: Tue, 18 Mar 2014 10:10:38 +
> To: r-help@r-project.org
> Subject: [R] Fwd: R basic data manipulation Queries
>
>
>
>
>
>
> Sent from Samsung M
' not found
dat1[order(dat1[,2]), ] # Works just fine.
John Kane
Kingston ON Canada
Publish your photos in seconds for FREE
TRY IM TOOLPACK at http://www.imtoolpack.com/default.aspx?rc=if4
__
I "knew" it was almost certainly something really stupid.
Thanks very much.
John Kane
Kingston ON Canada
> -Original Message-
> From: sarah.gos...@gmail.com
> Sent: Tue, 25 Mar 2014 14:40:50 -0400
> To: jrkrid...@inbox.com
> Subject: Re: [R] Syntax for ord
Thank.
Once I got Sarah's email I realised I should have been usling with(). Hadley's
ggplot syntax has spoiled/confused me.
John Kane
Kingston ON Canada
> -Original Message-
> From: seeliger.c...@epa.gov
> Sent: Tue, 25 Mar 2014 19:02:22 +
> To: r-help
Okay I feel spoilt all over again. :)
John Kane
Kingston ON Canada
> -Original Message-
> From: h.wick...@gmail.com
> Sent: Tue, 25 Mar 2014 14:24:00 -0500
> To: jrkrid...@inbox.com
> Subject: Re: [R] Syntax for order()
>
> If you want to continue to be spoil
-td3009882.html
x<-rnorm(100)
hist(x,axes=F,font.lab=12,font.main=9)
axis(1,font.axis=4)
axis(2,font.axis=3)
John Kane
Kingston ON Canada
> -Original Message-
> From: ahmedati...@gmail.com
> Sent: Tue, 17 Sep 2013 11:23:02 -0500
> To: r-help@r-project.org
> Subject: [R]
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
John Kane
Kingston ON Canada
> -Original Message-
> From: algara...@gmail.com
> Sent: Wed, 18 Sep 2013 10:06:23 +0800
> To: r-help@r-project.org
> Subject: [R] (no subject)
>
> Go
Does this questions help
http://stackoverflow.com/questions/1478532/changing-shapes-used-for-scale-shape-in-ggplot2
?
It looks like it does but I don't have time at the moment to work it out with
your code.
Good luck
John Kane
Kingston ON Canada
> -Original Message
Once you learn to use dput() I am sure someone will be happy to help you.
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
John Kane
Kingston ON Canada
> -Original Message-
> From: elaine.kuo...@gmail.com
> Sent: Sat, 21 Sep 2013 07:14
Depending on what your doing perhaps with() could help?
Or assuming a data.frame or matrix, score[ , 25] will give you Score$X25
If you would supply a bit more information (and code) about what you are doing
we probably can help more.
John Kane
Kingston ON Canada
> -Original Mess
Definitely a Fortune.
John Kane
Kingston ON Canada
> -Original Message-
> From: rai...@krugs.de
> Sent: Thu, 26 Sep 2013 11:30:27 +0200
> To: r-h...@stat.math.ethz.ch
> Subject: Re: [R] Why does sin(pi) not return 0?
>
> (Ted Harding) writes:
>
>> On 26
John Kane
Kingston ON Canada
-Original Message-
From: atta_...@yahoo.com
Sent: Wed, 25 Sep 2013 23:16:48 -0700 (PDT)
To: jrkrid...@inbox.com
Subject: Re: [R] request for help in R
hi,
i have data for 15 gauging stations of different rivers and for monthly
maxmimum flows data, i want to
(NA, -9L), class = "data.frame")
mdat <- melt(dat1, id.var = "bugs") # reshape data using the rehape2 command
melt
names(mdat) <- c("Invertibrate", "park", "Count")
ggplot(mdat, aes(Invertibrate, Count, fill = park)) +
geom_bar(stat=&qu
Assuming you want to read in data from an AOO or LO spreadsheet, have a look at
the gnumeric package. I have only used it once or twice but it seems to work
well and is quite flexible.
John Kane
Kingston ON Canada
> -Original Message-
> From: pmaclean2...@yahoo.com
> Sent: T
Well you logged the x and y values before plotting but did not log the lm(). I
think this means you have plotted abline() off the scale.
I'm not sure how to fix it though.
John Kane
Kingston ON Canada
> -Original Message-
> From: hans_han...@gmx.de
> Sent: Fri, 4 Oct
X[,names(X)[4]] works fine for me. I had never thought of doing this. Neat
idea.
John Kane
Kingston ON Canada
> -Original Message-
> From: jimmycl...@gmail.com
> Sent: Fri, 4 Oct 2013 12:06:50 -0400
> To: r-help@r-project.org
> Subject: [R] quote a column of a datafr
Do you have the correct fonts installed on Windows?
John Kane
Kingston ON Canada
> -Original Message-
> From: cels...@163.com
> Sent: Wed, 2 Oct 2013 23:51:58 +0800 (CST)
> To: r-help@r-project.org
> Subject: [R] Drawing garbled
>
> Hi:
>I am Chinese
+1
John Kane
Kingston ON Canada
> -Original Message-
> From: j...@bitwrit.com.au
> Sent: Sat, 05 Oct 2013 17:16:35 +1000
> To: r-help@r-project.org
> Subject: Re: [R] Interpreting the result of a Wilcoxon (Mann-Whitney U)
> test
>
> On 10/04/2013 1
901 - 1000 of 1800 matches
Mail list logo