[R] grouping elements of a data frame

2013-01-15 Thread Nuri Alpay Temiz
Hi everyone, I have a question on selecting and grouping elements of a data frame. For example: A.df<- [ a c 0.9 b x 0.8 b z 0.5 c y 0.9 c x 0.7 c z 0.6] I want to create a list of a data frame that gives me the unique values of

[R] wrong with using subset

2010-01-13 Thread Ahmet Temiz
hello is it wrong with this expression: subset(dfpr2_r,(as.numeric(as.character(dfpr2_r$pr2))) > 0.2 && (dfpr2_r$landa > 10)) it gives nothing regards -- Open WebMail Project (http://openwebmail.org) -- This message has been scanned for viruses and dangerous content by MailScanner, and is

[R] convert factor data to numeric

2010-01-13 Thread Ahmet Temiz
hello could you give me a hint to convert data in factor type to numeric (float) ? regards -- Open WebMail Project (http://openwebmail.org) -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. _

[R] need a clarification on logistic regression

2010-01-12 Thread Ahmet Temiz
reciate if you explain. regards Ahmet Temiz -- Open WebMail Project (http://openwebmail.org) -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. __ R-help@r-project.org mailing list https:

[R] category with respect to category

2009-12-02 Thread Ahmet Temiz
hello I have two categorical data and want to visualise them to see their changes? Which graph do you recommend me for category with respect to category ? kind regards Ahmet Temiz -- Open WebMail Project (http://openwebmail.org) -- This message has been scanned for viruses and

[R] error message in having subset

2008-01-07 Thread temiz
hello I want to have subset of my dataset that is equal to 0. But, I got this error message. > hs2=hs[hs$hey60==0 ,] Error in hs[hs$hey60 == 0, ] : (subscript) logical subscript too long regards -- This message has been scanned for viruses and dangerous content by MailScanner, and is believe

[R] plotting categoric vs. categoric

2008-01-07 Thread temiz
hello which graph can I use for categoric var. vs categoric var. ? regards -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailm

[R] empty cells in ftable

2007-11-29 Thread temiz
hello when I enter: ftable(xtabs(cnt~jeo+slp+pcurv+asp+hey),data=dt) it gives a frequncy table. But some cells are empty. like this: 192 72 0 3 68 0 4 99 0 5 110 0