On Sat, 7 Mar 2015, Rolf Turner wrote:
On 06/03/15 22:34, Namratha K wrote:
Dear Sir/Madam,
I am a student pursuing MCA .As i am doing an project using R language .I
want to implement A/B testing using R language.I am searching in google
from past few days and not able to implement .So i
-Original Message-
A consulting client has a large data set with a binary response
(negative) and two factors (ctry and member) which have many levels, but
many occur with very small frequencies. It is far too sparse with a model
like
glm(negative ~ ctry+member, family=binomial).
I have no idea. A data set that generates the error would be very helpful to
me. What is the role of the last line BTW, the one with 1% on it?
Looking at the code I would guess that the vector tied has an NA in it,
but
how that would happen I can't see. There is a reasonable chance that
Hi
May I ask you why do you need such operation. I cannot imagine a situation
where I would need to do this. The only imaginable procedure is to merge NA
enhanced object with another object but for that situation usually
?merge
is used
Cheers
Petr
-Original Message-
From: R-help
I have no idea. A data set that generates the error would be very helpful to me. What is
the role of the last line BTW, the one with 1% on it?
Looking at the code I would guess that the vector tied has an NA in it, but how that
would happen I can't see. There is a reasonable chance that it
I'm looking to find a way to trace back the original variable name after a
being passed through a series of functions.
I can get the variables names for the current call easy enough with match.call,
but I'd like to go back further if the function was called from another
function.
Say I have.
On 05/03/2015 20:34, Franckx Laurent wrote:
Dear all
I get the following error message when I try to load one specific RData object
in R:
Error: ReadItem: unknown type 64, perhaps written by later version of R
The error message is odd because (a) this RData object was created just
-Original Message-
From: Prof Brian Ripley [mailto:rip...@stats.ox.ac.uk]
Sent: vrijdag 6 maart 2015 10:23
To: Franckx Laurent; r-help@r-project.org
Subject: Re: [R] error message: ReadItem: unknown type 64, perhaps written
by later version of R
On 05/03/2015 20:34, Franckx
Dear R-help list,
I have a problem in which I would like to concatenate elements from lists in
a combinational order. For example, I have a list of n character vectors
(here 3), each with m elements (here 7,3,1):
lst - list(c(a,aB,aBC,aC,B,BC,C), c(B,Bc,c), c(D))
[[1]]
[1] a aB aBC aC B
-Original Message-
From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Alrik Thiem
lst - list(c(a,aB,aBC,aC,B,BC,C), c(B,Bc,c), c(D))
How could I create an exhaustive list of length 21 now, each of whose
elements
contains a unique combination of vector elements?
Hi Evelyne,
Not really easy, as you have to work out the upper (55) and lower (47.27)
latitudes of Germany, but try this:
DEylim-c(47.27,55)
DENS-diff(DEylim)
clip(5.8,15.1,DEylim[2]-0.494*DENS,DEylim[2])
abline(h=60)
map(worldHires,Germany,fill=TRUE,col=blue)
text(10.3,52.5,CDU/CSU,col=white)
Petr,
The reason I need to do this is that I'm going to be using some large
datasets in WinBUGS, but there is some missing data for the files I'm
using. In order to make the data files readable in WinBUGS there have to be
NAs in place of missing data so I'm trying to add in NAs where there are
Dear Sir/Madam,
I am a student pursuing MCA .As i am doing an project using R language .I
want to implement A/B testing using R language.I am searching in google
from past few days and not able to implement .So i request u to kindly help
me by sending function or code on A/B testing method using R
Hi,
I don't quite understand the logic since some later assignment will
overwrite the previous one. I simply assign for the current index and
ignore the index after it. In addition, the column Dads.Renamed is not in
the data.frame you defined in the post and I used Father_ID to substitute
for
Hello!
I've built several packages before, but am now building a new package and
would like to have a vignette to go with it. I will be using knitr for it.
My question, please: could someone recommend a good reference on the
content-type material itself for the vignette, please?
Thanks,
Erin
On 06/03/2015 1:25 PM, Erin Hodgess wrote:
Hello!
I've built several packages before, but am now building a new package and
would like to have a vignette to go with it. I will be using knitr for it.
My question, please: could someone recommend a good reference on the
content-type
This is exactly what I was looking for. Thanks so much!
Sincerely,
Erin
On Fri, Mar 6, 2015 at 3:50 PM, Duncan Murdoch murdoch.dun...@gmail.com
wrote:
On 06/03/2015 1:25 PM, Erin Hodgess wrote:
Hello!
I've built several packages before, but am now building a new package and
would
If all you want is to add a row of na's could you just do something
like:
nExpectedRows-length(unique(animals)) * length(unique(animalYears)) * 2
newDf-data.frame(animals=rep(NA,nExpectedRows-nrow(comAn)),
animalYears=rep(NA,nExpectedRows-nrow(comAn)),
On 06/03/15 22:34, Namratha K wrote:
Dear Sir/Madam,
I am a student pursuing MCA .As i am doing an project using R language .I
want to implement A/B testing using R language.I am searching in google
from past few days and not able to implement .So i request u to kindly help
me by sending
I can answer this:
sample(c(0,1),1)
On Fri, 2015-03-06 at 15:04 +0530, Namratha K wrote:
Dear Sir/Madam,
I am a student pursuing MCA .As i am doing an project using R language .I
want to implement A/B testing using R language.I am searching in google
from past few days and not able to
Hey Tom,
This solution works great, but if I try to then insert it in my function
that I've displayed above and apply it to my split dataframe I get the
error message:
Error in `[.default`(xj, i) : invalid subscript type 'list'
The reason why I need to try and get this to work within the
plot(density(as.numeric(dd)),
axes=FALSE,
xlim=c(as.numeric(as.Date(2014-01-01)),
as.numeric(as.Date(2014-12-30)))
rug(as.numeric(dd))
axis(side=1,
at=seq(from=as.numeric(as.Date('2014-01-01')),
to=as.numeric(as.Date('2014-12-1')),length.out=12),
I have the dates of occurence of a repetitive event. I would like to
plot the density of these events, as well as their specific temporal
location. This is as far as I have gotten:
# generate some sample data: dates in 2014
random.dates - sample(1:31, 100, replace=TRUE)
random.months -
You could change the x component of density's output back into a Date object
and let plot choose a Date axis in its usual way. E.g.,
den - density(as.numeric(dd))
den$x - as.Date(den$x, origin=as.Date(1970-01-01))
plot(den$x, den$y)
(You probably will also want to normalize the y
24 matches
Mail list logo