Couple of problems:
1) The Posting Guide clearly states that this is not a homework help forum. We
don't know what rules your study is constrained by, but if you are doing
homework then we do know you have resources at your educational institution to
rely on.
2) If this is not homework, why th
Hi,
It is better to ?dput() the dummy dataset.
I made up some data for female==0
dat1<- read.table(text="
pbnr dat dep dys sop ago mis age female messpunkt2 messpunkt1 tage
eintrittsjahr
1 10023 1994-02-21 0.75 1.00 0.50 0.50 0.75 35 1 8817 8817 0
1994
2 10023
table(scltotal$female,scltotal$dys)
Best Regards,
Bhupendrasinh Thakre
Sent from my iPad
On Jun 15, 2013, at 3:58 PM, Sophie Homeyer
wrote:
> Hi,
> i am new to this forum and not sure how it works,
> I am trying to do deskriptive descripe my data in terms of gender:
>
> head(scltotal)
>
>
Thank you Steve for the solution: As per your suggestion I spend some time
to make it work for 2 variables.
nvar = 3 # number of variables
ncol<- nvar*2
func1<- function(x) {sapply( strsplit(as.character(x), ""),
match, table= c("1","2","3","4",NA))}
mydf1 <- data.frame(t
Hi,
There are a couple of ways to do what you want.
I'll provide the fodder and let you finish the implementation.
On Sun, May 1, 2011 at 4:26 PM, Ram H. Sharma wrote:
> Hi R experts
>
> I have a couple of quick question:
>
> Q1
> #my data
> set.seed(12341)
> SN <- 1:100
> pool<- c(12,13,14, 2
5 matches
Mail list logo