search for: dados2

Displaying 10 results from an estimated 10 matches for "dados2".

Did you mean: dados
2012 Aug 08
4
Saving Splitted Series to Excel via XLConnect
...8356,162157,166226,33.47,34.48,35.24,38.42,35.33, 34.43,433,433,433,433,433,433,2005,2005,2005,2005, 2005,2005,3939,3939,3939,3939,3939,3939),nrow=18, ncol=3,byrow=FALSE,dimnames=list(c(1,2,3,4,5,6,7,8,9, 10,11,12,13,14,15,16,17,18),c("date","value","code")))) dados2 <- split(dados, dados$code) dados2 library(XLConnect) wb <- loadWorkbook("Teste.xlsx", create = TRUE) createSheet(wb, name = "Teste1") writeWorksheet(wb, dados2, sheet = "Teste1") saveWorkbook(wb) With this code I only get the "433" series. How could...
2012 Aug 06
2
Splitting Data Into Different Series
...2005,2005,2005,3939,3939,3939,3939,3939,3939), nrow=18, ncol=3, byrow=FALSE, dimnames=list(c(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18), c("date", "value", "code"))) dados433 <- matrix(data = NA, nrow = 6, ncol = 3, byrow= FALSE) dados2005 <- matrix(data = NA, nrow = 6, ncol = 3, byrow= FALSE) dados3939 <- matrix(data = NA, nrow = 6, ncol = 3, byrow= FALSE) for(i in seq(along=dados[,3])) { if(dados[i,3] == 433) {dados433[i,1:3] <- dados[i,1:3]} } for(i in seq(along=dados[,3])) { if(dados[i,3] == 2005) {dados2005...
2011 Oct 17
2
Beginner's question about plotting variables in a time series object with the date on the x axis
...s data on public debt with 40 variables, it starts on January 1994 and ends on June 2011. I am loading the data into R using read.csv and the data looks ok when I do edit(dados): > dados<-read.csv("dadosR3.csv", header=T) then I tried making it into a time series object, using: > dados2<-ts(dados, start = c(1994,1), frequency=12)   Now when I try plotting any of the variables, for example divliq.pib (net debt), the date doesn't appear on the x axis. How can I do this? I use > plot.ts(divliq.pib)   also the function names() doesn't work, which would be important since...
2007 Dec 31
1
SVM error
...his, even working with sparse matrix, but nothing seems to solve it, I've also tried svm (with a simple matrix 3*3 and still got the same error. > dados<-read.table("b.txt",sep="",nrows=30000) > dados1<-as.matrix(dados[,-1],nrows=30000,ncol=13,type=numeric) > dados2<-as.vector(dados[,1]) > model<-svm(scale=TRUE,type=C,dados[,-1],y=dados[,1],kernel=RBF) Error in as.character(x) : cannot coerce to vector > model<-svm(scale=TRUE,type=C,dados1,y=dados2,kernel=RBF) Error in as.character(x) : cannot coerce to vector Best regards, Pedro Marques
2012 Sep 26
3
Reading multiple files
Hi, I have 35 data files for reading. I would like get a program for performing reading of 35 files at once. All are of the type: Dados1.raw, Dados2.raw and so on. If the files have the same number of columns, I can read with the following commands: rm(list=ls()) filenames = list.files(path="~/Silvano/Arq", pattern="Dados+.*raw") names = substr(filenames, 1, 7) for(i in names){ filepath = file.path("~/Silvano/Dados...
2010 Sep 10
1
Problem importing square character
Dear, When I try to to execute the following command, R don't read all lines (reads only 57658 lines when the file has 814125 lines): dados2<-read.table("C:\\Documents and Settings\\mgoncalves\\Desktop\\Tbua IFPD\\200701_02_03_04\\SegurosClube.txt",header=FALSE,sep="^",colClasses=c("character","character","NULL",NA,"NULL","NULL","NULL","character&quo...
2007 Jul 23
1
Function to separate effect in AOV
....001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 This result don't show the reality of the data, because I cant see that "A" and "B" inside "C" are the same. The anova result is the same of an full different levels, like this: > attach(dados2) > > tapply(Y,list(T1,T2),mean) C D A 6.100000 10.20000 B 2.223333 20.26667 > > m <- aov(Y~T1*T2) > > summary(m) Df Sum Sq Mean Sq F value Pr(>F) T1 1 28.74 28.74 2114.3 5.529e-11 *** T2 1 367.75 367.75 27056.7 2...
2017 Jun 26
2
Windows cant access shared directories after changed password with smbpasswd
...mask = 0777 | dos charset = CP852 | unix charset = iso-8859-1 | log level = 1 | | unix extensions = no | | passdb backend = tdbsam | usershare allow guests = No | domain master = No | | wins support = no | include = /etc/samba/smb.conf.client-%I | [Dados2] | guest ok = No | inherit acls = yes | path = /dados | read only = No | force group = dadosgrp | valid users = suporte marcelas orlando | create mask = 0775 | directory mask = 0775 | | wide links = yes
2017 Jun 26
0
Windows cant access shared directories after changed password with smbpasswd
...> | log level = 1 > | > | unix extensions = no > | > | passdb backend = tdbsam > | usershare allow guests = No > | domain master = No > | > | wins support = no > | include = /etc/samba/smb.conf.client-%I > > > > | [Dados2] > | guest ok = No > | inherit acls = yes > | path = /dados > | read only = No > | force group = dadosgrp > | valid users = suporte marcelas orlando > | create mask = 0775 > | directory mask = 0775 > | > | wide...
2017 Jun 26
2
Windows cant access shared directories after changed password with smbpasswd
Hi Rowland , No, we didn't . We only change in the Samba Server. The login used on Windows and used on Samba are different and should not have relation (technically speaking). Eg.: I'm logged in with user "dbadmin" at windows and when I access the Samba server , on the first access I informed "cinacio" and the password which works fine. When I change the password of