Displaying 20 results from an estimated 3000 matches similar to: "wish - cor.test output order change (PR#7315)"
2003 Apr 18
2
prop.test confidence intervals (PR#2794)
Full_Name: Robert W. Baer, Ph.D.
Version: 1.6.2
OS: Windows 2000
Submission from: (NULL) (198.209.172.106)
Problem: prop.test() does not seem to produce appropriate confidence intervals
for the case where the vector length of x and n is one. (I am not certain about
higher vector lengths.)
As an example, I include x=6 and n=42 which has a mean proportion of 0.115.
When I calculate the 95% CI
2004 Nov 25
0
Installing gregmisc under windows 2000
If I'm not mistaken, "bundle" is really only useful as a concept for
distribution and installation. You distribute and install a bundle, but
load the individual packages when you want to use them. Once you install
the bundle, you won't see the name of the bundle in the list of installed
packages, but you see the constituent packages, and those are what you load
when you want to
2017 Mar 12
1
. Possible issue with R-tools on Windows
I encountered this issue a couple of months ago and resolved it by installing Rtools in the default directory
C:\Rtools, see below for details. I didn't have time to prepare a proper error report and in fact suspected that I may be messing up something.
I tracked down the error by installing from the command line, rather than with install.packages().
On Windows I keep multiple versions of
2004 Jan 28
0
Wish list - Windows RGui (PR#6492)
Full_Name: Rob Baer
Version: 1.8.1
OS: Windows 2000
Submission from: (NULL) (198.209.172.106)
It would be nice to have a 'help menu' item that pointed at the R-Project home
page: http://www.r-project.org/ (opening a browser like the FAQ menu items
display local files). This wish comes from a Windows RGui newbie user who
frequently needs to use the plentiful resources on the
2008 Jan 18
3
Wishlist- Windows Gui (PR#10589)
Full_Name: Robert Baer
Version: 2.6.1
OS: Windows XP
Submission from: (NULL) (198.209.172.95)
It would be wonderful if the CRAN mirror had an easy way to set a "default CRAN
mirror".
Current behavior is to have to choose a CRAN mirror the first time a package is
installed in a session. The closest mirror site is always the same for me, and
I wouldn't wish to change it unless it
2004 Mar 24
0
dots in function names
Typing
> plot
shows the source which shows that plot uses UseMethod -- thus
its an S3 generic. Knowing that, issuing:
> methods(plot)
gives a list of methods.
Date: Tue, 23 Mar 2004 18:07:45 -0600
From: Robert W. Baer, Ph.D. <rbaer at atsu.edu>
To: <r-help at stat.math.ethz.ch>
Cc: Paul Murrell <p.murrell at auckland.ac.nz>
Subject: [R] dots in function
2011 Apr 06
1
corSpatial and nlme
I noticed that ?corClasses in package nlme does not list corSpatial among the standard classes. This might either be intentional because corSpatial is not "standard" , or it might be simply an oversight that needs correcting.
------------------------------------------
Robert W. Baer, Ph.D.
Professor of Physiology
Kirksville College of Osteopathic Medicine
A. T. Still University of
2017 Sep 30
1
Converting SAS Code
> On 30 Sep 2017, at 14:22 , Robert Baer <rbaer at atsu.edu> wrote:
>
>
>
> On 9/29/2017 3:37 PM, Rolf Turner wrote:
>> On 30/09/17 07:45, JLucke at ria.buffalo.edu wrote:
>>
>> <SNIP>
>>
>>>
>>> The conceptual paradigm for R is only marginally commensurate with
>>> that of
>>> standard statistical
2008 Apr 13
1
SPSS to R Data file conversion
I wrote a little routine to convert multiple spss data files (as data frames) to R data files. The code is as follows:
#
list=dir(pattern=".sav")
library(foreign)
for (i in 1:length(list)){
# The saved data frame will be dat
dat=read.spss(list[i],to.data.frame=TRUE)
name=substring(list[i],1,nchar(list[i])-4)
rname=paste("../R/",name,".rda",sep="")
# This
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:
2003 Nov 07
2
Bug in cor.test - Spearman
Greetings.
There seems to be a problem with the P-value computation in the
cor.test with method="spearman". In R1.8.0 (MS Windows) I
seem to be getting intermittently nonsense P-values, but the rho's
are OK. I can get this reproducibly with the toy example attached
where the first use is OK and subsequent calls with the same data
give nonsense. (I have also seen the problem
2010 Mar 30
3
use logical in cor.test
Hi,
I've got 4 variables that I want to effectively 'stack' so that I have a
grand R variable and a grand L variable.
This works to achieve that goal:
Twin1cor<-with(twin.wide,cbind(ACDepthR.1,ACDepthL.1))
Twin2cor<-with(twin.wide,cbind(ACDepthR.2,ACDepthL.2))
Both<-rbind(Twin1cor,Twin2cor)
> str(Both)
num [1:1858, 1:2] 3.36 NA NA NA NA NA NA 3.92 3.5 NA ...
- attr(*,
2007 Feb 21
3
Examples on how to READ/WRITE to database using R-Project
Hi,
We are working on a project on forecast modeling and would like to know if
there are any examples on how to READ/WRITE to a database (e.g. PostgreSQL)
using R-Project. I do have a sample R Script which takes input as files from
a directory and writes back output files to a directory. I would like to
convert this script to read from a database and write back the output to a
database.
2004 Oct 19
2
Matrix/Table col headings R 2.0.0
I have been looking at some 'table' examples in Peter Dalgaard's ISwR book, and I am confused by how to get right justification of my table headings when I use the tables() command. Compare the following:
# Produces right justfified column names
caff.marital=matrix(c(652,1537,598,242,36,46,38,21,218,327,106,67),nrow=3,byrow=T)
2011 Mar 25
2
library(foreign) read.spss warning
I got the following:
> library(foreign)
> swal = read.spss("swallowing.sav", to.data.frame =TRUE)
Warning message:
In read.spss("swallowing.sav", to.data.frame = TRUE) :
swallowing.sav: Unrecognized record type 7, subtype 21 encountered in system file
>
The bulk of the data seems to read in a usable form, but I'm curious about what might be getting lost
2009 Oct 29
1
strsplit() and Windows file paths
There are two ways to express file paths with the Windows environment:
> a=file.choose()
> a
[1] "C:\\Documents and Settings\\rbaer\\Desktop\\_VNT_Test\\coordFocused 20k F5 0ng Ki8751 t20.txt"
and
>b= paste(getwd(),"/",dir()[1],sep="")
>b
[1] "C:/Documents and Settings/rbaer/Desktop/_VNT_Test/coordFocused 20k F5 0ng Ki8751 t20.txt"
I have 2
2009 Oct 10
7
SPSS long variable names
Hello guys I am new to this list and for R too.
I am wondering if there is a patch for the SPSS reading code on the
foreign package, in order to be able to read long variable names.
Right now read.spss() just trunc the names to 8 characters.
Or if someone could help me on other way:
I have to process everyday a lot of SPSS Syntax Files and Dat files
that come from one system that can only export
2011 May 20
5
regression coefficient for different factors
Dear R-helpers,
In my dataset I have two continuous variable (A and B) and one factor.
I'm investigating the regression between the two variables usign the command
lm(A ~ B, ...)
but now I want to know the regression coefficient (r2) of A vs. B for every factors.
I know that I can obtain this information with excel, but the factor have 68 levels...maybe [r] have a useful command.
Thanks,
2005 Jul 23
2
cor(X) with P-Value
Friends
I am new to R (and statistics) so am struggling a bit.
Briefly...
I am interested in getting the P-Value from cor(X) where X is a matrix.
I have found cor.test.
Verbosely...
I have 4 vectors and can generate the corellation matrix...
> cor(cbind(X1, X2, X3, X4))
X1 X2 X3 X4
X1 1.00000000 -0.06190365 -0.156972795 0.182547517
X2
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