Displaying 20 results from an estimated 1000 matches similar to: "correlation value and map"
2007 Apr 19
1
is there a function to give significance to correlation?
Dear R-Help,
I am trying to find a function that will give me the significance of the
correlation of 2 variables (in the same dimension arrays) correcting for serial
autocorrelation.
How can I view the function cor.test's code? I would like to know a lot more
detail about the function than written in the documentation at
http://finzi.psych.upenn.edu/R/library/stats/html/cor.test.html
to
2006 Dec 14
7
loop is going to take 26 hours - needs to be quicker!
Dear R-help,
I have a loop, which is set to take about 26 hours to run at the rate it's going
- this is ridiculous and I really need your help to find a more efficient way of
loading up my array gpcc.array:
#My data is stored in a table format with all the data in one long column
#running though every longitute, for every latitude, for every year. The
#original data is sotred as
2007 Mar 16
1
Problem installing R onto Solaris 2.10 system - need advice!!!!!
Dear R-Help friends,
I am unable to get the latest version of R (2.4.1) to compile on my solaris 10
system - has anybody else experienced this problem and are you able to offer me
any advice?
I appreciate your time, many thanks,
Jenny Barnes
Here are my CURRENT specifications:
platform sparc-sun-solaris2.10
arch sparc
os solaris2.10
2006 Sep 08
2
Multiple matrix multiplication with two 3-dimensional arrays
Hi,
I need to do several matrix multiplications with
the corresponding matrices forming two
3-dimentional arrays. To illustrate my problem,
let's say I have the following 3-dimensional arrays:
array1 <- array(1:30,dim=c(3,2,5))
array2 <- array(1:20,dim=c(2,2,5))
I know that I can get what I want with the following computation :
result <- array(dim=c(dim(array1)[1],
2006 Dec 11
3
upside down image/data
Dear R-community,
I am looking for some simple advice - I have a matrix (therefore 2 dimensional)
of global temperature.
Having read R-help I think that when I ask R to image() or levelplot() my matrix
will it actually appear upside down - I think I therefore need to use the line:
> levelplot(temperature.matrix[,ncol(output.temp):1], ........)
to get it looking like it was on the globe due
2006 Jun 16
0
a method to trim composite objects?
dear R users,
please, consider the following code you may run:
setClass("my.class1",
representation(
my.list = "list",
my.array1 = "array"),
prototype=prototype(
my.list =list(),
my.array1 =array(0,c(3,3,3))
))
#------------------
2007 Aug 18
1
doubt about string comparison
I have two large arrays of strings array1 with 180000 names and array2 with 24000 names ,I want to find the common names in both of them.
My arrays are for example
Array1 Array2
GAP4
HIST1B-histamine....
MFG12 SNRPD-signal induced...
CFH1A
2007 Jul 24
3
Overlaying a single contour from a new data array in levelplot
Dear R-Help community,
I am trying to overlay a single contour line over a correlation plot using
levelplot in the lattice package. These are the two arrays:
1) a correlation plot over Africa - so each grid square is a different colour
dependent on correlation - this is in an array: result_cor with dim[465,465]
2) a single contour line from a ***different data source*** - this is from data
2006 Dec 12
2
how do you interpolate a gaussian grid to a standard 2.5 degree grid?
Dear R-help community,
I have looked on the R search site and archives but cannot find mention of a way
of interpolating a gaussian distribution of data to a standard 2.5 degree grid.
I have two global dataset and I need to correlate - unfortunately one is a 2.5
degree grid dim[longitude=144,latitude=72] and one is gaussian
dim[longitude=192,latitude=94].
I would rally appreciate hearing
2006 Nov 23
3
reaccessing array at a later date - trying to write it to file
Dear R-help community
I am trying to write an R object (data.out) to a file in order to re-access it
later and not have to re-load up the array with data every time. Here is the
form of data.out
> data.out <- list(lats=seq(88.542, -88.542, length=94),
lons=seq(0, 360-1.875, length=192),
date=vector(length=nyr*12),
data=array(NA, c(nyr*12, 94*192))
)
I tried
>
2007 Jun 06
3
random numbers selection - simple example
Dear R-help,
Which random number generator function would you recommend for simply picking 15
random numbers from the sequence 0-42? I want to use replacement (so that the
same number could potentially be picked more than once).
I have read the R-help archives and the statistics and computing book on modern
Applied statistics with S but the advice seems to be for much form complicated
2006 Nov 20
3
problem with loop to put data into array with missing data forsome files
Hi Jenny
If you want a general solution I understand.
However I just downloaded the file fine (as far as I can tell) so you
are welcome to have a copy. I can email it to you if you want.
I do not think your test for NA is valid. i.e
if(test != "NA"){
}
I think you should use
if(is.na(test)){
}
Or something similar.
J
---
John Seers
Institute of Food Research
Norwich
2014 May 22
2
[LLVMdev] RFC: Indexing of structs vs arrays in getelementpointer
On May 22, 2014, at 3:51 PM, Chandler Carruth <chandlerc at google.com> wrote:
>
> On Thu, May 22, 2014 at 4:42 PM, Louis Gerbarg <lgg at apple.com> wrote:
> The problem that the above transform is technically illegal because “When indexing into a (optionally packed) structure, only i32 integer constants are allowed (when using a vector of indices they must all be the same
2007 Mar 07
1
compiling latest version of R
Dear R-help community,
I have had trouble in the past installing the latest version of R: we got the
errors shown below (the computer specifications and version of R are below
that). Does anybody have tips for compiling the latest version of R so that I
can avoid these errors?
configure
make
...
...
...
f90: CODE: 0 WORDS, DATA: 0 WORDS
gcc -G -L/usr/local/lib -o stats.so init.o kmeans.o
2014 May 23
2
[LLVMdev] RFC: Indexing of structs vs arrays in getelementpointer
----- Original Message -----
> From: "Chandler Carruth" <chandlerc at google.com>
> To: "Louis Gerbarg" <lgg at apple.com>
> Cc: "LLVM Developers Mailing List" <llvmdev at cs.uiuc.edu>
> Sent: Thursday, May 22, 2014 7:09:49 PM
> Subject: Re: [LLVMdev] RFC: Indexing of structs vs arrays in getelementpointer
>
>
>
>
>
2008 Mar 27
1
Nothing happened when I using t.test throuth RSPerl
Hi,
I've just started using RSPerl. Though also tests in directory "/usr/local/lib/R/library/RSPerl/tests/" are passed successfully, I meet the problem with the following codes;
use strict;
use warnings;
use R;
use RReferences;
my @array1=1..10;
my @array2=1..39;
&R::initR("--silent");
&R::library("RSPerl");
my $tt=&R::call("t.test",
2013 Aug 29
10
Concatenate two arrays
Hello again ruby community!
I just learned how to add two arrays(I know, i know).
My program looked like this
array1=[1,2,3]
array2=[4,5,6]
array_sum=array1+array2
I thought pretty simple stuff, they are combined. However, now i am
looking to define that code as a method and I do not understand how to
create the correct number of arguments, so when the method is called
back it gives me my
2009 Jul 15
0
Fwd: DLLs
Thanks for your help with this problem about dynamic linked libraries.
I thought I had it solved, but apparently not.
Below is a small piece of Pascal code that I compile into a library.
When I load the library using dyn.load R becomes very unstable.
The Mac GUI crashes in all kinds of situations --even moving a window
can sometimes crash it.
Running from the command line (I thought the
2011 Sep 22
2
create variables through a loop
HI, Dear R community,
I am trying to created new variables and put into a data frame through a
loop.
My original data set:
head(first)
probe_name chr_id position array1
1 C-7SARK 1 849467 10
2 C-4WYLN 1 854278 10
3 C-3BFNY 1 854471 10
4 C-7ONNE 1 874460 10
5 C-6HYCN 1 874571 10
6 C-7SCGC 1 874609 10
I have
2005 Jun 14
1
t.test using RSPerl
Hi,
I've just started using R and RSPerl. I have some code as follows:
&R::initR("--no-save");
&R::call("t.test", (\@array1, \@array2));
where @array1 and @array2 are both 1-dimensional arrays in Perl having 54675 elements each. On execution the output is as follows:
Calling R function name `t.test', # arguments: 3
1) Arg type 3
Got a reference to a