Displaying 20 results from an estimated 9000 matches similar to: "Fwd: Re: Simple Date problems with cbind"
2007 Jan 30
2
Simple Date problems with cbind
I am clearly misunderstanding something about dates
and my reading of the help and RSiteSearch have not
turned up anything.
I have a variable of class "Date" and I want to add
include it in a data.frame. However when do a cbind
the date var is coerced into a numeric.
However when I tried to create a example I also seem
to be doing something wrong as I cannot seem even to
create a
2017 Jul 08
0
Factor vs character in a data.frame vs vector
> On Jul 7, 2017, at 7:03 PM, John Kane <jrkrideau at yahoo.ca> wrote:
>
> Thanks Marc.
> It never occurred to me that I would need a ""stringsAsFactors" expression in a data.frame. I could have sworn I never did before when mocking up some data but clearly I was wrong or there has been a change in R v. 3.4.1 which seems unlikely.
Welcome John.
Going back to
2017 Aug 01
0
One Dimensional Monte Carlo Simulation
Tony,
I?m not sure what exactly you?re trying to do, but you're not really taking advantage of vectorization in your R code. I've tried to clean it up a little. The clamped lognormal is almost always 0 or L? That seems a little odd. You seem to be using the inverse cdf method of drawing samples. That's not necessary in R for standard probability distributions. You may want to do a
2007 Apr 20
0
Fwd: Re: Character coerced to factor and I cannot get it back
--- John Kane <jrkrideau at yahoo.ca> wrote:
> Date: Fri, 20 Apr 2007 10:47:45 -0400 (EDT)
> From: John Kane <jrkrideau at yahoo.ca>
> Subject: Re: [R] Character coerced to factor and I
> cannot get it back
> To: jim holtman <jholtman at gmail.com>
>
> Thanks Jim,
>
> I can live with it as a factor or I will do as you
> suggest. What is bothering
2017 Jul 08
2
Factor vs character in a data.frame vs vector
Thanks Marc. It never occurred to me that I would need a ""stringsAsFactors" expression in a data.frame.? I could have sworn I never did before when mocking up some data but clearly I was wrong or there has been a change in R v. 3.4.1 which seems unlikely.
On Friday, July 7, 2017, 10:37:29 AM EDT, Marc Schwartz <marc_schwartz at me.com> wrote:
> On Jul 7, 2017, at 6:03
2017 Jul 15
2
One Dimensional Monte Carlo Simulation
Further to my email below, I have just realised that I forgot to include the specification of L and R.
Hence, the code needs to include the following additional lines at the start;-
L<-7.5e6
R<-2.5e6
Apologies for any confusion caused!
Best regards,
Tony
> On 12 Jul 2017, at 10:03 AM, HUL-Anthony Egerton <aegerton at huntingtonunderwriting.com> wrote:
>
> I am trying
2007 Apr 19
0
Fwd: RE: Character coerced to factor and I cannot get it back
--- John Kane <jrkrideau at yahoo.ca> wrote:
> Date: Thu, 19 Apr 2007 15:50:36 -0400 (EDT)
> From: John Kane <jrkrideau at yahoo.ca>
> Subject: RE: [R] Character coerced to factor and I
> cannot get it back
> To: Jorge Cornejo-Donoso <jorgecornejo at uach.cl>
>
>
> --- Jorge Cornejo-Donoso <jorgecornejo at uach.cl>
> wrote:
>
> >
2011 Feb 17
0
Fw: RE: Variable length datafile import problem
--- On Thu, 2/17/11, John Kane <jrkrideau at yahoo.ca> wrote:
> From: John Kane <jrkrideau at yahoo.ca>
> Subject: RE: [R] Variable length datafile import problem
> To: "Ingo Reinhold" <ingor at kth.se>
> Received: Thursday, February 17, 2011, 5:54 AM
> Generally most of the gurus are in
> this list.? Hopefully someone will take an interest in
>
2017 Aug 24
1
Pull data from Tally 9.1 to R studio
Hi,
Inline below.
> On Aug 24, 2017, at 5:22 AM, John Kane via R-help <r-help at r-project.org> wrote:
>
>
> IIt might help to read the material at one or both of these links http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
>
<snip>
In this case, had Jagan spent about 30 seconds Googling for the application developer's
2016 Apr 19
0
Indicator Species analysis; trouble with multipatt
Hi Ansley
It looks good to me but I did not run the analysis as I am too lazy to install "indicspecies". The inclusion of the raw data is a great help.
John Kane
Kingston ON Canada
-----Original Message-----
From: daily.puja at gmail.com
Sent: Tue, 19 Apr 2016 08:16:54 -0400
To: jrkrideau at inbox.com
Subject: Re: [R] Indicator Species analysis; trouble with multipatt
Thanks for the
2007 Feb 01
0
Fwd: Re: read.spss and encodings
--- John Kane <jrkrideau at yahoo.ca> wrote:
> Date: Thu, 1 Feb 2007 09:07:11 -0500 (EST)
> From: John Kane <jrkrideau at yahoo.ca>
> Subject: Re: [R] read.spss and encodings
> To: Thomas Friedrichsmeier
> <thomas.friedrichsmeier at ruhr-uni-bochum.de>
>
> Hi Thomas,
>
> I am using R 2.4.1 on WindowsXP and I don't seem to
> be
> having any
2009 Jul 12
0
(no subject)
I have no idea to be honest. I have never used the package, I simply did a search for it. Hopefully a more experienced user can help
--- On Sun, 7/12/09, maram salem <marammagdysalem at yahoo.com> wrote:
> From: maram salem <marammagdysalem at yahoo.com>
> Subject: Re: [R] (no subject)
> To: "John Kane" <jrkrideau at yahoo.ca>
> Received: Sunday, July 12,
2017 Jul 07
0
Factor vs character in a data.frame vs vector
> On Jul 7, 2017, at 6:03 AM, John Kane via R-help <r-help at r-project.org> wrote:
>
> This is not serious problem but I just wonder if someone can explain what is happening.
> The same command within a dataframe is giving me a factor and as a plain vector is giving me a character. It's probably something simple that I have read and forgotten but I thought I'd ask.
2024 Feb 05
1
ggarrange & legend
I'm sorry but that is not a working example.
A working example needs to create the plots being used.
For example, stealing some code from
https://rpkgs.datanovia.com/ggpubr/reference/ggarrange.html
#=================================================================
data <https://rdrr.io/r/utils/data.html>("ToothGrowth")df <-
ToothGrowthdf$dose <- as.factor
2017 Oct 05
0
Adding non-data line to legend ggplot2 Maximum Contaminant Level
Well, here is one way but it seems a bit clumsy.
In words, I created a new data.frame with "250" in the Chloride vector and "SMCL" in the Detections vector and supplessed one legend.
Warning: For my convenience I am using different data.frame names .
library(ggplot2)
MyData <-read.csv("http://doylesdartden.com/Stats/TimeSeriesExample.csv", sep=",")
2013 Jun 11
2
ggpairs in GGally replaces plotmatrix in ggplot2
Hi Keith,,
ggpairs(dat1, upper = list(continuous = "density", combo = "box"))
appears to be what you want.
John Kane
Kingston ON Canada
> -----Original Message-----
> From: kw1958 at gmail.com
> Sent: Tue, 11 Jun 2013 09:25:48 -0400
> To: r-help at r-project.org
> Subject: Re: [R] R-help Digest, Vol 124, Issue 12
>
> Folks,
>
> Sorry for
2019 Jul 24
1
Compress::Raw::Zlib no longer installed with Perl on Fedora 30?
I can confirm:
[spot at localhost ~]$ rpm -q perl --requires |grep Zlib
perl-Compress-Raw-Zlib
perl-IO-Zlib
[spot at localhost ~]$ rpm -q perl
perl-5.28.2-436.fc30.x86_64
It would require either notable human intervention (or a canceled
mid-upgrade state) for a Fedora 30 system to end up with perl, but not
perl-Compress-Raw-Zlib.
Thanks,
Tom
On Wed, Jul 24, 2019 at 8:42 AM Marc Schwartz
2007 Feb 26
1
2 data frames - list in one out put , matrix in another ??
I have two more or less parallel dataframes that are
giving me different results on one subset of
variables. I know that I assembled the 2 dataframes
slightly differently but I don't see why I am getting
this result because one set of variables are labelled
and the other is not. Variable names are the same,
etc. as far as I can acertain. The only diffference
seems to be that bdata variables
2013 Jun 11
2
R-help Digest, Vol 124, Issue 12
Folks,
Sorry for butting in here. I ran the code from John Kane below and it worked fine.
I did however get a deprecation message suggesting the use of ggpairs from the GGally package to make this chart.
Unfortunately I haven't found the correct incantation to get the diagonal to display the density plots using the "diag" parameter.
Any suggestions?
Just trying to learn,
2024 Feb 05
2
ggarrange & legend
Dear John Kane
Dear R community
Here my working example
1. Example that is working with legend=?top?. However, as mentioned, the legend is in the middle of the top axis.
mylist<-list(p1, p2)
dev.new(width=28, height=18)
fig1<- ggarrange(plotlist=mylist, common.legend = TRUE, legend="top", labels = c("(A)", "(B)"), font.label = list(size = 18, color =