Dear R users,
I'd like to change the default order of colors line types.
Especially I am using ggplot2 and using color Set1.
In Set1, the default color order is red, blue, green, violet,.. ect.
However, I want to put red in fourth (not first).
Likewise, I want to change the order of default
Dear R users,
I'd like to change the default order of colors line types.
Especially I am using ggplot2 and using color Set1.
In Set1, the default color order is red, blue, green, violet,.. ect.
However, I want to put red in fourth (not first).
Likewise, I want to change the order of default
Dear listers,
I am trying to install RcppBDT_0.2.1 on my Windows machine using the function
install.packages(./RcppBDT_0.2.1.tar.gz, repos=NULL, type=source).
Since this package is not like most of other packages in that it
requires Rcpp and boost,
I have installed Rcpp and boost first, and
Dear my R friends,
I want to get a number from a list using paste function.
In my example,
lambda.rule - lambda.1se
cvtest is a list (result from cv.glmnet)
and
cvtest$lambda.1se
[1] 1.308973
I want to call the value using paste function.
I used get function but there was an error.
test -
Dear All,
I want to change file names.
I have file0.1_data.RData (I have several files whose names are
file0.x_data.Rdata)
I want to rename it to file1_data.RData
How can I do it?
Thank you for saving my time!
[[alternative HTML version deleted]]
Hi.
I am trying to generate a correlated binary data set.
I've tried to use mvtBinaryEP, binarySimCLF, and bindata packages but none
of them works in R version 2.15.1.
Do you know any package to generate correlated binary covariates and work
in R version 2.15.1, or how to generate it?
Thanks,
Thanks for the response. It turns out it was not a problem of R but the
problem on setting options in R studio :(
Thank you!
On Wed, Jul 4, 2012 at 2:25 PM, Peter Ehlers ehl...@ucalgary.ca wrote:
On 2012-07-04 11:25, Soyeon Kim wrote:
Hi.
I am trying to generate a correlated binary data set
Dear All,
I have vn variable
vn
[1] V300 V376
What I want to get is
300 376
without V and from vn variable.
Could you help me about this issue?
Thank you,
Soyeon
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
Dear All,
I've tried install Rwinedt using my Winedt 6.
I cannot see R tab in Rwinedt even though I followed the instruction.
(Installed RWinEdt and called the library)
Version 6 doesn't work? If not, if would you recommend an R editor for
window user?(Except for Emacs)
Thanks,
Dear All,
This is hard to describe so I made a simple example.
set.seed(1001)
total - 0
data - vector(list, 30)
for(i in 1:30) {
data[[i]] - runif(50)
}
Let's call a data set runif(50).
While the for loop is running, 100 data sets are generated.
I want to restore 23th data set (the data set
an error:
Error in prediction(predic, y) : Number of classes is not equal to 2.
ROCR currently supports only evaluation of binary classification tasks.
How can I solve this problem?
Thank you,
Soyeon Kim
__
R-help@r-project.org mailing list
https
Dear R users,
Hi. I want know R code of a function: predict.cv.glmnet (which is
included in glmnet package).
Could you let me know how I can see the R code of the function?
Thank you,
Soyeon Kim
__
R-help@r-project.org mailing list
https
, Jannis bt_jan...@yahoo.de wrote:
Just type the name of your function without (). Or use fix(functioname). Or
do you need to do something more complicated?
HTH Jannis
--- Soyeon Kim yunni0...@gmail.com schrieb am Do, 14.4.2011:
Von: Soyeon Kim yunni0...@gmail.com
Betreff: [R] How to see
Dear All,
I used glm and then used step function for stepwise regression.
Now, I want to store the variables used in the stepwise regression.
The code is the following.
m_logistic - glm(y ~ . + M1:T + M2:T + M3:T+ M4:T +M5:T,
family=binomial(logit), data = data)
step_glm - step(m_logistic)
Thank you. This is what I want.
I need to study about attr :).
Soyeon
On Fri, Feb 4, 2011 at 11:07 AM, David Winsemius dwinsem...@comcast.net wrote:
On Feb 4, 2011, at 11:56 AM, Soyeon Kim wrote:
Dear All,
I used glm and then used step function for stepwise regression.
Now, I want
I want to change leaf color by group in hclust plot.
I've seen several answers about A2R package but I cannot install A2R
and Rtools in windows.
Do you know how to install A2R package in windows or how to change
leaf color by group in hclust plot?
Thank you in advance,
Soyeon
Dear All,
When I have a numeric vector, I want to change it to one character value.
For example,
When I have
test - c(4, 5, 3, 2)
I want to change it to 4 5 3 2(one character value)
How can I get it?
Thanks in advance,
Soyeon
__
R-help@r-project.org
Dear All,
I want to print out graph1.png graph2.png graph3.png ... How
can I print it out?
Thank you,
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
us more context/details on what you are trying to do. I
will undoubtedly help us to help you. In this case, the posting guide is
your friend.
HTH,
Jorge
On Fri, Nov 19, 2010 at 3:57 PM, Soyeon Kim wrote:
Dear All,
I want to print out graph1.png graph2.png graph3.png ... How
can I
Dear All,
I made a function which gives 3 plots in one window(I used
par(mfrow=c(1,3)) in the function).
Using that function 3 times, I want to produce 9 plots in one window.
I tried par(mfrow=c(3,1)) or par(mfrow=c(3,3)) but it didn't work.
For example,
pf - function(p) {
par(mfrow=c(1,3))
Dear All,
I have data which contains 14 variables. And I have to regress one of
variables on each variable (simple 13 linear regressions)
I try to make a loop and store only R-squared
colnames(boston)
[1] CRIMZN INDUS CHASNOX RM AGE
[8] DIS RAD TAX PTRATIO
Dear All,
I am in a trouble with reading data.
It is in txt file looking like this.
0.00632 18.00 2.310 0 0.5380 6.5750 65.20 4.0900 1 296.0 15.30
396.90 4.98 24.00
0.02731 0.00 7.070 0 0.4690 6.4210 78.90 4.9671 2 242.0 17.80
396.90 9.14 21.60
0.02729
Dear All,
I try to find the name of function to calculate mod(or Modular).
Do you anyone know the name of function?
Thank you so much,
Soyeon Kim
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read
Dear All,
My data looks like this
new_ns
chr nc_two nc_not_two
11488 58
22325114
33233 79
44200153
55239 53
66196313
77229 45
88231137
99164111
10
Dear All,
I want to sort a character type vector.
the vector is
[1] 4 5 6 8 9 11 Y 1 13 15 16 20 X 2 3 10 14 19 XY 7 12 18 17 22
[25] 21
and I want to sort 1-22 X Y XY or 1-22 X XY Y.
How can I do that?
Thanks,
__
R-help@r-project.org
Dear All,
What I want is change following data
data
alc status age freq
1 0 0 0 408
2 1 0 0 64
3 0 1 0 26
4 1 1 0 30
5 0 0 1 258
6 1 0 1 45
7 0 1 1 78
8 1 1 1 66
To this table.
age =0
Does anyone know of software to calculate confidence intervals for the
non-parametric estimate of the survival distribution when data are
interval censored, ie, for the Turnbull estimate?
Thanks, Soyeon
__
R-help@r-project.org mailing list
27 matches
Mail list logo