Wow,
That's exactly what I want. But, if possible, that a list was created with
the selected elements (variable and value).
Is it possible to add in the output file?
Thank you very much.
Prof. Dr. Silvano Cesar da Costa
Universidade Estadual de Londrina
Centro de Ciências Exatas
Departamen
, decreasing=TRUE), ])
# The end result is:
(Selected.data.2 = Order[c(1,2,3,4,5,6,7,8,9,11), ])
# Scheme: 3A - 4B - 2C - 1D
sort(Selected.data.2$Var.1)
How to make the selection of the 10 elements automatically?
Thank you very much.
Prof. Dr. Silvano Cesar da Costa
Universidade Estadual de
options using R?
Thanks,
Prof. Dr. Silvano Cesar da Costa
Universidade Estadual de Londrina
Centro de Ciências Exatas
Departamento de Estatística
Fone: (43) 3371-4346
Em sex., 20 de ago. de 2021 às 03:28, PIKAL Petr
escreveu:
> Hallo
>
> I am confused, maybe others know what do y
Dr. Silvano Cesar da Costa
Universidade Estadual de Londrina
Centro de Ciências Exatas
Departamento de Estatística
Fone: (43) 3371-4346
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
ht
,] 1186389
[25,] 1190425
[26,] 1192235
How can I do this?
Thanks.
Prof. Dr. Silvano Cesar da Costa
Universidade Estadual de Londrina
Centro de Ciências Exatas
Departamento de Estatística
Fone: (43) 3371-4346
[[alternative HTML version deleted
p="")
cria.tabela(x)
}
}
geral()
I need to change the variable DISCIPLINA created in the function by the
variable DISCIPLINA in my dataset, but not working.
Reading data was taken with:
require(foreign)
require(xtable)
dados = read.epiinfo('C:/Colegiado de Veterinária/Dados
& 24,07 & 100,00 \\
6HIT011 & 0,00 & 0,00 & 3,70 & 27,78 & 68,52 & 100,00 \\
6MOR012 & 0,00 & 0,00 & 41,82 & 47,27 & 10,91 & 100,00 \\
6PAT013 & 0,00 & 5,56 & 29,63 & 44,44 & 20,37 & 100,00 \\
6SOC016 & 3,6
(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
Un
rt snpgdsBED2GDS ...
Erro em snpgdsBED2GDS(bed.fn, fam.fn, bim.fn, out.gdsfn =
"C:/Silvano/Incor/Baependi/Dados Baependi/baep.gds", :
Cannot open the file .
What can I do? What is wrong?
Thanks,
-
Silvano Cesar da Costa
Universidade Estadua
p(pedig)
> (mod1 = polygenic(altura ~ SEX + idade, data=Dados, kin=kmat))
Erro em intI(i, n = d[1], dn[[1]], give.dn = FALSE) :
invalid character indexing
>
How can I calculate heritabilty using GenABEL with kinship matrix of
kinship2 package?
Thanks,
--------
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
_
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
Hi,
still doesn't work.
> Hello,
>
> I've just seen the error, you are _not_ searching for colnames in
> mod5.sig$snps. Corrected:
>
> Selec = todos[ , colnames(todos) %in% mod5.sig$snps]
>
> Hope this helps,
>
> Rui Barradas
> Em 23-10-2012 21:17,
ou are trying to find
> colnames in a variable coded as integers (a factor, like str shows).
>
> Hope this helps,
>
> Rui Barradas
> Em 23-10-2012 19:02, Silvano Cesar da Costa escreveu:
>> Hi,
>>
>> The program below work very well.
>>
>> (snps = c('rs
vels "rs10058955_A",..: 89 59 88 73 40 35 97 55
87 204 ...
But it doesn't work. The output is:
> Selec = todos[ , colnames(todos) %in% snps]
> head(Selec)
data frame with 0 columns and 6 rows
What's is wrong?
Thanks a lot,
r message???) is due
> to the file referencing or naming. For example, it's not clear to me why
> you take the substring of the file name, only to paste on the file type
> suffix later.
>
> Jean
>
>
>
> "Silvano Cesar da Costa" wrote on 09/26/2012 04:31:
Hi,
I didn't notice problems with this.
> Will your data be read in correctly if you do away with the colClasses
> argument to read.delim (or read.table)?
>
> Jean
>
>
>
> "Silvano Cesar da Costa" wrote on 09/26/2012 09:11:33 AM:
>>
>> Hi,
&
er", 5), rep("numeric", 5)),
sep = ""))
}
It happens that the files have different number of columns. And I can't
solve the problem.
Any suggestions?
-
Silvano Cesar da Costa
Universidade Estadual de
list(df1$C1, df2$C1, df3$C1, df4$C1)
>> Reduce(intersect, x)
> [1] "G" "E" "H" "J"
>>
>
>
> On Mon, Sep 3, 2012 at 7:01 AM, Silvano Cesar da Costa
> wrote:
>> Hi Arun,
>>
>> it's exactly what I wanted.
>>
E H J
> A.K.
>
>
>
> - Original Message -
> From: Silvano Cesar da Costa
> To: r-help@r-project.org
> Cc:
> Sent: Sunday, September 2, 2012 7:05 PM
> Subject: [R] Common elements in columns
>
> Hi,
>
> I have 4 files with 1 individuals in each
check which common elements in the columns of C1 4 files?
Thanks,
-
Silvano Cesar da Costa
Universidade Estadual de Londrina
Centro de Ciências Exatas
Departamento de Estatística
Fone: (43) 3371-4346
__
R
]
pdf(paste("plot", famid, ".pdf"))
plot(pedig[famid])
dev.off()
}
Error em `[.pedigreeList`(pedig, "famid") : Familiy famid not found
but is not working.
How to solve the problem?
Thanks,
-------------
Silvano Cesar da Costa
2.4252 1.837208 5.509042e-061
>
> Bill Dunlap
> Spotfire, TIBCO Software
> wdunlap tibco.com
>
>
>> -Original Message-
>> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
>> On Behalf
>> Of arun
>> Sent: Wednesday,
1351
rs46 163.3730 3.304276 3.279925e-06 1
rs63 162.7924 2.084678 5.023893e-06 1
rs24 162.4252 1.837208 5.509042e-06 1
How can I do this?
Thanks,
-----
Silvano Cesar da Costa
Universidade Estadual
= numeric(1)
for(i in 1:1){
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
25 matches
Mail list logo