Displaying 6 results from an estimated 6 matches for "dados1".
Did you mean:
dados
2007 Nov 29
1
Testing normality
Hi,
I'm doing kolmogorv-smirnov test but I don't know what conclusions to take, I want to know if my data has a normal distribution:
> ks.test(dados1,"pnorm")
One-sample Kolmogorov-Smirnov test
data: dados1
D = 0.972, p-value < 2.2e-16
alternative hypothesis: two-sided
Warning message:
cannot compute correct p-values with ties in: ks.test(dados1, "pnorm")
Best regards,
Pedro Marques
2003 Apr 14
2
categorical variables
Dear helpers
I constructed a data frame with this structure
> str(dados1)
`data.frame': 485 obs. of 16 variables:
$ Emissor : int 1 1 1 1 1 1 1 1 1 1 ...
$ Marisca.Rio : int 1 1 1 1 1 1 1 1 1 1 ...
$ Per?odo : int 1 1 1 1 1 1 1 1 1 1 ...
$ Reproducao : int 3 3 3 3 3 3 3 3 3 3 ...
$ Estacao : int 2 2 2 2 2 2 2 2 2 2 ......
2007 Dec 31
1
SVM error
...understand what's happening; I've tried several ways to solve this, 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.cha...
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("~/S...
2001 Nov 22
1
p-value using survdiff
Dear all,
Does anyone knows how I could extract the p-value in:
> survdiff(Surv(tempo,status) ~ grupo,data=dados1,rho=1)
Call:
survdiff(formula = Surv(tempo, status) ~ grupo, data = dados1, rho = 1)
N Observed Expected (O-E)^2/E (O-E)^2/V
grupo=1 21 5.12 12.00 3.94 14.5
grupo=2 21 14.55 7.68 6.16 14.5
Chisq= 14.5 on 1 degrees of freedom, p= 0.000143
Since with...
2012 Aug 06
2
Splitting Data Into Different Series
Dear R Community,
I'm trying to write a loop to split my data into different series. I
need to make a
new matrix (or series) according to the series code.
For instance, every time the "code" column assumes the value "433" I need to
save "date", "value", and "code" into the "dados433" matrix.
Please take a look at the following