Displaying 3 results from an estimated 3 matches for "fongchun".
2011 Jul 22
4
glmnet with binary logistic regression
Hi all,
I am using the glmnet R package to run LASSO with binary logistic
regression. I have over 290 samples with outcome data (0 for alive, 1 for
dead) and over 230 predictor variables. I currently using LASSO to reduce
the number of predictor variables.
I am using the cv.glmnet function to do 10-fold cross validation on a
sequence of lambda values which I let glmnet determine. I then take
2011 Mar 14
1
Rscript, hashbang, and arguments
Hi,
I have a bunch of R scripts which have the hash bang !/usr/bin/env Rscript
and I typically run these scripts by passing in some parameters like this:
./nameOfRScript arg1 arg2 ...
I know Rscript has the option to run in --vanilla. Where exactly do I
insert the --vanilla option? When I do something like this:
./nameOfRScript --vanilla arg1 arg2 ...
And I try to access the commandArgs,
2011 Oct 19
1
Cairo creates italized plots?
...'pdf_created.pdf' graph in which the text is
non-italicized. I am unable to find out what the difference is here and set
the Cairo() function to produce non-italicized text in my graphs. Both
graphic devices appear to default to Helvetica.
Anyone have any suggestions?
Thanks,
Fong
<fongchun at interchange.ubc.ca>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cairo_created.pdf
Type: application/pdf
Size: 6985 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20111019/b3514526/attachment.pdf>
-------------- n...