Displaying 20 results from an estimated 700 matches similar to: "Problems executing cor(dataset) function in R 2.11.0 for OSX ( It works fine in R 2.10.1)"
2010 May 10
1
Problems executing cor(dataset) function in R 2.11.0 for OS X ( It works fine in R 2.10.1)
Dear all,
when trying to replicate John M. Quick's example for correlations between multiple variables posted on:
http://rtutorialseries.blogspot.com/2009/11/r-tutorial-series-zero-order.html
with R 2.11.0 (GUI 1.33) using my MacBook Pro with OX X 10.5.8 I got the following error message
> datavar<-read.csv("dataset_readingTests.csv")
> cor(datavar)
Error in cor(datavar)
2012 Feb 03
3
[fields] image.plot abends with NAs in image.plot.info
summary: image.plot-ing two sets of netCDF data, with the second
derived from the first. First plots to PDF as expected (title, data,
legend). Second plots the data and title, but abends before drawing
the legend, with
> Error in if (del == 0 && to == 0) return(to) :
> missing value where TRUE/FALSE needed
> Calls: plot.layers.for.timestep -> image.plot -> seq ->
2009 Jul 16
9
Please help me understand how arrays are translated in rails
I''ve spent hours researching the subject and have tried many test
sequences in IRB, and rails console but I''m just having trouble making
headway into what is probably a very easy subject.
I understand arrays with at least 4 other languages but with Ruby I
haven''t found a mental connection with how I can assign variables to
arrays..
Take for example:
def
2010 Dec 07
1
Statistical Analysis with R Beginner's Guide Book
Hi Everyone,
I'm writing to announce my new R beginner's guide book and answer questions
related to it.
The primary focus of Statistical Analysis with R is helping new users become
accustomed to R and empowering them to apply R to suit their own needs. It
is a beginner's guide written for a broad audience and should be well
received by businesspeople, IT professionals, researchers,
2012 Nov 09
1
decorating API in R
How best to implement a decorator pattern in R? What I mean, why I ask:
A group of ncdf4 users is trying to make it easier (notably for ourselves :-) to write correctly IOAPI-formatted netCDF. Since IOAPI
http://www.baronams.com/products/ioapi/
decorates netCDF, one obvious way to do a package=ioapi is to decorate the netCDF API from package=ncdf4. E.g., to add a data variable (datavar) with
2010 May 17
2
Variable variables using R ... e.g., looping over data frames with a numeric separator
Hello,
I have programmed in PHP a lot, and wanted to know if anyone figured out
Variable variables using R.
For example, I have several dataframes of unequal sizes that relate to L
treatments (1, 2, 3, 4, 5,6, L) ... in this case L=7
fData.1
unique.1
fit.nls.1
summary.nls.1
fit.var.1
summary.var.1
.....
fData.2
unique.2
fit.nls.2
summary.nls.2
fit.var.2
summary.var.2
.....
fData.L
unique.L
2008 Dec 03
1
help on tapply using sample with differing sample-sizes
Hello, My question likely got buried so I am reposting it in the hopes that someone has an answer. I have thought more about the question and modified my question. I hope tha
my specific question is:
I am attempting to create a bootstrap procedure for a finite sample using the theory of Rao and Wu, JASA (1988) that replicates within each strata (h) n_h - 1 times. To this end, I require a
2013 Apr 26
1
[newbie] how to find and combine geographic maps with particular features?
SUMMARY:
Specific problem: I'm regridding biomass-burning emissions from a
global/unprojected inventory to a regional projection (LCC over North
America). I need to have boundaries for Canada, Mexico, and US
(including US states), but also Caribbean and Atlantic nations
(notably the Bahamas). I would also like to add Canadian provinces and
Mexican states. How to put these together?
General
2012 Jan 05
1
[ncdf] programmatically copying a netCDF file
How to programmatically (i.e., without no or minimal handcoding) copy
a netCDF file? (Without calling
> system("cp whatever wherever")
:-) Why I ask:
I need to "do surgery" on a large netCDF file (technically an I/O API
file which uses netCDF). My group believes a data-assimilation error
caused a data variable to be corrupted in a certain way, so I'm going
to
2011 Nov 18
1
One-way repeated measures ANOVA
Hi all,
I'm trying to run a repeated measures ANOVA on some univariate ecological
data that was collected over two growing seasons. I ran the test using the
methodology found on this website:
http://rtutorialseries.blogspot.com/2011/02/r-tutorial-series-one-way-repeated.html
Upon running the actual ANOVA I got this error message:
"> rmanova=anova(yearmodel, idata=yearframe,
2012 Oct 19
2
Post Hoc tests for ANOVA
Hi,
I was trying to figure out how to do post-hoc tests for Two Way ANOVAs and
found the following 2 approaches:
a. Do pairwise t-tests (bonferroni corrected) if one finds significance with
the ANOVA.
Link-
http://rtutorialseries.blogspot.com/2011/01/r-tutorial-series-two-way-anova-with.html
b. Do TukeyHSD on an aov model
Link-
2010 Aug 27
2
Problems loading rjags in R 2.11.0 under OS X 10.5.8
Dear list members,
I'm trying to use JAGS 2.1.0 from within R but every time I try to load the rjags package I receive the following message:
Loading required package: coda
Loading required package: lattice
Error : .onLoad failed in loadNamespace() for 'rjags', details:
call: dyn.load(file, DLLpath = DLLpath, ...)
error: unable to load shared library
2008 Jun 25
0
Memory allocation failed: Copying Node
Following code bugs with "Memory allocation failed: Copying Node" error after
parsing n thousand files. I have included the main code(below) and
functions(after the main code).
I am not sure which lines are causing the copying Node which results in
memory failure. Please advise.
#Beginning of Code
for(i in 1:nrow(newFile)) {
if(i%%3000 == 0) gc()
2012 Jan 16
1
[PATCH] generator: Add an explicit Cancellable flag
Currently any api which takes a FileIn or FileOut parameter is implicitly
cancellable. This change make cancellable an explicit flag in anticipation of it
being added to other apis.
---
generator/generator_actions.ml | 53 ++++++++++++++++++++++++++-------------
generator/generator_checks.ml | 3 +-
generator/generator_types.ml | 1 +
3 files changed, 38 insertions(+), 19 deletions(-)
2017 Apr 21
0
[PATCH 1/2] generator: Simplify the handling of string parameters.
Previously we had lots of types like String, Device, StringList,
DeviceList, etc. where Device was just a String with magical
properties (but only inside the daemon), and DeviceList was just a
list of Device strings.
Replace these with some simple top-level types:
String
StringList
and move the magic into a subtype.
The change is mechanical, for example:
old
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
2004 Mar 03
1
cor(..., method="spearman") or cor(..., method="kendall") (PR#6641)
Dear R maintainers,
R is great. Now that I have that out of the way, I believe I have
encountered a bug, or at least an inconsistency, in how Spearman and
Kendall rank correlations are handled. Specifically, cor() and
cor.test() do not produce the same answer when the data contain NAs.
cor() treats the NAs as data, while cor.test() eliminates them. The
option
use="complete.obs" has
2008 May 02
1
cor.test like cor?
Hi,
Is there a simple way to do correlation coefficient tests with
"cor.test" like I would do with "cor" function? I have a data frame
where each column is a list.
================================================
y <- data.frame(a=sample(30, 20), b=sample(30, 20), c=sample(30,20))
cor(y)
================================================
But, cor.test does not take y
2004 Jul 16
1
highlighting subset of point with xyplot (or Hmisc(xYplot))
Hello all,
I am trying to use xyplot to give a six panel plot and to highlight
only points (in any panel) that meet a certain criterion. With the
plot command I would do something like:
plot.default(filein$Site,filein$circ.conc)
points(filein$Site,filein$circ.conc,type="p",
pch=ifelse(filein$p.value<5e-02,19,21))
I had thought I could just stick in the pch line from above into
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