Dear R users
I used glmnet generating a regression model, now I need to convert it to pmml
format, but I noticed pmml r package doesn't support glmnet object, has anyone
find a way solving this problem? I was thinking convert glmnet object to glm
object, has anyone tried it?
Many thanks
Yan
Dear R gurus,
I'm trying to use jit package to parallel my computing
do you put jit(2) /jit(1) in front of every loops? I got 8 nested loops
in my code.
many thanks
yan
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-he
Dear All,
I need to use simulated annealing for optimization
is there a way to limit the search place to only discrete values? And
also exclude certain solutions, e.g. exclude the solutions when all the
variables are the same?
many thanks
Yan
__
R
I am using function restrictedparts, but got error:
restrictedparts(281,10)
Error in integer(len) : vector size specified is too large
Calls: restrictedparts -> integer
In addition: Warning message:
In restrictedparts(281, 10) : NAs introduced by coercion
Error in integer(len) : vector size spec
Dear All,
I'm wondering if there is a R function could give me all the
combinations of the grouping/cluster result, given the number of the groups.
e.g.
3 objects: x1 x2 x3, number of groups is 2
so the result will be
group1:x1,x2; group2: x3
group1: x1;group2: x2,x3
group1: x1,x3;group2: x2
m
Dear all,
I'm just wondering how to submit a package to cran?
I followed the instruction, using anonymous as username and my email address as
password, but it didn't connect.
Any hints?
Yan
[[alternative HTML version deleted]]
__
R-help@r-pr
Dear All
I'm trying to sort a matrix using function order,
Some thing really odd:
e.g.
abc<-cbind(c(1,6,2),c(2,5,3),c(3,2,1))## matrix I want to sort
if I do
abc[ order(abc[,3]), increasing = TRUE]
the result is correct
[,1] [,2] [,3]
[1,]231
[2,]652
[3,]12
Dear R users,
I need to add 0 in front of a series of numbers, e.g. 1->001, 19->019,
Is there a fast way of doing that?
Many thanks
yan
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/lis
Dear R users,
How to show mean in the boxplot instead of median ?
Many thanks
Yan
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://w
Dear R users,
I'm trying to add a regression line on my boxplots (something
like:boxplot(c(1:3),c(4:6),c(5:8)))
But I can't see it.
Please help !!!
It's not a April fool's joke!!!
Yan
[[alternative HTML version deleted]]
__
R-help@r-project.o
Dear R user
How to make the program stop at the spot where the error occurs? I mean
inside the iterations,.
Many thanks
yan
**
This email and any files transmitted with it are confide...{{dropped:10}}
__
Dear brainy R users,
I need to output a matrix, with two colors , meaning some elements using
different color
I normally use write.table(table.m, file="table file name.csv",
sep=","), how could I pass the index for the color ?
Many thanks
yan
**
Dear R users
I need to solve the finding all cliques in a graph problem, is there a R
package implementing Bron-Kerbosch algorithm?
Many thanks
YAn
**
This email and any files transmitted with it are confide...{{dropp
Dear R gurus,
If I got a vector with string characters like "abcd_efgh_12ab3_dfsfd",
how could I extract "12ab3", which is the characters after second
underscore and before the third underscore?
Tons of thanks
yan
*
Dear R users?
I want to know how to use strata in survival analysis, I want to combine
multiple dataset:
Coxph(Surv(merged.time.v, merged.event.v)~merged.score+
strata(dataset.v))
So merged.time.v and merged.event.v are from multiple datasets.
How should I define dataset.v here?
Ma
Dear R guru:
If I got a variable
aaa<- "up.6.11(16)"
how can I extract 16 out of the bracket?
I could use substr, e.g.
substr(aaa, start=1, stop=2)
[1] "up"
But it needs start and stop, what if my start or stop is not fixed, I
just want the number inside the bracket, how can I achi
Dear All,
I'm generating a heatmap, is there a way to make Y axis name display
horizontally, X axis name display vertically?
I tried using "horiz=TRUE":
axis(1,at=1:dim(cor.meta.m)[1],labels=gsub("module","",pw.names),horiz=T
RUE)
but got warning message and the name is not displayed as I wi
Dear R users,
I'm using igraph package for clustering, just wondering is
leading.eigenvector.community function result deterministic or not?
I got slightly different results on different runs...
Many thanks
Yan
***
I'm using R x64 2.11.0(windows)
I was trying to load workspace I saved some days ago, but got the
error:
ReadItem: unknown type 63, perhaps written by later version of R.
Has anyone come across the same problem? Any solutions?
Many thanks
yan
*
19 matches
Mail list logo