On 17/03/2018 2:09 PM, David Winsemius wrote:
On Mar 15, 2018, at 10:24 PM, Adrian Friskin wrote:
Hello R-help,
I currently have R-project 3.4.2 and R-studio 1.1.383
installed on some of our universities computer labs. Since the
Alternatively refer to the R Installation and Administration manual, which
discusses the various user and site configuration files.
There may be a Windows registry entry also.
--
Sent from my phone. Please excuse my brevity.
On March 17, 2018 11:09:48 AM PDT, David Winsemius
Thank you Sarah, this is really helpful.
Have a nice day.
Regards, Shivi
On Sat, Mar 17, 2018 at 10:28 PM, Sarah Goslee
wrote:
> That does clarify for me that you're missing a step: I didn't clearly
> follow your description at first.
>
> corrplot expects a correlation
> On Mar 15, 2018, at 10:24 PM, Adrian Friskin
> wrote:
>
> Hello R-help,
> I currently have R-project 3.4.2 and R-studio 1.1.383
> installed on some of our universities computer labs. Since the installation
> of Visual studio the default
That does clarify for me that you're missing a step: I didn't clearly
follow your description at first.
corrplot expects a correlation matrix, not your original data. You need to
use cor() first.
That's pretty clear in the documentation. See for instance the examples:
data(mtcars)
M <-
Hmmm
The error message seems self-explanatory. Please re-read ?corrplot.
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Sat, Mar 17, 2018 at
Hi Sarah,
Thank you for your help.
I tried using CR1<-as.matrix(CR1) but gives error Error in corrplot(CR1,
method = "circle") : The matrix is not in [-1, 1]!. I am using a corrplot
library.
Please find the reproducible example:
dput(head(CR1,10))
structure(c(26L, 46L, 39L, 38L, 47L, 59L, 56L,
I'm assuming you are using the corrplot package.
If so, your data object does need to be a matrix, not a data frame.
Since it's already a data frame, your line of code:
as.matrix(as.data.frame(CR1))
doesn't need the as.data.frame function, but more importantly, you
didn't assign the result to
Created a new data set with 3 numeric variable to find correlation
CR1<- mar%>% as_data_frame%>% select(AGE, OLD_CAR_PURCHASE_YRS,
Total.Spend.With.AA)
had to convert it to a data frame, code:
as.matrix(as.data.frame(CR1))
Now i need to run a correlation plot for these 3 variables:
Dear list members,
I'd like to find the value of r-square change at each step of a
regression model.
I know that I can use anova () to compare to models, but, if I want to
find out that how much exactly r-square has change from one model to
the next, how can I find that?
Regards, and thanks
10 matches
Mail list logo