[R] Question about logistic regression with ordered factor variable using the rms package (prev.Design)

2012-09-11 Thread Tom Willems
Dear R users, Hopefully someone can help me, Maybe I just misunderstand the function in the package? I am working with a logistic regression model. Until now I always worked with the basic glm function, where for the model was: ¡§ glm( disease ~ test.value + cnct ,

[R] Logit regression, I observed different results for glm or lrm (Design) for ordered factor variables

2012-09-06 Thread Tom Willems
Dear useR's, I was comparing results for a logistic regression model between different library's. themodel formula is arranged as follows: response ~ (intercept) + value + group OR: glm( response ~ (intercept) + value + group , family=binomial(link='logit')) lrm( response ~

[R] [R-sig-ME] lmer() - no applicable method for 'profile' under R version 2.15.1

2012-07-24 Thread Tom Willems
Hi all, I was working with the MEMSS mle4 library's under R version 2.15.1. apparently some practical functions of do not work under R 2.15.1. After searching the archives i found a mail thread on this subject, stating that these problems were partialy solved for R 2.12.0 but only for lmer()

[R] font size on graphics

2009-08-19 Thread Tom Willems
Dear R users, My question is about finding the proper font size for graphics. For this i had written a code that creats 4 diferent graphics and saves them as a png file. From these PNG.graphics , i select one of the proper size and past it to a word document. I have experimented with lots of

[R] font size on graphics question (correction in example,sorry)

2009-08-19 Thread Tom Willems
Dear R users, My question is about finding the proper font size for graphics. For this i had written a code that creats 4 diferent graphics and saves them as a png file. From these PNG.graphics , i select one of the proper size and past it to a word document. I have experimented with lots of

[R] Bootstrap problem

2008-10-20 Thread Tom Willems
Dear R-users, I'm having a small problem while bootstraping data. What i would like to do, is resmple the data and calulate a function on this, so i can estimate the measure of reproducability for this data. The function i wrote works fine, even while bootstraping. The only problem is that

[R] PNG file don't run on mac's?

2008-09-18 Thread Tom Willems
Dear R users, I 'm having problems with creating PNG graphic outputs. Usualy i create reports in HTML format, containing PNG graphics, so they can ealsaly be exported to word and xl and so on. On a windows pc that i use at work all works fine, but it never works on my mac. The HTML's i create

[R] help with SQL, how can i use functions in sql (pkg :sqldf)

2008-09-16 Thread Tom Willems
Dear R ussers , I was trying to summaryse data with sql, from the sqldf pkg. it seemed like a promessing solution, yet all i can do in this is calculate avg count and sum. where i d like to use confidence intervals and standard deviation as wel. now i was trying to find a solution my

[R] how do i save data to txt file? are there marcos to save tables to word?

2008-03-17 Thread Tom Willems
Dear R-ussers, I would like to save a newly created data file, out of R in to a text file. It is a rather big dataset, and recalculating the new variables takes a long time. The quickest way to read data is when it is saved as .txt, this is why i hope to read the data from the old txt, than

[R] how do i creat multiple back to back histograms?

2008-01-29 Thread Tom Willems
dear R-ussers, I would like to creeate a graph, i wich my data is presented as verticaly oriented histograms, wich give the frequency of the measured values, grouped per used measurement methode. So the X axis should hold the grouping variable and the Y axis a continuos variable. well not

[R] biserial correlation with pkg polycor

2007-10-29 Thread Tom Willems
Dear R-ussers, While looking for a way to calculate the association between a countinuous and a binary variable, i found a procedure called point biserial corralation. Me, not being a mathematicion, i did my very best to understand what it was all about, and then i found a easily

Re: [R] plot for binomial glm

2007-10-29 Thread Tom Willems
Dear Jonh, there is probably an easier way, but i find this to give nice smooth plots. good luck with it. ### R-file alive - data$num - data$numdead numdead - data$numdead temp - data$temp data.table - cbind(numdead, alive) points.graph - data$alive/data$num glm.mort-glm(data.table ~ temp,

[R] Question: Rcmdr and macbooks

2007-10-23 Thread Tom Willems
Hello dear Russers, I have noticed that certain verry handy functions, like plotMeans and ci.plot, only run under Rcmdr. Rcmdr does not run on a mac , so i hope someone out there knows about an Rcmdr module for mac's. Kind regards, Tom Willems Tom E-mail: [EMAIL PROTECTED] www.var.fgov.be

[R] Q: confidence intervals plotMeans, how do i discard NA's

2007-09-26 Thread Tom Willems
Dear R ussers, I noticed a small problem when ussing for example the function plotMeamns under Rcmdr. In this case a graph will be ploted, giving the means on the Y-axis, by a factor on the X-axis. All is correct when doing this, ussing 'sd' for error bars. The problem occures when ussing