[R] change library path (for dummies)

2010-10-21 Thread clee
hi all, How can I change the library path in R? I don't have permission to write to the default R library on the computer I am running R on. I have searched the forum and have not found anything that I understand, so I apologize if this has been asked before. Thanks very much! -C -- View this

[R] help with simple but massive data transformation

2010-10-11 Thread clee
I have data that looks like this: start end value 1 4 2 5 8 1 9 100 I want to transform the data so that it becomes: startend value 1 2 2 2 3 2 4 2 5 1 6

[R] change mbmdr odds ratio

2010-03-31 Thread clee
I am using the package 'mbmdr' based on the model-base multifactor dimensionality reduction method by Calle et al. In the paper, mbmdr is used for a case-control study. My data is not case-control, i.e. I have a lot more controls than cases. Does anyone know if the odds ratio in the fuction mbm

[R] modify the levels of a variable

2010-03-10 Thread clee
If anyone can help with this, I would greatly appreciate it. When I subset a dataframe, and then create a table of on of the column variables, the levels of that variable are retained from the parent dataframe. Anyone know how to for example, say I have data like so: data: X Y a 2 b