the problem is
with how backslashes are represented in R strings?
Bill Dunlap
TIBCO Software
wdunlap tibco.com
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf
Of Ista Zahn
Sent: Sunday, March 09, 2014 7:25 AM
To: David Parkhurst
Cc:
is in
section 2.16 of the 'R for Windows FAQ'.
Best,
Ista
On Sat, Mar 8, 2014 at 7:45 PM, David Parkhurst wrote:
Sometimes I don't understand the details of writeups I get, with ?save and
the like. Anyway, that's my problem now.
Can I do this (in Windows 7) to save ever
Sometimes I don't understand the details of writeups I get, with ?save
and the like. Anyway, that's my problem now.
Can I do this (in Windows 7) to save everything that comes up with ls(),
guessed at by what I find with ?rm:
save(list=ls(),file="C:\am\myfiles\ProjectA.RData")
Or would I nee
Thank you for the suggestion. Is there a function for doing that in R?
David
On 3/7/2014 9:50 AM, Therneau, Terry M., Ph.D. wrote:
With respect to question 2, I use the wild bootstrap for tau.
Wu, C.F.J. (1986). Jackknife, bootstrap and other
resampling methods in regression analysis (wi
ng the difference), that
would give some good evidence as to which is used.
Or you could look at the source code, R is open source afterall.
On the jittering question: are you comfortable with a method that
would give a different answer every time you run it?
On Thu, Mar 6, 2014 at 9:41 PM, Davi
How can I find out whether the cor function with method="Kendall"
computes Kendall's tau-a or tau-b. I understand that tau-b deals better
with ties, and I'm wanting to look for correlation in two variables that
have lots of ties (especially lots of zeroes for one of them). The
information pro
When I use the fix that Arun K. provided to my earlier example, I wonder
how to find out where in the 999 bootstrap repetitions the value for the
actual data fits.
Here is the fixed code:
x <- 1:15
y <- c(2,4,1,3,5, 7,6, 9,10,8, 14, 13, 11, 15, 12)
x[3] <- NA; x[11] <- NA; x[8] <- NA
y[2] <- NA
I want to bootstrap Kendall's tau correlation with data that have many
NAs. I tried this example:
x <- 1:15
y <- c(2,4,1,3,5, 7,6, 9,10,8, 14, 13, 11, 15, 12)
x[3] <- NA; x[11] <- NA; x[8] <- NA
y[2] <- NA; y[8] <- NA; y[12] <- NA
cor(x,y,use="complete.obs",method="kendall")
library(boot)
tmpdf
I would like to plot three graphs, one above the other, of three “y”
variables that have different scales against a common Date variable, as
with the code below.
Q1. If I understand correctly, I can't use lattice graphics because my
y's have different scales. Is that correct? All the lattic
I’d like to control the number of tick marks on the “x” axis of a plot,
when the variable there is dates. I thought to use the xaxp parameter,
but the documentation for par says “It [i.e., xaxp] is only relevant to
default numeric axis systems, and not for example to dates.” My
question, then
I have a "Y" variable with many values less than 50, and many fewer
between 50 and 250.I'd like to plot those Y's against an X, with two
scales on the Y axis---maybe 60% of the axis height for 0-50 and the top
40% for 50-250.(I can't use log(Y) because there are many zeroes, and
that is the mos
Thanks to Jeff, I seem to have the chron package in my computer now, but
how do I get R to use it? :
package ‘chron’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\DFP\AppData\Local\Temp\RtmpYLbpgo\downloaded_packages
> days(Date[1])
Error: could not f
I'm trying to get the chron package into my system (in Windows 7)
Using the packages menu, I chose MI chigan
> chooseCRANmirror()
> utils:::menuInstallPkgs()
Then I went to install packages, and clicked on chron from the box that
came up.
A window popped up and asked "Would you like to use a per
I have a situation in which I want to plot a variable Y against X, and
then to add a loess line to that plot. My X variable is 366 elements
long, and about 1/3 are NA's, scattered through the list. None of the
corresponding Y's are NA's. Everything I’ve tried so far, by mimicking
examples fr
I've tried to figure out how to do this from what I read, but haven't
been successful. Suppose I have a dataframe with variables Date, X, and
Y (and maybe U, V, and Z) where X, Y, etc. have different units. I'd
like to plot Y vs. Time above X vs. Time, above one another.
For example, X is th
rd.
On 12/31/2013 7:54 PM, Sarah Goslee wrote:
Hi David,
Your code is showing up here with an arrow symbols. If it's an actual
cut and paste, that's your problem: assignment in R is the two-character
<- and not an arrow symbol.Â
Otherwise your code looks fine.
Sarah
On Tuesday
I've just uninstalled and then reinstalled R on my windows 7 machine.
To test my understanding of data frames, I'm trying the following code.
(I plan to do other things with it, if it would only work.)
Here's the code, which seems pretty basic to me:
ls()
nums ← c(1,2,3,4,5)
ltrs ← c(“a”,”b”,”c”,”
install R, then reinstall it, and
redo my work so far (I've kept the commands elsewhere), and avoid using
"attach," as someone else has suggested.
David
On 12/31/2013 11:32 AM, Duncan Murdoch wrote:
> On 13-12-31 9:48 AM, David Parkhurst wrote:
>> Two or three respon
This web page includes this information about turning off HTML in messages:
http://www.r-project.org/mail.html#instructions
General Instructions
Note that you should configure your e-mail software in such a way as to
send /only plain text/, i.e., *no HTML*. 'html-ified' messages are
usual
Two or three respondents asked for an example of my problem. Here's
what's happening to me now. I can't reproduce how I got to this point,
though:
> ls()
[1] "All8" "All8Sites" "A" "B" "C" "i" "n" "D" "F"
> X
Error: object 'X' not found
> attach(All8Sites)
> ls()
[1] "All8" "All
I have several variables in a data frame that aren't listed by ls()
after I attach that data frame. Where did they go, and how can I stop
the hidden ones from masking the local ones?
Thanks for any help.
David
[[alternative HTML version deleted]]
___
21 matches
Mail list logo