Displaying 20 results from an estimated 39 matches for "silvano".
2013 Apr 10
6
means in tables
...ncol(tab1))
for(i in 1:nrow(tab1)){
for(j in 1:ncol(tab1)){
for(k in 1:nrow(tab2)){
for(l in 1:ncol(tab2)){
M?dias = tab1$i[j]
}}}}
M?dias
but it does't work. I don't know programming.
How can I do this?
Thanks,
---------------------------------------------
Silvano Cesar da Costa
Universidade Estadual de Londrina
Centro de Ci?ncias Exatas
Departamento de Estat?stica
Fone: (43) 3371-4346
2012 Sep 26
3
Reading multiple files
...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", paste(i, ".raw", sep=""))
assign(i, read.delim(filepath,
colClasses=c(rep("character", 5), rep(&qu...
2010 May 05
3
Latex and Stangle()
Hi,
I'm using the Sweave and I would like include codes of the R
in my LaTeX file.
I extracts the R code with Stangle (), whose name is
Relatorio.R but I can't include it
in the Latex file as an appendix.
Suggests?
Thanks,
--------------------------------------
Silvano Cesar da Costa
Departamento de Estat?stica
Universidade Estadual de Londrina
Fone: 3371-4346
2011 Jul 06
3
Tables and merge
----- Original Message -----
From: "Silvano" <silvano at uel.br>
To: <r-help at r-project.org>
Sent: Thursday, June 30, 2011 9:07 AM
Subject: Tables and merge
> Hi,
>
> I have 21 files which is common variable CODE.
> Each file refers to a question.
>
> I would like to join the 21 files into one, to const...
2010 Aug 13
3
Games
...ll be five games per round. How to build a table with
all the championship rounds, automatically?
I thought about something like:
game1 = c(
sample(11,2)
sample(11,2)
sample(11,2)
sample(11,2)
sample(11,2)
)
but, isn't work very well.
Some suggestion?
--------------------------------------
Silvano Cesar da Costa
Departamento de Estat?stica
Universidade Estadual de Londrina
Fone: 3371-4346
2012 Nov 08
3
Extracting columns
...c1 = subset (cromo1, select = c ('c1', 'c50', 'C750'))
in this case, I know that the columns c1, c50 and C750 are on cromo1.raw.
See who need to apply the commands above 22 times.
Is there a way to schedule these operations?
---------------------------------------------
Silvano Cesar da Costa
Universidade Estadual de Londrina
Centro de Ci?ncias Exatas
Departamento de Estat?stica
Fone: (43) 3371-4346
2010 Jul 21
1
xtable
Hi,
How do I build a table from a regression model adjusted
using xtable?
Commands are:
modelo1 = lm(Y~X1 + X2)
influencia = influence.measures(modelo1)
require(xtable)
xtable(influencia)
but it isn't work.
Thanks,
--------------------------------------
Silvano Cesar da Costa
Departamento de Estat?stica
Universidade Estadual de Londrina
Fone: 3371-4346
2010 Mar 24
2
Mosaic
...(c('2000','2001','2002','2003'), each=2)),
sexo = factor(rep(c('F','M'), 4)), resp=obitoss))
I would like to make a mosaic to represent the numeric
variable depending on 3 variables. Does anyone know how to
do?
--------------------------------------
Silvano Cesar da Costa
Departamento de Estat?stica
Universidade Estadual de Londrina
Fone: 3371-4346
2010 Nov 29
4
subset
?Hi:
I always use subset the same way but now is returning 0 rows.
What's wrong with the way I am subsetting?
library(ggplot2)
structure(list(first = c(38.2086, 43.1768, 43.146, 41.8044, 42.4232,
46.3646, 38.0813, 40.0745, 40.4889, 38.6246, 40.2826, 41.6056,
34.5353, 40.0768), second = c(43.3295, 42.4326, 38.8994, 37.0894,
42.3218, 46.1726, 39.1206, 41.2072, 42.4874, 40.2657, 38.7766,
2007 Feb 09
1
[LLVMdev] problems in buiding LLVM
Hello,
I'm trying to build LLVM on the last version of Cygwin, but the 'make
install' command terminates with errors.
Please find attached the config.log file and the final part of the make
output.
Can you help me?
Thanks
*******************************************
Silvano Rivoira
Dipartimento di Automatica e Informatica
Politecnico di Torino
Corso Duca degli Abruzzi 24
10129 Torino
Italy
Tel: (+39) 011 564 7056
Fax: (+39) 011 564 7099
Web: http://staff.polito.it/silvano.rivoira
*******************************************
-------------- next part -------...
2010 May 10
2
Extracting a subset
...ls: C and P,
the Month variable has four levels: 0, 1, 2 and 3.
I want to extract a subset of the variable Weight,
considering only 1 and 3 levels for Months of the Group
variable.
I tried the command subset but it did not work. Any
suggestions?
Thanks,
--------------------------------------
Silvano Cesar da Costa
Departamento de Estat?stica
Universidade Estadual de Londrina
Fone: 3371-4346
2010 Jun 14
2
xtable with Sweave
...cho=F, results=tex>>=
xtable(q5.tab, align="l|c", caption.placement = "top",
table.placement='H')
@
I'm getting the following message:
Too many unprocessed floats
in Latex file.
How to avoid these messages appearing?
--------------------------------------
Silvano Cesar da Costa
Departamento de Estat?stica
Universidade Estadual de Londrina
Fone: 3371-4346
2010 Apr 01
2
About logistic regression
...Error z value Pr(>|z|)
(Intercept) 0.191055 0.310016 0.616 0.538
grau 0.562717 0.433615 1.298 0.194
genero -0.355358 0.402650 -0.883 0.377
grau:genero 0.007052 0.580837 0.012 0.990
What am I doing wrong?
Thanks,
--------------------------------------
Silvano Cesar da Costa
Departamento de Estat?stica
Universidade Estadual de Londrina
Fone: 3371-4346
2011 Jan 14
2
subset factor?
...nd the output is:
> ajuste.logit = glm(cbind(mortos,percevejos)~log10(doses),
> family=binomial(logit), data=grupoP)
Erro em Math.factor(doses) : log10 not meaningful for
factors
what is wrong with my commands? Why doses aren't numeric?
Thanks,
--------------------------------------
Silvano Cesar da Costa
Departamento de Estat?stica
Universidade Estadual de Londrina
Fone: 3371-4346
2011 Aug 16
1
Fit Gompertz' curve'
...=c(1,2,3,4), lwd=3, bty='l',
col=c('red','blue','magenta','green'),
ylab="M?dia de Gases", xlab="Tempo (h)",
trace.label="Doses")
Thanks,
--------------------------------------
Silvano Cesar da Costa
Departamento de Estat?stica
Universidade Estadual de Londrina
Fone: 3371-4346
--------------------------------------
2010 Feb 26
1
Hartley's table
Hi,
Does anyone know how to generate Hartley's table in R?
--------------------------------------
Silvano Cesar da Costa
Departamento de Estat?stica
Universidade Estadual de Londrina
Fone: 3371-4346
2011 May 05
1
Boxplot in order
...frame(
Groups =
factor(rep(c('CPre','SPre','C7','S7','C14','S14','C21','S21'),
11)),
Time = rep(c(0,7,14,21), 11),
Resp = valor
)
boxplot(Resp~Groups, order=T)
doesn't work.
How do this?
--------------------------------------
Silvano Cesar da Costa
Departamento de Estat?stica
Universidade Estadual de Londrina
Fone: 3371-4346
2011 Nov 29
1
Notation
Hi,
what's mean "/" in command:
betareg(inf~Grupo/Sexo, data=dados)
it's a effect nested?
--------------------------------------
Silvano Cesar da Costa
Departamento de Estat?stica
Universidade Estadual de Londrina
Fone: 3371-4346
2012 Jul 25
1
regression analysis
...e and put them in an orderly
increasing.
I thought an analysis of the type:
ana = numeric(10000)
for(i in 1:10000){
mod = lm(RESP~x[i]
p-value[i] = summary(mod)$coe[2,4]
}
Could someone suggest a reading material or any suggestions, I thank you.
---------------------------------------------
Silvano Cesar da Costa
Universidade Estadual de Londrina
Centro de Ci?ncias Exatas
Departamento de Estat?stica
Fone: (43) 3371-4346
2012 Oct 29
1
Interaction
Hi,
I'm fitting a model with 3 variables: A, B and SNP.
The response variable is Y.
I would like fit the following model, in this order:
Y ~ A + B + A*B + SNP
In general, the R sets of the form:
Y ~ A + B + SNP + A*B
How do this?
---------------------------------------------
Silvano Cesar da Costa
Universidade Estadual de Londrina
Centro de Ci?ncias Exatas
Departamento de Estat?stica
Fone: (43) 3371-4346