gt; Fede
>
>
>
Maybe like this:
> library(MASS)
> as.fractions(c(0, 0.15, 0.827, .06, 0.266))
[1] 0 3/20 62/75 1/15 4/15
>
Regards, Muhammad Subianto
__
R-help@stat.math.ethz.ch mailing list
https://stat
Dear; Marc Schwartz and Deepayan Sarkar,
Thank you both very much for the suggestions! These are exactly what I
was looking for.
Best wishes, Muhammad Subianto
On this day 12/01/2006 09:09 PM, Deepayan Sarkar wrote:
> On 12/1/06, Marc Schwartz <[EMAIL PROTECTED]> wrote:
>> On
eg|pos|neg| ...
| | | | | | | | | | | | | |
-
satu dua tiga empatsatudua ...
black blond
I would be grateful if anybody could help me.
Thank you very much.
M
ed
My problems is how to find AUC (with ROCR package, or other ROC
functions) from predict above.
Regards, Muhammad Subianto
> for more information see The kernlab package here:
> http://lib.stat.cmu.edu/R/CRAN/doc/packages/kernlab.pdf
>
> cheers,
> Amir
>
>
> *
"tpr","fpr")
perfid.auc <- performance(predid,"auc")
perfid.auc
Thank you very much for your help.
Best wishes, Muhammad Subianto
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEAS
Dear all,
Many thanks to Gabor Grothendieck and Jim Holtman, both of you always
reply (to answer) my problems.
Regards, Muhammad Subianto
##Gabor Grothendieck
If z is the result then z[[i]] is formed from x[[i]] and y[[i]] using
the previous solution, viz.
z <- list()
z[[1]] <- mapply(cb
17 1
[3,]38 13 18 -1
[4,]49 14 19 1
[5,]5 10 15 20 -1
Thanks you for any help.
Best wishes, Muhammad Subianto
#Gabor Grothendieck ggrothendieck at gmail.com
#Mon Aug 28 13:53:52 CEST 2006
Here are two ways:
1. use indexes:
lapply(seq(along = x), fun
Dear all,
To Gabor Grothendieck, (again) thanks you very much for your help.
Now, I can play around with lattice package.
Best, Muhammad Subianto
#Gabor
#reduce the data to a frequency matrix and
#then plot it using classic and then lattice graphics:
zm <- as.matrix(rowsum(z1[-9], z1
Dear all,
Many Thanks to Jacques VESLOT and Jim Lemon for their helps.
Best, Muhammad Subianto
#Jacques VESLOT
barplot(t(sapply(split(z1[,1:8], z1$V9),colSums)), beside=T)
#Jim Lemon
barplot(sapply(z1[1:8],by,z1[9],sum),beside=TRUE)
On this day 30/08/2006 11:43, Muhammad Subianto wrote
the result maybe like
| | | |
| | | | | || | |
|pos|neg| |pos|neg||pos|neg|
| | | | | || | |
- --
v1v2v3 v7 v8
Thanks you for any helps.
Regar
Dear all,
Dimitris, thanks for your great help and quick response.
Best, Muhammad Subianto
> dff[sapply(dff, is.matrix)]
[[1]]
[,1] [,2] [,3] [,4] [,5]
[1,]16 11 161
[2,]49 14 191
[3,]5 10 15 201
[[2]]
[,1] [,2] [,3] [,4] [,5]
I mean the result something like
[[1]]
[,1] [,2] [,3] [,4] [,5]
[1,]16 11 161
[2,]49 14 191
[3,]5 10 15 201
[[2]]
[,1] [,2] [,3] [,4] [,5]
[1]1611 161
[[3]]
[,1] [,2] [,3] [,4] [,5]
[1,]38 13 18 -1
On this day 28/08/2006 19:20, Muhammad Subianto wrote:
> Dear all,
> I am still working with "list".
> If I have an empty list how can I remove from list data.
> Here is a toy example:
> x <- list(matrix(1:20, 5, 4),matrix(1:20, 5, 4),matrix(1:20, 5,
> 4),matrix(1:20
8 13 18 -1
[2,]5 10 15 20 -1
[[5]]
[,1] [,2] [,3] [,4] [,5]
>
I want to remove these:
nc.test[[3]]
nc.test[[5]]
Because my list data have more 1000 lists are there any simple way to do this?
Best, Muhammad Subianto
points.neighb <- function(p.class, list.nc, class.co
(a, rbind)))
lapply(a, function(x) matrix(unlist(x), nrow = length(x), byrow = TRUE))
but I don't know how to fix it.
Regards, Muhammad Subianto
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the post
Dear all,
I would like to thank everybody who replied for their useful
suggestions. Maybe, I am going through the book statistics to teach
(fresh) myself.
Wish you have a nice weekend.
Regards, Muhammad Subianto
On this day 24/08/2006 18:59, Muhammad Subianto wrote:
> Dear all,
> I apo
7,]11146017 -1
[8,]11146018 -1
>
How can I do to check columns 2,3,4,6,7 and 9 have
the same value, and columns 1,5 and 8 have different values.
Best, Muhammad Subianto
__
R-help@s
Dear Stephen C. Upton & Petr Pikal
Thank you both very much for the suggestions!
Best wishes, Muhammad Subianto
On this day 24/08/2006 12:03, Muhammad Subianto wrote:
> Dear all,
> I have a dataset
> train <- cbind(c(0,2,2,1,0), c(8,9,4,0,2), 6:10, c(-1, 1, 1, -1, 1))
> t
quot;") %in% apply(test, 1, paste, collapse="")
It doesn't work.
How can I do.
Thanks for any help.
Best, Muhammad Subianto
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting
Dear all,
Andy, thanks you for your help and suggestions.
This is exactly what I was looking for.
Kindly regards, Muhammad Subianto
On 8/8/06, Liaw, Andy <[EMAIL PROTECTED]> wrote:
> There may be better ways, but this should work:
>
> R> p.yes <- 0.7
> R> n.yes <
Dear all,
Suppose I have a dataset like below, then I take for example, 100
random sample "class" variable where contains "yes" and "no"
respectively, 70% and 30%.
I need a new 100 random sample from mydat dataset, but I can't get the result.
Thanks you very
Dear JeeBee and all,
It is nice. Thanks you very much.
I must learn much more about ?as.fractions, ?as.numeric, ?as.character
and ?table functions.
Best wishes, Muhammad Subianto
On 7/28/06, JeeBee <[EMAIL PROTECTED]> wrote:
>
> Ah I see, I did not read your story well enough.
&
0 1
>
I need the result summary (order) like,
-1 1
0/42 0 4
2/42 1 1
4/42 0 3
5/42 0 1
9/42 1 2
13/42 1 1
16/42 0 1
17/42 0 2
21/42 1 0
22/42 0 1
Thanks very much for any suggestions.
Groeten & Regards, Muhammad Subianto
On 7/26/06, JeeBee &l
2/42 1 1
4/42 0 3
5/42 0 1
9/42 1 2
>
How to make the result as sort (to increase) like this,
-1 1
0/42 0 4
2/42 1 1
4/42 0 3
5/42 0 1
9/42 1 2
13/42 1 1
16/42 0 1
17/42 0 2
21/42 1 0
22/42 0 1
Maybe like this:
mosaic(allmorph, direction = "v", pop = FALSE,
gp=gpar(fill=c(grey(0.8),grey(0.4))))
Best, Muhammad Subianto
On 7/19/06, Gabor Grothendieck <[EMAIL PROTECTED]> wrote:
> If you look at ?mosaic the ... argument says it gets passed to strucplot and
> lookin
Maybe like this:
mosaic(allmorph, direction = "v", pop = FALSE,
gp=gpar(fill=c(grey(0.8),grey(0.4))))
Best, Muhammad Subianto
On 7/19/06, Gabor Grothendieck <[EMAIL PROTECTED]> wrote:
> If you look at ?mosaic the ... argument says it gets passed to strucplot and
> looking a
es, for example, in directory "/dir/of/pkgs"
library(tools)
write_PACKAGES("/dir/of/pkgs")
and the package will be installed to "/dir/of/R/libs"
install.packages("NameOfPkgs",
lib="/dir/of/R/libs",
repos=NULL,
dependencies=TRUE,
contriburl="file:dir/of/pkgs")
Best, Muhammad Subianto
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
osting guide! http://www.R-project.org/posting-guide.html
>
Try this below:
A <- letters[1:8]
B <- letters[1:8]
lp<-list(A,B)
expand.grid(lp)
Best, Muhammad Subianto
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/m
On this day 12/07/2006 15:57, Peter Dalgaard wrote:
> "Muhammad Subianto" <[EMAIL PROTECTED]> writes:
>
>
>> QuadSet.o RenderContext.o render.o rglview.o scene.o select.o Shape.o
>> SphereMesh.o SphereSet.o SpriteSet.o String.o Surface.o TextSet.o
>>
HTML package index in: tools:::unix.packages.html(.Library)
>
I think the error about missing devel-libraries on my fc5 but I do not
know which libraries are. I apologize for my poor linux knowledge and
expertise. Thank you very much.
Best, Muhammad Subianto
> version
_
platf
Dear all,
Per Jensen, thanks for your great help. All methods are very useful.
Best, Muhammad Subianto
On this day 20/06/2006 22:28, Per Jensen wrote:
> A couple of suggestions:
>
> #First solution
> mydatexpanded<-mydat[rep(1:5,mydat[,1]),]
>
> sampledat<-mydatex
1
random number is 46
1 1 1 1 1
random number is 3
0 1 0 1 1
random number is 28
1 1 0 1 1
So, the result random tuples (order from 6 random number):
0 1 0 1 1
0 1 0 1 1
1 1 0 1 1
1 1 0 1 1
1 1 1 1 1
0 0 0 0 1
I would be very happy if anyone could
FBrazil 0 0 0 positive
1 GFrance 0 0 0 positive
0 H Spain 0 0 0 negative
I would be very happy if anyone could help me.
Thank you very much in advance.
Kindly regards, Muhammad Subianto
__
R-help@stat.math.ethz.ch mailing
Thank you very much for your useful suggestions.
These are exactly what I was looking for.
foo <- list(foo1, foo2, foo3)
lapply(foo, function(x) matrix(unlist(x), nrow = length(x), byrow = TRUE))
or
lapply(foo, function(x) do.call('rbind', x))
Best, Muhammad Subianto
On 4/11
Thank you very much for your useful suggestions.
These are exactly what I was looking for.
foo <- list(foo1, foo2, foo3)
lapply(foo, function(x) matrix(unlist(x), nrow = length(x), byrow = TRUE))
or
lapply(foo, function(x) do.call('rbind', x))
Best, Muhammad Subianto
On 4/11
l
Thanks very much for any suggestions.
Sincerely, Muhammad Subianto
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
the following:
>
> out <- data.matrix(d)
> dimnames(out) <- NULL
> out
Thank you very much for your help.
Best, Muhammad Subianto
On 4/6/06, Muhammad Subianto <[EMAIL PROTECTED]> wrote:
> I have a question, which very easy to solve, but I can't find a solution.
)))
[1] TRUE
>
Yes, I get a matrix TRUE. But I need to change a column name like [,1]
[,2] [,3]. I need the result like
[,1] [,2] [,3]
[1,] 1011
[2,] 2021
[3,] 1031
[4,] 2043
[5,] 1052
[6,] 2062
How can I do that
for 'save.image' is shown in the browser
Regards, Muhammad Subianto
On 3/29/06, Philipp Pagel <[EMAIL PROTECTED]> wrote:
> On Wed, Mar 29, 2006 at 11:44:03AM +0200, Muhammad Subianto wrote:
> > How can I open/load "filename.zip"? Is there any function to ope
e corrupted) -- no data loaded
>
My question:
How can I open/load "filename.zip"? Is there any function to open R
workspace which it store in zip file? I hope some one can give me
advices.
Best, Muhammad Subianto
> version
_
platform i386-pc-mingw32
arch i386
os
Thanks you for your help.
Best wishes, Muhammad Subianto
On this day 27/01/2006 12:08, Dimitris Rizopoulos wrote:
> if it happens to know the denominator, then a simple approach could
> be:
>
> frac.fun <- function(x, den){
> dec <- seq(0, den) / den
> nams &
> [13] 19/75 4/15 22/75 8/25 1/3 26/75 28/75
>
On this day 27/01/2006 11:53, Prof Brian Ripley wrote:
> library(MASS)
> ?fractions
>
> help.search("fractions") gets you there.
>
Many Thanks to Berwin A Turlach and Prof Brian Ripley for
40
24/75 25/75 26/75
45 61117
28/75
62
Any suggestions would be appreciated. Thanks you.
Best, Muhammad Subianto
PS.
I found this website: http://www.mindspring.com/~alanh/frac
Thanks to Jim Holtman. This is very usefull to improve my script.
Best, Muhammad Subianto
On this day 20/12/2005 17:19, jim holtman wrote:
>try this:
>
>set.seed(1)
># generate some test data
>x.1 <- data.frame(seg=sample(1:6,20,T), class=sample(c('good',
>'po
: 4
good and poor class : 2,5
Thanks in advance.
Sincerely, Muhammad Subianto
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
L)
where .libPaths()[3] my local library (added in Renviron.site) and
update with
update.packages(ask="graphics",
repos=NULL,
contriburl="file:///h:/myFolder/myRepository")
Best, Muhammad Subianto
Cited:
- R News 5/1
- C:\Program Files\R\R-
ontrib/2.2/PACKAGES'
>
> ?update.packages
It produces these file in g:/myFolder/myRepository
PACKAGES
PACKAGES.gz
Could I make this folder (bin/windows/contrib/2.2/)? Why?
Regards, Muhammad Subianto
> version
_
platform i386-pc-mingw32
arch i386
os mingw32
syste
Yes, thanks you very much.
Regards, Muhammad Subianto
> HEC.list <- list(Hair=Hair,Eye=Eye,Sex=Sex)
> ?list
On this day 15/11/2005 12:54 PM, Muhammad Subianto wrote:
> Dear R-helpers,
> How can I put the object name in list.
>
> > Hair <- c("Black","
> HEC.list <- list(Hair,Eye,Sex)
> HEC.list
[[1]]
[1] "Black" "Brown" "Red" "Blond"
[[2]]
[1] "Brown" "Blue" "Hazel" "Green"
[[3]]
[1] "Male" "Female"
>
I expect the result l
ye.e, Sex.e).
In the others word, how can I make "expand.grid" (each level) from
data.frame automatically if Hair is only ("Black").
The result I need like,
Var1 Var2 Var3
1 Black Brown Male
2 Black Blue Male
3 Black Hazel Male
4 Black Green
Thanks to everyone for your help.
Yuup, this is my stupid word "secs" which I put there.
Usually I get to run simulation on my machine only a few seconds.
Now, I recode my timestamp, but still I don't know how to make
x days, x hours, x minutes, x seconds.
Best wishes, Muhammad Su
time: 1.960625 secs.
This is about two seconds or one day and nine hours?
Then, how could I convert to 1 day, 23 hours, ? minutes, ? seconds.
Thanks you very much for any suggestions.
Best wishes, Muhammad Sub
Dear All,
Perfect. Thanks you very much for your help.
Best, Muhammad Subianto
>>my.reducedID<-read.table(file.choose())
>>head(my.reducedID)
>
> V1 V2 V3 V4 V5 V6 V7 V8 V9
>[1,] 1 0 0 1 14 3 1 0 2
>[2,] 2 0 0 1 14 3 1 0 2
>[3,] 0 1 0
e very large dataset I can not make this manual.
Then I need the ID of row did not change, I mean like,
[3,]
[5,]
[29,]
In dataset this is about ID our customers.
I was wondering if anyone give me a trick to make simple.
Thanks you very much for any suggestions.
Best, Muhammad Su
> Your .Rdata file is probably corrupted.
I will investigate. Thanks for you info.
Because of my file .RData very large about 75MB.
Best wishes, Muhammad Subianto
On this day 19/10/2005 12:21 PM, Petr Pikal wrote:
> Hi
>
> Your .Rdata file is probably corrupted. Unless you ha
######
What is wrong?
Is there anyway to open .RData?
Regards, Muhammad Subianto
> R.version
_
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
status
major2
minor2.0
year 2005
month10
day 06
svn rev 35749
lan
Acchhh very easy, time to drink a cup of coffe, but
Thank you for your all.
apply(points, 2, max)
Best regards, Muhammad Subianto
On this day 17/10/2005 02:34 PM, Muhammad Subianto wrote:
> Dear R-list
>
> I have a dataset like below (points), how can I produce a max value fo
Dear R-list
I have a dataset like below (points), how can I produce a max value for
each column. I need a result like (I hope my eye correct):
[,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [,11] [,12]
[1,] 211 10 99 14 19695 8 5 7
This is a sm
Dear all, Martyn Plummer and Jim Holtman (offlist) thanks you for quick
respons. Now I understand. I need more machine and memory.
Thanks a lot.
Muhammad Subianto
--- 20 columns and 54 billion rows? O:-)
On this day 13/10/2005 01:45 PM, Martyn Plummer wrote:
>
>
> It's all abo
t;
Then I try to reduce:
> all.V.miss <-
expand.grid(V1,V2,V3,V4,V5,V7,V8,V9,V10,V11,V17,V18,V19,V20)
Error: cannot allocate vector of size 36288 Kb
>
What is that? Is this about memory or I must run on machine 64bit?
Regards, Muhammad Subianto
P4 2.0GHz 512MB RAM
> R.ver
e I am mistake.
I believe it is the problem of the code.
How should I fix this problem.
Thanks in advance for any help.
Best regards,
Muhammad Subianto
Here is a code:
neighb2 <- function(point,domains) {
nn2 <- sum(domains)*(sum(domains)-1)
nvar <- length(point)
neighb
On this day 16/09/2005 05:59 PM, Dieter Menne wrote:
> Muhammad Subianto gmail.com> writes:
>
>
>>I have a problem to make figures with two columns in package vcd.
>>Here an example code I take from "\library\vcd\html\plot.loglm.html"
>>What I need
, two plot.
Best wishes, Muhammad Subianto
library(vcd)
oldpar <- par(mfrow=c(1, 2))
## mosaic display for PreSex model
data(PreSex)
fm <- loglm(~ PremaritalSex * ExtramaritalSex * (Gender + MaritalStatus),
data = aperm(PreSex, c(3, 2, 4, 1)))
## visualize Pearson statistic
plot(fm
Z Y
91.0 Z Z
>
Regards,
Muhammad Subianto
On this day 6/17/2005 8:14 AM, Omer Bakkalbasi wrote:
> How do I convert the output of cor(x) to a columnar format?
> Ex. from format below
> XYZ
> X 1.0 0.9 0.5
> Y 0.9 1.0 0.1
> Z 0.5 0.1 1.0
>
>
Dear all,
Sean Davis, Dimitris Rizopoulos and Marc Schwartz, thanks for your great
help. It works perfectly. Thanks a lot.
All the best,
Muhammad Subianto
On this day 6/15/2005 4:06 PM, Sean Davis wrote:
> > x <- data.frame(matrix(c(1,0,1,0,1,1),nrow=3))
> > x[x==0] <-
can I change automatically 0=no and 1=yes.
Thank you very much in advance.
Kindly regards,
Muhammad Subianto
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org
On this day 6/15/2005 12:03 AM, Gabor Grothendieck wrote:
> Is the code in your post intended to show what worked so others
> will know what to do
Yes, I succes to remove and install gregmisc again like I have posted
before.
Regards,
Muhammad Subianto
or is that code intended to sho
;, .libPaths()[1])
> update.packages()
> update.packages()
> update.packages(ask='graphics')
Regards,
Muhammad Subianto
R.2.1.0 on W2K
On this day 6/14/2005 1:51 PM, Gabor Grothendieck wrote:
> On 6/14/05, Muhammad Subianto <[EMAIL PROTECTED]> wrote:
>
>>Dear
ded 2465 bytes
package 'gregmisc' successfully unpacked and MD5 sums checked
...
then try to update again, still I must update package gregmisc, etc.
I have tried 3,4,5, times with the same result.
Best,
Muhammad Subianto
> version
_
platform i386-pc-mingw32
arch i386
Dear all,
Again, I would like to thank Gabor Grothendieck for your help.
I can improve which you suggest with the others combination.
And thank you for your time.
Sincerely,
Muhammad Subianto
On this day 6/13/2005 2:38 PM, Gabor Grothendieck wrote:
>
> The pattern seems to be that ea
Dear R-helpers,
On this day 6/12/2005 10:48 AM, Muhammad Subianto wrote:
> Dear All,
> Many thanks to Marc Schwartz and Gabor Grothendieck who have explained
> me about using expand.grid function and clearly explain how to use
> JGR.
>
>
>>dd <- expand.grid(in
7 usblcd laptop yes
25 usblcd pcno
>
Regards,
Muhammad Subianto
Notepad, Copy and Paste are my best friend to use R.2.1.0 on windows 2000
On 6/11/05, Gabor Grothendieck <[EMAIL PROTECTED]> wrote:
> On 6/11/05, Marc Schwartz <[EMAIL PROTECTED
infralcd pc yes
bluetoothlcd pc yes
usb cubepc yes
usb lcd server yes
usb lcd laptop yes
usb lcd pc no
How can I do that?
I was wondering if someone can help me.
Thanks you for your time and b
Dear all,
Thank you very much for your help.
I would like to thank Andy Liaw and Gabor Grothendieck for their fast help.
Regards,
Muhammad Subianto
On this day 6/10/2005 2:30 PM, Liaw, Andy wrote:
> Is this what you want?
>
>
>>d[] <- lapply(d, as.character)
>>
ot;,"D",..: 1 2 3 4 5 6 7 8 9 10
$ fac: Factor w/ 3 levels "A","B","C": 1 1 1 1 2 3 1 3 2 1
> d[3,]
x y fac
3 XYZ C A
>
> as.character(d[3,])
[1] "1" "3" "1"
>
I think as.character the result
Dear R-Helper,
I want to know, is there any function/package can handle adaboost more
two classes?
I know packages gbm and boost, but there are only for 2 classes (correct
me if I mistake).
Regards, Muhammad Subianto
__
R-help@stat.math.ethz.ch
Dear all R-helpers,
Thanks you very much for your help. I would like to thanks Sean Davis
and Gabor Grothendieck for their help.
Best wishes, Muhammad Subianto
On this day 6/2/2005 3:21 PM, Gabor Grothendieck wrote:
>
> Try this:
>
> names(prima) <- paste("xyz", names
xyz.glu" "xyz.bp" "xyz.skin" "xyz.bmi" "xyz.ped" "xyz.age"
"xyz.type"
How can I make this (automatically). I don't want to make manual with
more 100 variables.
I would be very happy if anyone could help me.
Thank you for your time.
Kindly regards, Muhammad Subianto
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
icplot(~ Hair+Eye+Sex+Opinion, data=toy.mosaics, color = TRUE)
x11()
# 5 variables (where is label name Race?)
mosaicplot(~ Hair+Eye+Sex+Opinion+Race, data=toy.mosaics, color = TRUE)
x11()
# 6 variables (where are label name Race and Age?)
mosaicplot(~ Hair+Eye+Sex+Opinion+Race+Age, data=toy.mosa
Dear all,
Many thanks for your help.
Regards,
Muhammad Subianto
On this day 5/18/2005 4:57 PM, Liaw, Andy wrote:
> Is this what you want?
>
>
>>split(a, row(a))
>
> $"1"
> [1] 1 5 9
>
> $"2"
> [1] 2 6 10
>
> $"3"
> [1]
Dear R-helper,
Is there possible to make this array:
> a <- array(1:12, c(4, 3))
> a
[,1] [,2] [,3]
[1,]159
[2,]26 10
[3,]37 11
[4,]48 12
>
like:
c(1,5,9)
c(2,6,10)
c(3,7,11)
c(4,8,12)
Thank you very much in advance.
Regards,
Muham
= "#FF",
salmon.light = "#dd9955",
yellowF = "#00")
barplot(1:4,col = print.bw4)
Best,
Muhammad Subianto
On this day 5/16/2005 2:42 PM, Uwe Ligges wrote:
Muhammad Subianto wrote:
Thank's you very much.
But I need the plot with color not gray.
Dear Dr. Paul Murrel,
Yes, this is exactly what I need.
Thank's you very much.
Best wishes,
Muhammad Subianto
On this day 5/16/2005 5:36 AM, Paul Murrell wrote:
Hi
(cc'ed to Pierre Lapointe because this should answer the question
about "[R] Centered overall title with layout()"
Thank's you very much.
But I need the plot with color not gray.
Best wishes,
Muhammad Subianto
On this day 5/14/2005 3:05 AM, [EMAIL PROTECTED] wrote:
Muhammad,
Here's one option:
barplot(1:5,col=gray(seq(0,1,length=5)))
Norm Olsen
Fisheries and Oceans Canada
-Original Message
d help me.
Thank you very much in advance.
Kindly regards,
Muhammad Subianto
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
|
|| || ||
-- --
-
||
Group B | plot 4 |
||
-
I would be very happy if anyone could help me.
Thank you very much in advance.
Sincerely,
Muhammad Subianto
.
.
.
Brown Blond
Brown Blond
Brown Blond
Brown Blond
Brown Blond
Brown Blond
Brown Blond
How can I do it.
Thanks you for your help.
Best regards,
Muhammad Subianto
http://article.gmane.org/gmane.comp.lang.r.general/14604,14610
__
R-help@stat.math.ethz.ch m
Excellent, this is exactly what I was looking for.
Many thanks and best regards,
Muhammad Subianto
On 4/29/05, Liaw, Andy <[EMAIL PROTECTED]> wrote:
> Try:
>
> a <- data.frame(Sepal.Length=1:4, Sepal.Width=2:5,
> Petal.Length=3:6, Petal.Width=4:7,
>
d help me.
Thank you very much in advance.
Kindly regards,
Muhammad Subianto
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Thanks all for your help.
Kind regards,
Muhammad Subianto
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
1.4 0.2 setosa
4.9 3.1 1.5 0.1 setosa
Sincerely,
Muhammad Subianto
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-pr
Thanks you very much.
>
> levels(y.iris)
>
Best regards,
Muhammad Subianto
[[alternative HTML version deleted]]
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting gu
virginica virginica virginica virginica virginica
[145] virginica virginica virginica virginica virginica virginica
Levels: setosa versicolor virginica
I want like,
y.iris level are,
[] setosa versicolor virginica
Best regards,
Muhammad Subianto
___
ery difficult to know which
variables showing in the plot. Are there any trick which variables are
showing in plot.
Thanks for your help.
Muhammad Subianto
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do rea
Thanks to all of you.
That's what I want.
Best wishes,
Muhammad Subianto
Try
tapply(prevRND.dat$Z, list(X=prevRND.dat$X, Y=prevRND.dat$Y), mean)
__
Andy Jaworskitry:
try:
tapply( Z, list( X, Y ), mean )
--
Bendix Carstensen
How about:
xt
0.000533 0.986467 0.032066
C 0.005333 0.00 0.009266
I cannot use table() or ftable() functions because the 3rd column (Z) is
probability. Are there any function to make a table as I want?
Kind regards,
Muhammad Subianto
__
[EMAIL PROTECTED] mailing
Maybe you can try with the other RHEL clone like CentOS-3:
http://install.linux.duke.edu/pub/linux/add-on/distrib/centos-3.1/i386/rpms/R-1.9.0-0.duke.1.el3.i386.rpm
http://install.linux.duke.edu/pub/linux/add-on/distrib/centos-3.1/i386/srpms/R-1.9.0-0.duke.1.el3.src.rpm
Best wishes,
Muhammad
Dear R-helper,
I use like this below (from Prof. Peter Dalgaard) and thanks to other
R-helper for your help.
Best regard,
Muhammad Subianto
as.data.frame(as.table(hec.data))
eye hair Freq
1 Green Black5
2 Hazel Black 15
3 Blue Black 20
el 15
Black Blue 20
Black Brown 68
Brown Green 29
Brown Hazel 54
Brown Blue 84
Brown Brown 119
Red Green 14
Red Hazel 14
Red Blue 17
Red Brown 26
Blond Green 16
Blond Hazel 10
Blond Blue 94
Blond Brown7
How can I do it. Thanks you for your help.
Bes
Dear R-helper,
I have a data set like:
OLDa
ALL
OLDc
OLDa
OLDb
NEW
OLDb
OLDa
ALL
. . .
ALL
OLDc
NEW
I want to convert that data as OLDa=1, OLDb=2, OLDc=3, NEW=4 and ALL=5
or the result like:
1
5
3
1
2
4
2
1
5
. . .
5
3
4
How can I do it. Thanks you for your help.
Best regards,
Muhammad Subianto
1 - 100 of 101 matches
Mail list logo