Displaying 20 results from an estimated 100 matches similar to: "plots of correlation matrices"
2007 Oct 18
2
Remember me functionality
Hi all,
I am trying to implement the functionality of Remember Me. The
requirement is that once the user closes the browser after checking the
remember me check box, it should return to the login page with username
and password fields to be filled into the text boxes and the checkbox
button checked, so that there is no need to fill all the fields. I am
not able to fill the text boxes with user
2006 Apr 01
7
Any way around AssociationTypeMismatch?
I want to have popup menus and check boxes in my forms to let users
select associated objects. In the form I''m working on, the object
"belongs_to" another type of object which is selected from a popup menu.
The id of the chosen object(s) for association is passed back in the
parameter hash, but when rails creates a new object from this parameter
hash, I get a
2012 Apr 23
1
Add attributes to igraph vector by name, not index
Hi,
So I've been figuring out how to use igraph in R and like it for it's speed
and simplicity. Now I have a graph built from an edgelist where vectors have
a $name attribute. I have another dataframe with attributes tied to a
vector ID, which is the same as the $name attribute of vectors represented
in the graph.
How can I iterate over the graph by V(g)$name and do
2018 Mar 17
3
length of 'dimnames' [2] not equal to array extent- For Correlation Plot
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, 61L, 43L, 60L,
78L, 63L, 2L, 58L, 8L, 1L, 1L, 9L, 11L, 2L, 1037500L, 46747L,
346300L,
2018 Mar 17
2
length of 'dimnames' [2] not equal to array extent- For Correlation Plot
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:
corrplot(CR1, method = "circle")
But i am getting this error:
Error in
2006 Apr 03
1
attribute select problem
Hi,
I''m searching a metod to do a selection suck as:
Select attribute1,attribute2
from table
where conditions
I know that the "find()" and "find_by_sql" methods takes all the
attribute...But i want only attribute1 and attribute2...Can someone tell
me if there''s a method that give me this opportunity?
Thanks,Ivan.
--
Posted via
2018 Mar 17
0
length of 'dimnames' [2] not equal to array extent- For Correlation Plot
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 <- cor(mtcars)
corrplot(M)
Sarah
On Sat, Mar 17, 2018 at 12:00 PM Shivi Bhatia <shivipmp82 at
2017 Jun 16
1
Changing Color of Selected Column Names in Corrplot
Dear All,
Please consider the following example
library(corrplot)
M <- cor(mtcars)
corrplot(M, method="circle", type="lower", diag=F)
Suppose that I want to have the label "mpg" at the top in black
and leave everything else in red.
How can I achieve that?
Cheers
Lorenzo
2011 Oct 09
2
help with statistics in R - how to measure the effect of users in groups
Hi,
I'm a newbie to R. My knowledge of statistics is mostly self-taught. My
problem is how to measure the effect of users in groups. I can calculate a
particular attribute for a user in a group. But my hypothesis is that the
user's attribute is not independent of each other and that the user's
attribute depends on the group ie that user's behaviour change based on the
group.
Let
2018 Mar 17
0
length of 'dimnames' [2] not equal to array extent- For Correlation Plot
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 anything: as.matrix() does not work in
place.
CR1 <- as.matrix(CR1)
Now try.
If
2011 May 08
2
help with mysql and R: partitioning by quintile
Hi,
I have a mysql table with fields userid,track,frequency e.g
u1,1,10
u1,2,100
u1,3,110
u1,4,200
u1,5,120
u1,6,130
.
u2,1,23
.
.
where "frequency" is the number of times a music track is played by a
"userid"
I need to turn my 'frequency' table into a rating table (it's for a
recommender system). So, for each user, I need to categorise the frequency
of tracks
2011 Oct 23
1
how to plot a distribution of mean and standard deviation
Hi,
I have the following data about courses (504) in a university, two
attributes about the proportion of resources used (#resources_used /
#resources_available), namely the average and the standard deviation.
Thus I have:
[1] n=504 rows
[2] 1 id column and 2 attributes
Here's a sample of the data:
courseid,average,std
12741,1,0
17161,1,0
12514,1,0
2011 Oct 16
2
ecdf
Hi,
Newbie here. I read the R for Beginners but i still don't get this.
I have the following data (this is just an example) in a CSV file:
courseid numstudents
101 209
141 13
246 140
263 8
321 10
361 10
364 28
365 25
366 23
367
2007 Feb 26
2
Problem concerning CSV Mime Type
Hello,
I have an application that should be able to export a list of users as
CSV.
So I put
Mime::Type.register "text/csv", :csv
into my environment.rb, and added this code to my UserController''s index
action:
format.csv do
require ''csv''
CSV::Writer.generate(csv_string = "", '','') do |csv|
csv
2013 Apr 15
1
create an access file
Hi there,
I have seen this post.
https://stat.ethz.ch/pipermail/r-help/2007-June/133606.html
have odbc installed in my machine. Now I have the following message:
channel2 <- odbcDriverConnect("test.mdb")Warning messages:1: In
odbcDriverConnect("test.mdb") :
[RODBC] ERROR: state IM002, code 0, message [Microsoft][ODBC Driver
Manager] Data source name not found and no
2017 Dec 05
2
PLS in R
Hello, I need help with a partial least square regression in R. I have read
both the vignette and the post on R bloggers but it is hard to figure out
how to do it. Here is the script I wrote:
library(pls)
plsrcue<- plsr(cue~fb+cn+n+ph+fung+bact+resp, data = cue, ncomp=7,
na.action = NULL, method = "kernelpls", scale=FALSE, validation = "LOO",
model = TRUE, x = FALSE, y =
2016 Jan 16
2
heatmap de matriz diagonal inferior
Tengo una matriz de de datos (correlación) entre pares de muestras, de tipo
diagonal inferior, de 250 y quisiera hacer un heatmap y/o un dendrograma.
Soy un poco novato y me encuentro con el problema que no se como
"importarla" para cargarla e indicar que se trata de una matriz de datos de
tipo "diagonal inferior" para que R lo interprete y poder realizar un
heatmap y/o
2007 Jan 28
2
Views just returns #
hi im new to ruby on rails, and I have a stupid little problem, when i
do <%= Class1.find(:first) %> in a view file, it just shows "#" on the
website :( how do make it the value in the mySQL table?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on
2013 Oct 21
2
plot correlation matrix
Hi all,
I am having 4 vectors like
Data: num [1:4, 1:32] -82.8 -81.8 -75.5 -107.6 -87.6 ...
and I want to calculate the correlation between those.
Is there a graphical way in R to plot the correlations or not?
I would like to thank you in advance for your help
Regards
Alex
[[alternative HTML version deleted]]
2009 Jul 03
2
Correlation Network Diagram?
Hi all
On page 39 of this paper [1] by Andrew Lo there is a very interesting
correlation network diagram (sorry I dont have a more convenient link to
the type of diagram I'm talking about). does anyone know of any package in
R that can generate these types of diagrams?
Cheers
-- Rory
[1] http://web.mit.edu/alo/www/Papers/august07.pdf
[[alternative HTML version deleted]]