Displaying 20 results from an estimated 700 matches similar to: "FW: matrix"
2009 Aug 04
3
matrix
Hi
I have dataset that consists of two columns
AB 0.102
AC -0.002
BA -0.102
BC 0.270
CA 0.002
CB -0.270
I wish to create a matrix so that I can eventually plot the data.
A
B
C
A
1
0.102
-0.002
B
-0.102
1
0.27
C
0.002
-0.27
1
Any help or guidance would be greatly
2010 Feb 26
3
Plotting a Trivial Matrix
Dear All,
Consider a matrix (N x N) where each entry is either zero or one (can
hardly get any simpler).
Now, I would like to plot it as a 'chessboard' where every matrix entry
is a black (1) or white (0) square.
Whatever tool I use to plot it, it should not try to interpolate the
data at all.
I found some online references
http://www.phaget4.org/R/image_matrix.html
but probably I can
2011 Feb 04
1
Adding axes label to image
Dear all,
Using the code I got from the link (
http://www.phaget4.org/R/image_matrix.html), I obtained a nice plot that
suits me. However, adding axes labels proved difficult for me . I have
succeeded in adding a few things to the plot function so as to get what a
better plot. Other things work but ylab="days" did not reflect.
It will be great if somebody can advice on how to add axes
2009 Nov 18
0
Optimal parameters for Savitzky-Golay smoothing filter (loop)
Hi
I am running a Savitzky-Golay smoothing filter
(http://tolstoy.newcastle.edu.au/R/help/04/02/0385.html) for variables
in my dataset, dim (272:90). I managed to run the code for individual
variables in the dataset and then combine the results into a single
dataset. My novice attempt at this task is shown below
csg<-NULL
for (i in 1:ncol(data.all)) {
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
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
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 Oct 11
1
plots of correlation matrices
Hi,
I want to do a visualisation of a matrix plot made up of several plots of
correlation matrices (using corrplot()). My data is in csv format. Here's an
example:
id,category,attribute1,attribute2,attribute3,attribute4
661,SCHS,43.2,0,56.5,1
12202,SCHS,161.7,5.7,155,16
1182,SCHS,21.4,0,29,0
1356,SSS, 8.8182,0.1818,10.6667,0.6667
1864,SCHS,443.7273,9.9091,537,46
12360,SOA,6.6364,0,10,0
2012 Oct 19
0
customize building package vignettes
Hi,
I mentioned this at useR! 2012 but I guess the relevant R core members
were not there (presumably Fritz, Duncan and Brian), so I'm making
this wishlist again:
Currently package vignettes have to be processed through Sweave, which
is too restrictive since several add-on packages aiming to improve or
extend Sweave have appeared (e.g. cacheSweave, pgfSweave, R.rsp,
highlight, knitr, ...).
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
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
2013 Feb 28
3
Gráfica de función
r-help-es@r-project.org
Hola!!
Estoy trabajando con una función del tipo h(x)''B, donde h(x) es un vector
columna de q entradas, de igual manera B es un vector columna de dimensión
q.
Quiero graficar h(x)''B para alguna h(x), por ejemplo
h<-function(x) matrix(c(1,x,x^2,x^3), ncol=1)
B es un vector columna fijo
B=matrix(c(1,2,1,3),ncol=1)
Para graficar la función
2006 Apr 27
0
pls package: bugfix release 1.2-1
Version 1.2-1 of the pls package is now available on CRAN.
This is mainly a bugfix-release. If you fit multi-response models,
you are strongly engouraged to upgrade!
The main changes since 1.2-0 are
- Fixed bug in kernelpls.fit() that resulted in incorrect results when fitting
mulitresponse models with fewer responses than predictors
- Changed default radii in corrplot()
- It is now
2006 Apr 27
0
pls package: bugfix release 1.2-1
Version 1.2-1 of the pls package is now available on CRAN.
This is mainly a bugfix-release. If you fit multi-response models,
you are strongly engouraged to upgrade!
The main changes since 1.2-0 are
- Fixed bug in kernelpls.fit() that resulted in incorrect results when fitting
mulitresponse models with fewer responses than predictors
- Changed default radii in corrplot()
- It is now
2011 Dec 14
2
plot matrix of characters
Hi, I am looking for options to plot the following type of matrices:
"A" "B" "C" "D"
"A" "A" "C" "C"
"A" "A" "A" "C"
as a image like this: http://www.phaget4.org/R/image002.jpg
2007 Oct 19
0
MailMarshal Message Digest
Virus Folder Summary Digest for r-help at stat.math.ethz.ch sent on Friday, October 19, 2007
The emails listed below have been placed by MailMarshal in your Virus Folder. They will be automatically deleted after 7 days.
To view your quarantine mails go to http://mail5.smarthome.com/SpamConsole
From: postmaster at mail2.Smarthome.com
Subject: Delivery Status Notification (Failure)
Date: 19
2004 Mar 22
5
Your email message was blocked
MailMarshal (an automated content monitoring gateway) has
not delivered the following message:
Message: B0000c89bd.00000001.mml
From: samba@samba.org
To: lianaj@balgrammar.vic.edu.au
Subject: Question
This is due to automatic rules that have determined that the
intended recipient is not authorized to receive messages with
certain potentially dangerous filetypes attached.
2004 Jan 28
0
A Message you sent has not been delivered
MailMarshal (an automated content monitoring gateway) has
not delivered the following message:
Message: B000184f79.00000001.mml
From: r-devel@r-project.org
To: dominic.lowndes@telecomfinance.com
Subject: Jay
This is due to automatic rules that have determined that the
intended recipient is not authorised to receive messages with
Executable file(s) attached.
If you believe
2002 Dec 12
1
SAMBA hosts vanishing from WINS server running on NT4
We have a WAN with subnets and our remote SAMBA Hosts
vanish after about a month from the WINS server.
We have mixed SAMBA versions from 2.0.7 to 2.2.1a.
NT (wins) 10.1.1.1
SAMBA 1 10.1.1.2
|
|
|
SAMBA 2 10.2.2.2
All SAMBA hosts are set up to use the NT WINS server
and after a SAMBA start they are there. But they 'fade away'
in time.
Is there a setting I am missing? Or do I
2006 May 29
1
Create a share - permissions
Hi
I am having problems with permissions when creating a share on a Linux
Server. The permissions changes every time from:
drwxr-wxr-wxr to drwxr-xr-x (chmod 777 or chmod a+wrx)
I can access the share, but I cannot create new files, copy etc.
Mandrake 10.0 for i586
Umask = u=rwx,g=rx,o=rx
Samba Version 3.0.2a
[test]
path = /home/test
valid users = users
browsable = no
guest =