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
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)
l
7;Sheiks','Trojans','Unamed),10) and I would have my desired
datafram for anova.
But alas my 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
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 Foundat
ilable'.
Where did I go wrong?
I think I will just 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
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
.582733",
"-22.084367,16.750031", "-22.182318,17.072754", "-22.447841,18.962746",
"-22.576608,17.07859", "-22.649502,14.532166", "-22.832516,17.183304",
"-22.934365,14.521008", "-22.947328,14.508991", "-24.4777
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-p
is 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://stat.e
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
4" "2020-05-14" "2020-05-14" "2020-05-14" "2020-05-14"
What am I doing wrong?
I dare not say the word 'bug'
Thanks
Pancho Mulongeni
Research Assistant
PharmAccess Foundation
1 Fouché Street
Windhoek West
Windhoek
Namibia
Tel: +264 61 419 000
F
I get the correct data, as the previous versions of dummy are 'masked from the
search path'. What stops me from continuing this process ad infinitum?
What's the use of detaching dummy using detach()?
Thanks
Pancho Mulongeni
Research Assistant
PharmAccess Foundation
1 Fouché S
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 licen
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 of
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
uot;Autoloads" "package:base"
Also when I enter the names of factors in this dataframe, such as 'AGE', I get
a list of data values.
This is weird, why does it not disappear from the search path?
Thanks
Pancho Mulongeni
Research Assistant
PharmAccess Foundation
1
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? It
the two columns, but that's
ok, 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 W
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
Su
-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:
This inconvenient as I would like to have ultimately the following table
pharm
No Yes no resp
716 7 6 (FROM nr.B20C where row has value 1).
Background. The variable pharm assess where you used the pharmacy to get your
contraception.
Pancho Mulongeni
Research
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 <- fac
1L, 4L,
4L, 1L, 3L, 4L, 1L, 1L, 1L, 1L, 3L, 1L, 1L, 1L, 3L, 3L, 1L, 1L,
1L, 1L, 3L, 4L, 1L, 1L, 3L, 3L, 4L, 4L, 1L, 3L, 1L, 4L, 1L, 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"
24 matches
Mail list logo