Displaying 9 results from an estimated 9 matches for "xiyanlon".
Did you mean:
xianlin
2004 Oct 18
2
why package gregmisc did not work
...2
minor 0.0
year 2004
month 10
day 04
language R
>
Then I check:
http://cran.r-project.org/bin/windows/contrib/checkSummaryWin.html
package gregmisc only warning on R-1.9.1 not R-2.0.0
Best regards,
xiyanlon
2009 Apr 16
2
Count data with several numbers separated by commas
...each variables.
I know how to count for variable x2 and x3 and make barplot for x2 and
x3, but I don't know how to count data in variable x1.
Are there any trick how to count data in variable x1?
The result maybe like:
x1
1 9
2 6
3 2
4 4
5 8
x2
1 5
2 5
x3
1 4
2 6
Thank you for any help.
Xiyanlon
2005 Dec 30
4
Count or summary data
Dear all,
I want to summary and count my data something like
> te.Ce
[,1] [,2]
[1,] -1 0.05
[2,] 1 0.05
[3,] 1 0.00
[4,] 0 0.05
[5,] -1 0.00
[6,] 0 0.10
[7,] 1 0.10
[8,] -1 0.00
[9,] -1 0.10
[10,] 0 0.05
[11,] 0 0.10
[12,] -1 0.10
[13,] 1 0.00
[14,] -1 0.05
[15,] 1 0.00
How could I count (summary) all my data which I need the result like
2010 Aug 21
1
How to find residual in predict ARIMA
Dear All,
I have a model to predict time series data for example:
data(LakeHuron)
Lake.fit <- arima(LakeHuron,order=c(1,0,1))
then the function predict() can be used for predicting future data
with the model:
LakeH.pred <- predict(Lake.fit,n.ahead=5)
I can see the result LakeH.pred$pred and LakeH.pred$se but I did not
see residual in predict function.
If I have a model:
[\
Z_t =
2005 Mar 21
5
Read a dataset with different lengths
Dear useR again,
How can I read a dataset if lines in dataset did not have same
elements (have different lengths), For example:
1 2, 4, 16, 1, 1, 3, 1, 1, 15, 5, 1, 1, 14, 1, 1
2 2, 13, 5, 1, 1, 3, 1, 1, 15, 5, 1, 1, 14, 1, 1
3 4, 5, 11, 1, 1, 6, 1, 1, 5, 14, 1, 1, 15, 1, 1
4 2, 5, 9, 1, 1, 14, 1, 1, 8, 16, 1, 1, 13, 1, 1
5 3, 7, 14, 1,
2004 Sep 27
1
random discrete from the first tuple
Dear UseR
I have a dataset, for instance x1(A, B, C), x2(M,F), x3(X1,X2,X3,X4)
and x4(W,F,P). I want to make a small dataset with the random tuple. I
know package e1071 can handle a random discrete,
> library(e1071)
> x1 <- rdiscrete(6, c(2,2,2), c("A","B","C"))
> x2 <- rdiscrete(6, c(3,3), c("M","F"))
> x3 <-
2005 Mar 15
0
Packages for multi-class classification with boosting
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
2005 Mar 21
1
Convert numeric to class
Dear all,
I have a script about iteration classification, like this below
data(iris)
N <- 5
ir.tr.iter <- vector('list',N)
ir.tr <- vector('list',N)
for (j in 1:N) {
ir.tr[[j]] <- rpart(Species ~., data=iris)
ir.tr.iter[j] <- ir.tr[[j]]$frame
result <- list(ir.tr=ir.tr, ir.tr.iter=ir.tr.iter)
}
as.data.frame(as.matrix(ir.tr.iter))
2005 Aug 15
2
How to get a list work in RData file
Dear R-Helper,
I want to know how I get a list work which I saved in RData file. For
example,
> test.xy <- function(x,y) {
+ xy <- x+y
+ xy
+ }
>
> xyadd <- test.xy(x=2, y=3)
> xyadd
[1] 5
> x1 <- c(2,43,60,8)
> y1 <- c(91,7,5,30)
>
> xyadd1 <- test.xy(x=x1, y=y1)
> xyadd1
[1] 93 50 65 38
> save(list = ls(all=TRUE), file =