Home » date » 2010 » Dec » 21 »

*The author of this computation has been verified*
R Software Module: /rwasp_regression_trees1.wasp (opens new window with default values)
Title produced by software: Recursive Partitioning (Regression Trees)
Date of computation: Tue, 21 Dec 2010 14:44:59 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Dec/21/t12929426127wovwipa403wtkk.htm/, Retrieved Tue, 21 Dec 2010 15:43:33 +0100
 
BibTeX entries for LaTeX users:
@Manual{KEY,
    author = {{YOUR NAME}},
    publisher = {Office for Research Development and Education},
    title = {Statistical Computations at FreeStatistics.org, URL http://www.freestatistics.org/blog/date/2010/Dec/21/t12929426127wovwipa403wtkk.htm/},
    year = {2010},
}
@Manual{R,
    title = {R: A Language and Environment for Statistical Computing},
    author = {{R Development Core Team}},
    organization = {R Foundation for Statistical Computing},
    address = {Vienna, Austria},
    year = {2010},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
1 1 14 41 38 13 12 1 1 18 39 32 16 11 1 1 11 30 35 19 15 1 0 12 31 33 15 6 1 1 16 34 37 14 13 1 1 18 35 29 13 10 1 1 14 39 31 19 12 1 1 14 34 36 15 14 1 1 15 36 35 14 12 1 1 15 37 38 15 9 1 0 17 38 31 16 10 1 1 19 36 34 16 12 1 0 10 38 35 16 12 1 1 16 39 38 16 11 1 1 18 33 37 17 15 1 0 14 32 33 15 12 1 0 14 36 32 15 10 1 1 17 38 38 20 12 1 0 14 39 38 18 11 1 1 16 32 32 16 12 1 0 18 32 33 16 11 1 1 11 31 31 16 12 1 1 14 39 38 19 13 1 1 12 37 39 16 11 1 0 17 39 32 17 12 1 1 9 41 32 17 13 1 0 16 36 35 16 10 1 1 14 33 37 15 14 1 1 15 33 33 16 12 1 0 11 34 33 14 10 1 1 16 31 31 15 12 1 0 13 27 32 12 8 1 1 17 37 31 14 10 1 1 15 34 37 16 12 1 0 14 34 30 14 12 1 0 16 32 33 10 7 1 0 9 29 31 10 9 1 0 15 36 33 14 12 1 1 17 29 31 16 10 1 0 13 35 33 16 10 1 0 15 37 32 16 10 1 1 16 34 33 14 12 1 0 16 38 32 20 15 1 0 12 35 33 14 10 1 1 15 38 28 14 10 1 1 11 37 35 11 12 1 1 15 38 39 14 13 1 1 15 33 34 15 11 1 1 17 36 38 16 11 1 0 13 38 32 14 12 1 1 16 32 38 16 14 1 0 14 32 3 etc...
 
Output produced by software:

Enter (or paste) a matrix (table) containing all data (time) series. Every column represents a different variable and must be delimited by a space or Tab. Every row represents a period in time (or category) and must be delimited by hard returns. The easiest way to enter data is to copy and paste a block of spreadsheet cells. Please, do not use commas or spaces to seperate groups of digits!


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time6 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk


Goodness of Fit
Correlation0.3673
R-squared0.1349
RMSE2.3154


Actuals, Predictions, and Residuals
#ActualsForecastsResiduals
11414.4489795918367-0.448979591836734
21814.44897959183673.55102040816327
31114.4489795918367-3.44897959183673
41214.0454545454545-2.04545454545454
51614.44897959183671.55102040816327
61814.44897959183673.55102040816327
71414.4489795918367-0.448979591836734
81414.4489795918367-0.448979591836734
91514.44897959183670.551020408163266
101514.44897959183670.551020408163266
111714.04545454545452.95454545454546
121914.44897959183674.55102040816327
131014.0454545454545-4.04545454545454
141614.44897959183671.55102040816327
151814.44897959183673.55102040816327
161414.0454545454545-0.045454545454545
171414.0454545454545-0.045454545454545
181714.44897959183672.55102040816327
191414.0454545454545-0.045454545454545
201614.44897959183671.55102040816327
211814.04545454545453.95454545454546
221114.4489795918367-3.44897959183673
231414.4489795918367-0.448979591836734
241214.4489795918367-2.44897959183673
251714.04545454545452.95454545454546
26914.4489795918367-5.44897959183673
271614.04545454545451.95454545454546
281414.4489795918367-0.448979591836734
291514.44897959183670.551020408163266
301114.0454545454545-3.04545454545454
311614.44897959183671.55102040816327
321311.68751.3125
331714.44897959183672.55102040816327
341514.44897959183670.551020408163266
351414.0454545454545-0.045454545454545
361611.68754.3125
37911.6875-2.6875
381514.04545454545450.954545454545455
391714.44897959183672.55102040816327
401314.0454545454545-1.04545454545454
411514.04545454545450.954545454545455
421614.44897959183671.55102040816327
431614.04545454545451.95454545454546
441214.0454545454545-2.04545454545454
451514.44897959183670.551020408163266
461114.4489795918367-3.44897959183673
471514.44897959183670.551020408163266
481514.44897959183670.551020408163266
491714.44897959183672.55102040816327
501314.0454545454545-1.04545454545454
511614.44897959183671.55102040816327
521414.0454545454545-0.045454545454545
531111.6875-0.6875
541214.4489795918367-2.44897959183673
551211.68750.3125
561514.44897959183670.551020408163266
571614.44897959183671.55102040816327
581514.44897959183670.551020408163266
591214.0454545454545-2.04545454545454
601214.4489795918367-2.44897959183673
61811.6875-3.6875
621314.0454545454545-1.04545454545454
631114.4489795918367-3.44897959183673
641414.4489795918367-0.448979591836734
651514.44897959183670.551020408163266
661014.0454545454545-4.04545454545454
671114.4489795918367-3.44897959183673
681214.0454545454545-2.04545454545454
691514.44897959183670.551020408163266
701514.04545454545450.954545454545455
711411.68752.3125
721614.44897959183671.55102040816327
731514.44897959183670.551020408163266
741514.04545454545450.954545454545455
751314.0454545454545-1.04545454545454
761214.4489795918367-2.44897959183673
771714.44897959183672.55102040816327
781314.4489795918367-1.44897959183673
791511.68753.3125
801314.0454545454545-1.04545454545454
811514.04545454545450.954545454545455
821514.44897959183670.551020408163266
831614.04545454545451.95454545454546
841514.44897959183670.551020408163266
851414.4489795918367-0.448979591836734
861514.04545454545450.954545454545455
871414.4489795918367-0.448979591836734
881314.4489795918367-1.44897959183673
89714.4489795918367-7.44897959183673
901714.44897959183672.55102040816327
911314.4489795918367-1.44897959183673
921514.44897959183670.551020408163266
931414.4489795918367-0.448979591836734
941314.4489795918367-1.44897959183673
951614.44897959183671.55102040816327
961214.4489795918367-2.44897959183673
971414.4489795918367-0.448979591836734
981714.04545454545452.95454545454546
991514.04545454545450.954545454545455
1001714.44897959183672.55102040816327
1011214.0454545454545-2.04545454545454
1021614.44897959183671.55102040816327
1031114.0454545454545-3.04545454545454
1041514.44897959183670.551020408163266
105911.6875-2.6875
1061614.44897959183671.55102040816327
1071514.04545454545450.954545454545455
1081014.0454545454545-4.04545454545454
1091014.4489795918367-4.44897959183673
1101514.44897959183670.551020408163266
1111114.4489795918367-3.44897959183673
1121314.4489795918367-1.44897959183673
1131814.44897959183673.55102040816327
1141614.04545454545451.95454545454546
1151414.4489795918367-0.448979591836734
1161414.4489795918367-0.448979591836734
1171414.4489795918367-0.448979591836734
1181414.4489795918367-0.448979591836734
1191211.68750.3125
1201414.4489795918367-0.448979591836734
1211514.44897959183670.551020408163266
1221514.44897959183670.551020408163266
1231514.44897959183670.551020408163266
1241314.4489795918367-1.44897959183673
1251714.04545454545452.95454545454546
1261714.44897959183672.55102040816327
1271914.44897959183674.55102040816327
1281514.44897959183670.551020408163266
1291314.0454545454545-1.04545454545454
130911.6875-2.6875
1311514.44897959183670.551020408163266
1321511.68753.3125
1331514.04545454545450.954545454545455
1341614.44897959183671.55102040816327
1351111.6875-0.6875
1361414.0454545454545-0.045454545454545
1371114.4489795918367-3.44897959183673
1381514.44897959183670.551020408163266
1391311.68751.3125
1401514.44897959183670.551020408163266
1411614.04545454545451.95454545454546
1421414.4489795918367-0.448979591836734
1431514.04545454545450.954545454545455
1441614.44897959183671.55102040816327
1451614.44897959183671.55102040816327
1461111.6875-0.6875
1471214.0454545454545-2.04545454545454
148911.6875-2.6875
1491614.44897959183671.55102040816327
1501314.4489795918367-1.44897959183673
1511614.04545454545451.95454545454546
1521214.4489795918367-2.44897959183673
153914.4489795918367-5.44897959183673
1541314.4489795918367-1.44897959183673
1551414.4489795918367-0.448979591836734
1561914.44897959183674.55102040816327
1571314.4489795918367-1.44897959183673
1581214.4489795918367-2.44897959183673
1591012.6769230769231-2.67692307692308
1601412.67692307692311.32307692307692
1611612.67692307692313.32307692307692
1621012.6769230769231-2.67692307692308
1631112.6769230769231-1.67692307692308
1641412.67692307692311.32307692307692
1651212.6769230769231-0.676923076923076
166912.6769230769231-3.67692307692308
167912.6769230769231-3.67692307692308
1681112.6769230769231-1.67692307692308
1691612.67692307692313.32307692307692
170912.6769230769231-3.67692307692308
1711312.67692307692310.323076923076924
1721612.67692307692313.32307692307692
1731312.67692307692310.323076923076924
174912.6769230769231-3.67692307692308
1751212.6769230769231-0.676923076923076
1761612.67692307692313.32307692307692
1771112.6769230769231-1.67692307692308
1781412.67692307692311.32307692307692
1791312.67692307692310.323076923076924
1801512.67692307692312.32307692307692
1811412.67692307692311.32307692307692
1821612.67692307692313.32307692307692
1831312.67692307692310.323076923076924
1841412.67692307692311.32307692307692
1851512.67692307692312.32307692307692
1861312.67692307692310.323076923076924
1871112.6769230769231-1.67692307692308
1881112.6769230769231-1.67692307692308
1891412.67692307692311.32307692307692
1901512.67692307692312.32307692307692
1911112.6769230769231-1.67692307692308
1921512.67692307692312.32307692307692
1931212.6769230769231-0.676923076923076
1941412.67692307692311.32307692307692
1951412.67692307692311.32307692307692
196812.6769230769231-4.67692307692308
197912.6769230769231-3.67692307692308
1981512.67692307692312.32307692307692
1991712.67692307692314.32307692307692
2001312.67692307692310.323076923076924
2011512.67692307692312.32307692307692
2021512.67692307692312.32307692307692
2031412.67692307692311.32307692307692
2041612.67692307692313.32307692307692
2051312.67692307692310.323076923076924
2061612.67692307692313.32307692307692
207912.6769230769231-3.67692307692308
2081612.67692307692313.32307692307692
2091112.6769230769231-1.67692307692308
2101012.6769230769231-2.67692307692308
2111112.6769230769231-1.67692307692308
2121512.67692307692312.32307692307692
2131712.67692307692314.32307692307692
2141412.67692307692311.32307692307692
215812.6769230769231-4.67692307692308
2161512.67692307692312.32307692307692
2171112.6769230769231-1.67692307692308
2181612.67692307692313.32307692307692
2191012.6769230769231-2.67692307692308
2201512.67692307692312.32307692307692
2211612.67692307692313.32307692307692
2221912.67692307692316.32307692307692
2231212.6769230769231-0.676923076923076
224812.6769230769231-4.67692307692308
2251112.6769230769231-1.67692307692308
2261412.67692307692311.32307692307692
227912.6769230769231-3.67692307692308
2281512.67692307692312.32307692307692
2291312.67692307692310.323076923076924
2301612.67692307692313.32307692307692
2311112.6769230769231-1.67692307692308
2321212.6769230769231-0.676923076923076
2331312.67692307692310.323076923076924
2341012.6769230769231-2.67692307692308
2351112.6769230769231-1.67692307692308
2361212.6769230769231-0.676923076923076
237812.6769230769231-4.67692307692308
2381212.6769230769231-0.676923076923076
2391212.6769230769231-0.676923076923076
2401112.6769230769231-1.67692307692308
2411312.67692307692310.323076923076924
2421412.67692307692311.32307692307692
2431012.6769230769231-2.67692307692308
2441212.6769230769231-0.676923076923076
2451512.67692307692312.32307692307692
2461312.67692307692310.323076923076924
2471312.67692307692310.323076923076924
2481312.67692307692310.323076923076924
2491212.6769230769231-0.676923076923076
2501212.6769230769231-0.676923076923076
251912.6769230769231-3.67692307692308
252912.6769230769231-3.67692307692308
2531512.67692307692312.32307692307692
2541012.6769230769231-2.67692307692308
2551412.67692307692311.32307692307692
2561512.67692307692312.32307692307692
257712.6769230769231-5.67692307692308
2581412.67692307692311.32307692307692
259812.6769230769231-4.67692307692308
2601012.6769230769231-2.67692307692308
2611312.67692307692310.323076923076924
2621312.67692307692310.323076923076924
2631312.67692307692310.323076923076924
264812.6769230769231-4.67692307692308
2651212.6769230769231-0.676923076923076
2661312.67692307692310.323076923076924
2671212.6769230769231-0.676923076923076
2681012.6769230769231-2.67692307692308
2691312.67692307692310.323076923076924
2701212.6769230769231-0.676923076923076
271912.6769230769231-3.67692307692308
2721512.67692307692312.32307692307692
2731312.67692307692310.323076923076924
2741312.67692307692310.323076923076924
2751312.67692307692310.323076923076924
2761512.67692307692312.32307692307692
2771512.67692307692312.32307692307692
2781412.67692307692311.32307692307692
2791512.67692307692312.32307692307692
2801112.6769230769231-1.67692307692308
2811512.67692307692312.32307692307692
2821412.67692307692311.32307692307692
2831312.67692307692310.323076923076924
2841212.6769230769231-0.676923076923076
2851612.67692307692313.32307692307692
2861612.67692307692313.32307692307692
287912.6769230769231-3.67692307692308
2881412.67692307692311.32307692307692
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/21/t12929426127wovwipa403wtkk/2blgb1292942690.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t12929426127wovwipa403wtkk/2blgb1292942690.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t12929426127wovwipa403wtkk/3blgb1292942690.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t12929426127wovwipa403wtkk/3blgb1292942690.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t12929426127wovwipa403wtkk/43ufw1292942690.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t12929426127wovwipa403wtkk/43ufw1292942690.ps (open in new window)


 
Parameters (Session):
par1 = 7 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ; par4 = no ;
 
Parameters (R input):
par1 = 3 ; par2 = none ; par3 = 3 ; par4 = no ;
 
R code (references can be found in the software module):
library(party)
library(Hmisc)
par1 <- as.numeric(par1)
par3 <- as.numeric(par3)
x <- data.frame(t(y))
is.data.frame(x)
x <- x[!is.na(x[,par1]),]
k <- length(x[1,])
n <- length(x[,1])
colnames(x)[par1]
x[,par1]
if (par2 == 'kmeans') {
cl <- kmeans(x[,par1], par3)
print(cl)
clm <- matrix(cbind(cl$centers,1:par3),ncol=2)
clm <- clm[sort.list(clm[,1]),]
for (i in 1:par3) {
cl$cluster[cl$cluster==clm[i,2]] <- paste('C',i,sep='')
}
cl$cluster <- as.factor(cl$cluster)
print(cl$cluster)
x[,par1] <- cl$cluster
}
if (par2 == 'quantiles') {
x[,par1] <- cut2(x[,par1],g=par3)
}
if (par2 == 'hclust') {
hc <- hclust(dist(x[,par1])^2, 'cen')
print(hc)
memb <- cutree(hc, k = par3)
dum <- c(mean(x[memb==1,par1]))
for (i in 2:par3) {
dum <- c(dum, mean(x[memb==i,par1]))
}
hcm <- matrix(cbind(dum,1:par3),ncol=2)
hcm <- hcm[sort.list(hcm[,1]),]
for (i in 1:par3) {
memb[memb==hcm[i,2]] <- paste('C',i,sep='')
}
memb <- as.factor(memb)
print(memb)
x[,par1] <- memb
}
if (par2=='equal') {
ed <- cut(as.numeric(x[,par1]),par3,labels=paste('C',1:par3,sep=''))
x[,par1] <- as.factor(ed)
}
table(x[,par1])
colnames(x)
colnames(x)[par1]
x[,par1]
if (par2 == 'none') {
m <- ctree(as.formula(paste(colnames(x)[par1],' ~ .',sep='')),data = x)
}
load(file='createtable')
if (par2 != 'none') {
m <- ctree(as.formula(paste('as.factor(',colnames(x)[par1],') ~ .',sep='')),data = x)
if (par4=='yes') {
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'10-Fold Cross Validation',3+2*par3,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'',1,TRUE)
a<-table.element(a,'Prediction (training)',par3+1,TRUE)
a<-table.element(a,'Prediction (testing)',par3+1,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Actual',1,TRUE)
for (jjj in 1:par3) a<-table.element(a,paste('C',jjj,sep=''),1,TRUE)
a<-table.element(a,'CV',1,TRUE)
for (jjj in 1:par3) a<-table.element(a,paste('C',jjj,sep=''),1,TRUE)
a<-table.element(a,'CV',1,TRUE)
a<-table.row.end(a)
for (i in 1:10) {
ind <- sample(2, nrow(x), replace=T, prob=c(0.9,0.1))
m.ct <- ctree(as.formula(paste('as.factor(',colnames(x)[par1],') ~ .',sep='')),data =x[ind==1,])
if (i==1) {
m.ct.i.pred <- predict(m.ct, newdata=x[ind==1,])
m.ct.i.actu <- x[ind==1,par1]
m.ct.x.pred <- predict(m.ct, newdata=x[ind==2,])
m.ct.x.actu <- x[ind==2,par1]
} else {
m.ct.i.pred <- c(m.ct.i.pred,predict(m.ct, newdata=x[ind==1,]))
m.ct.i.actu <- c(m.ct.i.actu,x[ind==1,par1])
m.ct.x.pred <- c(m.ct.x.pred,predict(m.ct, newdata=x[ind==2,]))
m.ct.x.actu <- c(m.ct.x.actu,x[ind==2,par1])
}
}
print(m.ct.i.tab <- table(m.ct.i.actu,m.ct.i.pred))
numer <- 0
for (i in 1:par3) {
print(m.ct.i.tab[i,i] / sum(m.ct.i.tab[i,]))
numer <- numer + m.ct.i.tab[i,i]
}
print(m.ct.i.cp <- numer / sum(m.ct.i.tab))
print(m.ct.x.tab <- table(m.ct.x.actu,m.ct.x.pred))
numer <- 0
for (i in 1:par3) {
print(m.ct.x.tab[i,i] / sum(m.ct.x.tab[i,]))
numer <- numer + m.ct.x.tab[i,i]
}
print(m.ct.x.cp <- numer / sum(m.ct.x.tab))
for (i in 1:par3) {
a<-table.row.start(a)
a<-table.element(a,paste('C',i,sep=''),1,TRUE)
for (jjj in 1:par3) a<-table.element(a,m.ct.i.tab[i,jjj])
a<-table.element(a,round(m.ct.i.tab[i,i]/sum(m.ct.i.tab[i,]),4))
for (jjj in 1:par3) a<-table.element(a,m.ct.x.tab[i,jjj])
a<-table.element(a,round(m.ct.x.tab[i,i]/sum(m.ct.x.tab[i,]),4))
a<-table.row.end(a)
}
a<-table.row.start(a)
a<-table.element(a,'Overall',1,TRUE)
for (jjj in 1:par3) a<-table.element(a,'-')
a<-table.element(a,round(m.ct.i.cp,4))
for (jjj in 1:par3) a<-table.element(a,'-')
a<-table.element(a,round(m.ct.x.cp,4))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable3.tab')
}
}
m
bitmap(file='test1.png')
plot(m)
dev.off()
bitmap(file='test1a.png')
plot(x[,par1] ~ as.factor(where(m)),main='Response by Terminal Node',xlab='Terminal Node',ylab='Response')
dev.off()
if (par2 == 'none') {
forec <- predict(m)
result <- as.data.frame(cbind(x[,par1],forec,x[,par1]-forec))
colnames(result) <- c('Actuals','Forecasts','Residuals')
print(result)
}
if (par2 != 'none') {
print(cbind(as.factor(x[,par1]),predict(m)))
myt <- table(as.factor(x[,par1]),predict(m))
print(myt)
}
bitmap(file='test2.png')
if(par2=='none') {
op <- par(mfrow=c(2,2))
plot(density(result$Actuals),main='Kernel Density Plot of Actuals')
plot(density(result$Residuals),main='Kernel Density Plot of Residuals')
plot(result$Forecasts,result$Actuals,main='Actuals versus Predictions',xlab='Predictions',ylab='Actuals')
plot(density(result$Forecasts),main='Kernel Density Plot of Predictions')
par(op)
}
if(par2!='none') {
plot(myt,main='Confusion Matrix',xlab='Actual',ylab='Predicted')
}
dev.off()
if (par2 == 'none') {
detcoef <- cor(result$Forecasts,result$Actuals)
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Goodness of Fit',2,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Correlation',1,TRUE)
a<-table.element(a,round(detcoef,4))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'R-squared',1,TRUE)
a<-table.element(a,round(detcoef*detcoef,4))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'RMSE',1,TRUE)
a<-table.element(a,round(sqrt(mean((result$Residuals)^2)),4))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable1.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Actuals, Predictions, and Residuals',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'#',header=TRUE)
a<-table.element(a,'Actuals',header=TRUE)
a<-table.element(a,'Forecasts',header=TRUE)
a<-table.element(a,'Residuals',header=TRUE)
a<-table.row.end(a)
for (i in 1:length(result$Actuals)) {
a<-table.row.start(a)
a<-table.element(a,i,header=TRUE)
a<-table.element(a,result$Actuals[i])
a<-table.element(a,result$Forecasts[i])
a<-table.element(a,result$Residuals[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable.tab')
}
if (par2 != 'none') {
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Confusion Matrix (predicted in columns / actuals in rows)',par3+1,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'',1,TRUE)
for (i in 1:par3) {
a<-table.element(a,paste('C',i,sep=''),1,TRUE)
}
a<-table.row.end(a)
for (i in 1:par3) {
a<-table.row.start(a)
a<-table.element(a,paste('C',i,sep=''),1,TRUE)
for (j in 1:par3) {
a<-table.element(a,myt[i,j])
}
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable2.tab')
}
 





Copyright

Creative Commons License

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.

Software written by Ed van Stee & Patrick Wessa


Disclaimer

Information provided on this web site is provided "AS IS" without warranty of any kind, either express or implied, including, without limitation, warranties of merchantability, fitness for a particular purpose, and noninfringement. We use reasonable efforts to include accurate and timely information and periodically update the information, and software without notice. However, we make no warranties or representations as to the accuracy or completeness of such information (or software), and we assume no liability or responsibility for errors or omissions in the content of this web site, or any software bugs in online applications. Your use of this web site is AT YOUR OWN RISK. Under no circumstances and under no legal theory shall we be liable to you or any other person for any direct, indirect, special, incidental, exemplary, or consequential damages arising from your access to, or use of, this web site.


Privacy Policy

We may request personal information to be submitted to our servers in order to be able to:

  • personalize online software applications according to your needs
  • enforce strict security rules with respect to the data that you upload (e.g. statistical data)
  • manage user sessions of online applications
  • alert you about important changes or upgrades in resources or applications

We NEVER allow other companies to directly offer registered users information about their products and services. Banner references and hyperlinks of third parties NEVER contain any personal data of the visitor.

We do NOT sell, nor transmit by any means, personal information, nor statistical data series uploaded by you to third parties.

We carefully protect your data from loss, misuse, alteration, and destruction. However, at any time, and under any circumstance you are solely responsible for managing your passwords, and keeping them secret.

We store a unique ANONYMOUS USER ID in the form of a small 'Cookie' on your computer. This allows us to track your progress when using this website which is necessary to create state-dependent features. The cookie is used for NO OTHER PURPOSE. At any time you may opt to disallow cookies from this website - this will not affect other features of this website.

We examine cookies that are used by third-parties (banner and online ads) very closely: abuse from third-parties automatically results in termination of the advertising contract without refund. We have very good reason to believe that the cookies that are produced by third parties (banner ads) do NOT cause any privacy or security risk.

FreeStatistics.org is safe. There is no need to download any software to use the applications and services contained in this website. Hence, your system's security is not compromised by their use, and your personal data - other than data you submit in the account application form, and the user-agent information that is transmitted by your browser - is never transmitted to our servers.

As a general rule, we do not log on-line behavior of individuals (other than normal logging of webserver 'hits'). However, in cases of abuse, hacking, unauthorized access, Denial of Service attacks, illegal copying, hotlinking, non-compliance with international webstandards (such as robots.txt), or any other harmful behavior, our system engineers are empowered to log, track, identify, publish, and ban misbehaving individuals - even if this leads to ban entire blocks of IP addresses, or disclosing user's identity.


FreeStatistics.org is powered by