this with as.Date and as.character.
Pancho Mulongeni
Research Assistant
PharmAccess Foundation
1 Fouché Street
Windhoek West
Windhoek
Namibia
Tel: +264 61 419 000
Fax: +264 61 419 001/2
Mob: +264 81 4456 286
__
R-help@r-project.org mailing list
https
Pancho Mulongeni
Research Assistant
PharmAccess Foundation
1 Fouché Street
Windhoek West
Windhoek
Namibia
Tel: +264 61 419 000
Fax: +264 61 419 001/2
Mob: +264 81 4456 286
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r
Thank you!
-Original Message-
From: arun [mailto:smartpink...@yahoo.com]
Sent: 22 August 2013 17:17
To: Pancho Mulongeni
Cc: R help
Subject: Re: [R] converting a summary table to survey database form
Hi,
May be this helps:
dat1- structure(...
dat1$ID- row.names(dat1)
library(reshape2
attempt below does not work:
r-dim(condomData)[1]
scoreS-c()
for (i in 1:r) {
score-as.numeric(condomData[r,])
scoreS-c(scoreS,s)
}
It just gives me the last row of condomData copied 10 times.
Any help?
Thank you, I really want to know if all condoms are equal.
Pancho Mulongeni
Research Assistant
Hi Gergely!
This sounds so exciting - so R is turning 20 years old? How did you set up your
R users' group? What are the best practices in going about to set one up?
I would be keen on establishing one here in Windhoek, Namibia.
Pancho Mulongeni
Research Assistant
PharmAccess Foundation
1
update the packages I want rather than the whole folder and
see if this works,
Pancho Mulongeni
Research Assistant
PharmAccess Foundation
1 Fouché Street
Windhoek West
Windhoek
Namibia
Tel: +264 61 419 000
Fax: +264 61 419 001/2
Mob: +264 81 4456 286
, -22.832516,17.183304,
-22.934365,14.521008, -22.947328,14.508991, -24.45,15.801086,
-24.621739,17.959728, -25.460983,19.438198, -26.567955,18.134651,
-26.645292,15.153944, -27.915553,17.490921, -28.017742,18.745594
), class = factor)
Pancho Mulongeni
Research Assistant
PharmAccess Foundation
1 Fouché
Thank you,
So my mistake was my data was a factor and not character,for strsplit
Thanks so much
-Original Message-
From: Rui Barradas [mailto:ruipbarra...@sapo.pt]
Sent: 08 July 2013 15:55
To: Pancho Mulongeni
Cc: r-help@r-project.org
Subject: Re: [R] Splitting coordinates into two
), but this did not work.
Thanks
Pancho Mulongeni
Research Assistant
PharmAccess Foundation
1 Fouché Street
Windhoek West
Windhoek
Namibia
Tel: +264 61 419 000
Fax: +264 61 419 001/2
Mob: +264 81 4456 286
__
R-help@r-project.org mailing list
https
Yes thanks, this is what I ended up doing, but I though there would be a
'internal' way to disregard NAs in unique.
Thanks for the tip on dput
-Original Message-
From: Rui Barradas [mailto:ruipbarra...@sapo.pt]
Sent: 05 July 2013 11:39
To: Pancho Mulongeni
Cc: r-help@r-project.org
the word 'bug'
Thanks
Pancho Mulongeni
Research Assistant
PharmAccess Foundation
1 Fouché Street
Windhoek West
Windhoek
Namibia
Tel: +264 61 419 000
Fax: +264 61 419 001/2
Mob: +264 81 4456 286
__
R-help@r-project.org mailing list
https://stat.ethz.ch
Thank you,
I see this was due to me using %y instead of %Y,
See ?strptime
-Original Message-
From: arun [mailto:smartpink...@yahoo.com]
Sent: 17 April 2013 12:31
To: Pancho Mulongeni
Cc: R help
Subject: Re: [R] Problem with DateVisit-gives wrong year?
HI,
test.date- rep(c(14/05/2012,01
Pancho Mulongeni
Research Assistant
PharmAccess Foundation
1 Fouché Street
Windhoek West
Windhoek
Namibia
Tel: +264 61 419 000
Fax: +264 61 419 001/2
Mob: +264 81 4456 286
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r
Hi All,
Let's say someone uses an R package (prefer to not disclose which) that comes
with two different distributions,the commercial and non-commercial license. Now
the non commercial license has conditions,bit it never runs out. So if this
person knows they should be using the commercial
Thanks,
I hereby declare this thread as resolved.
-Original Message-
From: S Ellison [mailto:s.elli...@lgcgroup.com]
Sent: Wednesday, January 16, 2013 4:27 PM
To: Pancho Mulongeni; R help
Subject: RE: Using table to get frequencies of several factors at once
You could use a variant
it not disappear from the search path?
Thanks
Pancho Mulongeni
Research Assistant
PharmAccess Foundation
1 Fouché Street
Windhoek West
Windhoek
Namibia
Tel: +264 61 419 000
Fax: +264 61 419 001/2
Mob: +264 81 4456 286
__
R-help@r-project.org mailing list
Thanks, that makes it clear
-Original Message-
From: Pascal Oettli [mailto:kri...@ymail.com]
Sent: Tuesday, January 15, 2013 1:07 PM
To: Pancho Mulongeni
Cc: R help
Subject: Re: [R] Removing an attached object
Hi,
Please read the following:
http://stackoverflow.com/questions/3536036
Yes thank you, that worked.
-Original Message-
From: John Kane [mailto:jrkrid...@inbox.com]
Sent: Friday, January 11, 2013 4:23 PM
To: Pancho Mulongeni; R help
Subject: RE: [R] Using table to get frequencies of several factors at once
Does something like this do what you want
, I can just ignore it.
So is there are better way to do this? Is there a way to use the so called
tapply function? I struggle to understand the help doc for this.function.
Pancho Mulongeni
Research Assistant
PharmAccess Foundation
1 Fouché Street
Windhoek West
Windhoek
Namibia
Tel: +264 61
1).
Background. The variable pharm assess where you used the pharmacy to get your
contraception.
Pancho Mulongeni
Research Assistant
PharmAccess Foundation
1 Fouché Street
Windhoek West
Windhoek
Namibia
Tel: +264 61 419 000
Fax: +264 61 419 001/2
Mob: +264 81 4456 286
-Original Message-
From: arun [mailto:smartpink...@yahoo.com]
Sent: Wednesday, October 24, 2012 3:31 PM
To: Pancho Mulongeni
Cc: R help
Subject: Re: [R] Recode function car package erases previous values
Hi,
May be this helps:
set.seed(1)
dat1-data.frame(B20_C1=c(NA,sample(0:1,4
Hi Arun,
I also used to get that error, but what class is your nr.B20C, mine is not a
factor, it is numeric and perhaps that's why it works
-Original Message-
From: arun [mailto:smartpink...@yahoo.com]
Sent: Wednesday, October 24, 2012 4:35 PM
To: Pancho Mulongeni
Cc: R help
Subject
Perfect, thanks
-Original Message-
From: Rui Barradas [mailto:ruipbarra...@sapo.pt]
Sent: Wednesday, October 17, 2012 9:49 PM
To: Pancho Mulongeni
Cc: r-help@r-project.org
Subject: Re: [R] Setting all rows of a certain level to NA in a factor
Hello,
Try the following.
b - factor
, 3L,
1L, 1L, 1L, 1L, 3L, 3L, 1L, 3L, 4L, 1L, 1L, 4L, 3L, 1L, 3L, 1L,
1L, 3L, 1L, 1L, 4L, 1L, 1L, 1L, 4L, 3L, 1L, 3L), .Label = c( ,
5.6, No , Yes), class = factor)
Pancho Mulongeni
Research Assistant
PharmAccess Foundation
1 Fouchè Street
Windhoek West
Windhoek
Namibia
Tel: +264 61 419 000
24 matches
Mail list logo