Displaying 20 results from an estimated 5000 matches similar to: "cor.test like cor?"
2008 May 02
1
A horizontal or vertical line draw on mosaic plot?
Hi,
I want to have a horizontal line on a mosaic plot with "vcd" package.
This would give me an idea where is 0.5 proportion in a cell. Using
"mosaicplot" function of "graphics" package, I can draw a line using
"abline." But, with "mosaic" function of "vcd" package, I have tried
to use "abline" function, which complains
2008 May 02
2
mosaic plot of "vcd" package does not stretch with 2-dimension?
Hi,
I like mosaic function of "vcd" package. I have played around it. I
have found out that mosaic plot data table is 2-dimension does not
stretch when you enlarge a mosaic plot. It is okay when data table is
3 or more dimension. The first one is of 3-dimension table case, and
the second one is 2-dimension. With the first plot, you can drag
window to enlarge a plot. With the
2011 Oct 09
1
sapply(pred,cor,y=resp)
Hello. I am wondering why I am getting NA for all in cors=sapply(pred,cor,y=resp). I suppose that each column in pred has NAs in them. Is there some way to fix this? Thanks
> str(pred)
'data.frame': 200 obs. of 13 variables:
$ mnO2: num 9.8 8 11.4 4.8 9 13.1 10.3 10.6 3.4 9.9 ...
$ Cl : num 60.8 57.8 40 77.4 55.4 ...
$ NO3 : num 6.24 1.29 5.33 2.3 10.42 ...
$ NH4 : num 578
2008 Oct 10
1
Correlation among correlation matrices cor() - Interpretation
Hello,
If I have two correlation matrices (e.g. one for each of two treatments) and
then perform cor() on those two correlation matrices is this third
correlation matrix interpreted as the correlation between the two
treatments?
In my sample below I would interpret that the treatments are 0.28
correlated. Is this correct?
> var1<- c(.000000000008, .09, .1234, .5670008, .00110011002200,
2009 Mar 06
1
frequency of subsequent events
Hello,
The example shows a sequence of songtypes a bird has sang.
The entire list contains several thousand songs which the bird has produced consecutively.
Is there any convenient way in R to produce a contingency table which shows how often a special song type was sang after a special other songtype? Or within a determined frame of e.g. 10 consecutively produced songs?
Example:
Nr Songtype
1
2020 Mar 26
2
[PATCH 0/6] gpu: convert to use new I2C API
We are deprecating calls which return NULL in favor of new variants which
return an ERR_PTR. Only build tested.
Wolfram Sang (6):
drm/amdgpu: convert to use i2c_new_client_device()
drm/gma500: convert to use i2c_new_client_device()
drm/i2c/sil164: convert to use i2c_new_client_device()
drm/i2c/tda998x: convert to use i2c_new_client_device()
drm/nouveau/therm: convert to use
2008 Jun 20
1
Voice only works from one way.
Hello, everyone.
Right now, we are trying launch our own PBX system based on Asterisk(Fedora)
with Cisco 2611. Cisco has 2 port FXO card installed on it.
For testing, I have 2611 hooked into phone line with number of xxx-xxx-xxxx
fine. (I'll call it F). Using softphone, I can dial in extension 1001 on
asterisk, which should talk to cisco. After initial connection to Asterisk,
I have try to
2008 Jun 27
1
Xen + NAT + dhcp (static assignment using MAC)
Hi,
I am using Xen packages that came with CentOS 5.
I am a noob at Xen, so please bear with me.
I tried the tutorials I found on the internet, but none of them seem to work
for me.
GOAL: I want the domU machines to have local NATed network connection to the
internet via some fixed IP address.
I had no luck trying to get static IPs to work. (I can ping any machine on
the internet, but DNS
2020 Feb 13
3
Possible CORS issue
Hi
I'm clutching at straws here.
I have a user who requires access to a status-json.xsl to publish now
playing data for an Alexa skill and this can be accessed via a browser at:
- http://example.com:8000/status-json.xsl
He says that now his PHP script cannot access the file.
I know that Alexa requires *streams* to be served over https but this has
previously worked and his skill is
2006 Feb 14
1
Quality and bitrate parameters ?
Hie,
I just don't understand one point in the speex's man page about the quality
and bitrate settings.
Are these settings's behavior same as Vorbis settings ?
Quality option set variable bitrate in order to maintain constant quality
during file and bitrate option set a defined bitrate , isn't ?
I'm not sure, so I'm pleased if you could say that I'm right.
A good idea is
2005 Oct 18
1
Legal issues for non-profit radio stations.
chip wrote:
> hi
>
> we were are talking about the situation in the UK.
>
> more info about all this here for UK folks:
>
> http://www.mcps-prs-alliance.co.uk/
> http://www.ppluk.com/
>
> the Community Media Association is currently lobbying for a blanket
> license agreement for UK webcasters:
>
> http://www.commedia.org.uk/
>
> cheers
>
>
2009 Jul 07
1
cor vs cor.test
Hi,
I am trying to use R for some survey analysis, and need to compute the
significance of some correlations. I read the man pages for cor and
cor.test, but I am confused about
- whether these functions are intended to work the same way
- about how these functions handle NA values
- whether cor.test supports 'use = complete.obs'.
Some example output may explain why I am confused:
2007 Jul 05
1
cor() and cor.test() (PR#9781)
Hello,
I am trying to make a correlation matrix in R using cor() and also to get
the p-value for each correlation using cor.test(). I can't get these
commands to work. I'm getting errors like the following:
cor(Pollution, Wet.days)
Error in inherits(x, "data.frame") : Object "Wet.days" not found
cor("Pollution", "Wet.days")
Error in
2005 May 25
2
cor vs cor.test
Using Windows System, R 2.1.0
d is a data frame, 48 rows, 10 columns
cor(d) works properly providing all pairwise Pearson correlation
coefficients among columns
cor.test(d) gives error message "Error in cor.test.default(d) : argument
"y" is missing, with no default"
Why?
Thanks,
MCG
2008 Feb 27
4
Error in cor.default(x1, x2) : missing observations in cov/cor
Hello,
I'm trying to do cor(x1,x2) and I get the following error:
Error in cor.default(x1, x2) : missing observations in cov/cor
A few things:
1. I've used cor() many times and have never encountered this error.
2. length(x1) = length(x2)
3. is.numeric(x1) = is.numeric(x2) = TRUE
4. which(is.na(x1)) = which(is.na(x2)) = integer(0) {the same goes for
is.nan()}
5. I also try
2011 Jun 02
4
generating random covariance matrices (with a uniform distribution of correlations)
List members,
Via searches I've seen similar discussion of this topic but have not seen
resolution of the particular issue I am experiencing. If my search on this
topic failed, I apologize for the redundancy. I am attempting to generate
random covariance matrices but would like the corresponding correlations to
be uniformly distributed between -1 and 1.
The approach I have been using is:
2005 Oct 09
3
cor doesn't accept na.rm? (PR#8193)
Full_Name: Paul Bailey
Version: 2.1.1
OS: OS X 10.3
Submission from: (NULL) (68.252.250.144)
?cor
[tells me that it has a na.rm variable]
> cor(frame2[1,],frame2[2,],na.rm=T)
Error in cor(frame2[1, ], frame2[2, ], na.rm = T) :
unused argument(s) (na.rm ...)
hmm.
2004 Aug 30
1
Wrong result with cor(x, y, method="spearman", use="complete.obs") with NA's???
Hallo!
Is there an error in cor to calculate Spearman
correlation with cor if there are NA's? cor.test gives
the correct result. At least there is a difference.
Or am I doing something wrong???
Does anybody know something about this?
a<-c(2,4,3,NA)
b<-c(4,1,2,3)
cor(a, b, method="spearman", use="complete.obs")
# -0.9819805
cor.test(a, b,
2010 May 19
2
How to look up source code for cor.test()
Dear all,
how can I check the source code for a hidden function like cor.test()?
At the moment I get ...
> cor.test
function (x, ...)
UseMethod("cor.test")
<environment: namespace:stats>
Thanks in advance,
Will
2004 Sep 16
1
cor() fails with big dataframe
Hello,
I have a big dataframe with *NO* na's (9 columns, 293380 rows).
# doing
memory.limit(size = 1000000000)
cor(x)
#gives
Error in cor(x) : missing observations in cov/cor
In addition: Warning message:
NAs introduced by coercion
#I found the obvious workaround:
COR <- matrix(rep(0, 81),9,9)
for (i in 1:9) for (j in 1:9) {if (i>j) COR[i,j] <- cor (x[,i],x[,j])}
#which works fine,