Displaying 20 results from an estimated 2000 matches similar to: "France Model"
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 construct
> tables for each question by CODE.
>
2011 Dec 13
2
Problem with package compilation
Hi,
I have a R package with some functions made all of then only with R
code. I use the command R CMD build to build a package that I can
install on linux, windows or mac, because all the code is only R code.
But I have some problems with R version. For each new R version I need
to rebuild the package to be install in this new version. It is possible
to make a package without this R Version
2010 Mar 24
2
Mosaic
Hi,
I have this data set:
obitoss = c(
5.8,17.4,5.9,17.6,5.8,17.5,4.7,15.8,
3.8,13.4,3.8,13.5,3.7,13.4,3.4,13.6,
4.4,17.3,4.3,17.4,4.2,17.5,4.3,17.0,
4.4,13.6,5.1,14.6,5.7,13.5,3.6,13.3,
6.5,19.6,6.4,19.4,6.3,19.5,6.0,19.7)
(dados = data.frame(
regiao = factor(rep(c('Norte', 'Nordeste', 'Sudeste', 'Sul',
'Centro-Oeste'), each=8)),
ano =
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
2011 Jan 14
2
subset factor?
Hi,
I used subset command, like this:
grupoP = subset(dados, grupos=='P', select=c(mortos, vivos,
doses, percevejos, p))
and the variables in select option are numeric.
I tried fit a model with command:
ajuste.logit = glm(cbind(mortos,percevejos)~log10(doses),
family=binomial(logit), data=grupoP)
and the output is:
> ajuste.logit = glm(cbind(mortos,percevejos)~log10(doses),
2012 Nov 09
0
Kinship2 and GenABEL
Hi,
I'm using kinship2 to calculate heritabilty, but I would like calculate in
GenABEL too.
I trying the code:
> require(kinship2)
> require(GenABEL)
> pedig = with(Dados, pedigree(id=IID, dadid=PAT, momid=MAT, sex=SEX,
famid=FID, missid=0))
> kmat = kinship(pedig)
> (mod1 = polygenic(altura ~ SEX + idade, data=Dados, kin=kmat))
Erro em intI(i, n = d[1],
2010 Apr 01
2
About logistic regression
Hi,
I have a dichotomous variable (Q1) whose answers are Yes or
No.
Also I have 2 categorical explanatory variables (V1 and V2)
with two levels each.
I used logistic regression to determine whether there is an
effect of V1, V2 or an interaction between them.
I used the R and SAS, just for the conference. It happens
that there is disagreement about the effect of the
explanatory variables
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
2011 Nov 07
1
Problema with Excel files
Hi,
I have a Excel file with three spreadsheets: PlanA, PlanB
and PlanC.
I'm trying to read the three spreadsheets and then adding
them together.
But, when I try read the PlanA there is an error message:
rm(list=ls())
setwd('C:/Test/Dados/Teste')
require(RODBC)
Arquivo = odbcConnectExcel('T070206_1347.xls')
(Geral = sqlFetch(Arquivo, 'PlanA'))
(Lactacao =
2005 May 03
1
slow access while crossmounting samba
Hi,
I've got two linux machines with the same distribution and samba 3 that
cross-mounts a share (i.e., machine a mounts a share of machine b and vice
versa). I'm experiencing slow access from the machines to the opposite
mounted share and I don't know what this slow performance can be due to. I'm
not running with oplocks cause the share is accessed only by the other linux
2011 Jul 08
1
Getting wrong NA values using "for" cmd
Hi There,
I'm facing one problem to construct a vector using the "for" command:
I have one matrix named 'dados' (same as /data/ from portuguese), for
example:
> dados[140:150,]
[,1] [,2] [,3]
[1,] 212.7298 0.14 0.11
[2,] 213.3778 0.14 0.11
[3,] 214.0257 0.15 0.11
[4,] 214.6737 0.15 0.12
[5,] 215.3217 0.15 0.12
[6,] 215.9696 0.15 0.12
[7,] 216.6176 0.16
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
2011 Nov 10
1
Removing outliers
Hi,
I want to remove the outliers of my database with the following program (an
observation is considered an outlier if it is bigger than second quartile +
1,5* distance interquartiles or less than second quartile - 1,5*distance
interquartiles):
for(i in 1:length(dados)){
q3=quantile(dados[i], probs=.75)
q3=quantile(dados[i], probs=.50)
q1=quantile(dados[i], probs=.25)
d=q3-q1
for(i2 in
2008 Jan 02
1
Plot.svm error
Hi all,
Sorry to be bothering again with probably an easy error to fix, but I've been trying to solve the problem and haven't been able yet to do it. So I'm doing this:
> dados<-read.table("b.txt",sep="",nrows=30000)
>
2003 Mar 06
1
Problems with variable types.
Hi all,
I have problems in a dataframe variables types.
Look:
from a loop function:
for(...){
...
dados.fin <- rbind(dados.fin, c(L=j, A=j^2,
Nsp=nsps,
N=length(amosfin$SP),
AmT="am",NAm=nam,
AMST=amst))
dados.fin <- rbind(dados.fin, c(L=j, A=j^2,
2005 Aug 30
1
loglinear model selection
Hi R-masters!
I have a problem and need your help.
I have 9 discrete variables with 2 levels each.
In exploratory analisys I generate one matrix with chi-square for tables
with 2 ariables each with this script
setwd("F:/")
dados<-read.csv("log.csv")[,2:10]
dados.x<-matrix(NA,ncol=9,nrow=9)
for(i in 1:8){
for(j in (i+1):9){
tab<-table(dados[,i],dados[,j])
2016 Aug 12
0
File Server member DC ACL permissions
> > > Yes wbinfo shows the user but does 'getent passwd iuser' show
> > > anything ?
> >
> > # wbinfo -i iuser
> > iuser:*:4294967295:4294967295:iuser:/home/DOMAIN/iuser:/bin/false
> >
> >
> >
> > # getent passwd iuser
> > iuser:*:4294967295:4294967295:iuser:/home/DOMAIN/iuser:/bin/false
> >
> >
>
1998 Jun 06
1
R-beta: Problem with Multi-Figure Plots
I was trying to make some multi figure plots and I had some strange
problems. I'm using R 0.61.2. When I make this plot
>postscript(file="timeplot5.ps",horizontal=TRUE)
>par(mfrow=c(2,2))
>plot(dados$a1)
>plot(dados$a2)
>plot(dados$a3)
>plot(dados$a4)
The last panel is ploted without the box and it is always ploted in
landscape mode. Can anyone reproduce this
2009 Feb 03
1
color and fontfamily in lattice
Hi,
I am having some problems using bwplot(lattice) in my data. I want change some parameters:
1) Fontfamily to serif
2) The size of the font
3) Put it in a bold face
4) Change de color of the lines
How can I do that?! Now, I am using this to plot my boxplot.
dados <- data.frame(varsep=as.factor(rep(1:2,10)),i=runif(20))
2007 Dec 31
1
SVM error
Hi all,
I'm having this error, since I'm working with a data matrix I don't 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)
>