[R] Count or summary data

2005-12-30 Thread Xiyan Lon
[14,] -1 0.05 [15,]1 0.00 How could I count (summary) all my data which I need the result like for 0.05 -1 0 1 2 2 1 for 0.00 -1 0 1 2 0 3 for 0.10 -1 0 1 2 2 1 I have tried with summary but I did not find what I need. Maybe someone could help me. Happy new year. Xiyan

Re: [R] How to get a list work in RData file

2005-08-15 Thread Xiyan Lon
Dear Prof. Brian, Why I need to know, because I lost my work and code which I used in my project. Lucky I always save my work which RData file. But I forgot which list, function, initial, etc I used. Xiyan Lon Prof Brian Ripley wrote: > On Mon, 15 Aug 2005, Xiyan Lon wrote: > >> D

[R] How to get a list work in RData file

2005-08-15 Thread Xiyan Lon
quot; > > ls.str(pat="xyadd") xyadd : num 5 xyadd1 : num [1:4] 93 50 65 38 > When I run, I know the result like above > xyadd [1] 5 > xyadd1 [1] 93 50 65 38 > what I want to know, is there any function to make the result like: > xyadd test.xy

Re: [R] Read a dataset with different lengths

2005-03-21 Thread Xiyan Lon
Thank you for your quick respons, helps, advise, links, etc. I have solved my problems now. Best wishes, Xiyan Lon __ 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

[R] Read a dataset with different lengths

2005-03-21 Thread Xiyan Lon
it did not work. > library(rmutil) Error in library(rmutil) : 'rmutil' is not a valid package -- installed < 2.0.0? > Are there any others function to handle this. Best regards Xiyan Lon > version _ platform i386-pc-mingw32 arch i386

Re: [R] Convert numeric to class

2005-03-21 Thread Xiyan Lon
I want to see what class/type (in this example, Species) was possible exits in my iteration. Best regrads Xiyan Lon __ 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

[R] Convert numeric to class

2005-03-21 Thread Xiyan Lon
al.Width Petal.LengthPetal.Width Petal.LengthPetal.Width Petal.LengthPetal.Width How can I do? Thanks in advance. Xiyan Lon __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman

[R] Packages for multi-class classification with boosting

2005-03-15 Thread Xiyan Lon
Are there any packages to handle multi-class classification with boosting. I know adaboost function include in package "boost" but that is only for two-class. Thanks for your help. Xiyan Lon __ R-help@stat.math.ethz.ch mailing list https://st

Re: [R] There is no package gregmisc (was why package gregmisc did not work)

2004-10-18 Thread Xiyan Lon
c', but > there is no more. > > See > http://cran.r-project.org/src/contrib/Descriptions/gregmisc.html > > > On Mon, 18 Oct 2004, Xiyan Lon wrote: > > > Dear useR > > > > I want to know why package gregmisc did not work > very

[R] why package gregmisc did not work

2004-10-18 Thread Xiyan Lon
Dear useR I want to know why package gregmisc did not work very well. I did not find this package in my library directory. > local({a <- CRAN.packages() + install.packages(select.list(a[,1],,TRUE), .libPaths()[1], available=a, dependencies=TRUE)}) trying URL `http://cran.r-project.org/bin/windows

[R] random discrete from the first tuple

2004-09-28 Thread Xiyan Lon
> x x1 x2 x3 x4 1 C F X1 F 2 B M X2 F 3 A F X2 W 4 A F X2 F 5 C M X3 P 6 A F X1 F > but I want to make from the first tuple only one variable change to next tuple, C F X1 F B F X1 F A F X1 F C M X1 F B M X1 F A M X1 F C F X2 F B F X2 F A F X