Re: [R] Selecting elements

2021-08-25 Thread Silvano Cesar da Costa
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

Re: [R] Selecting elements

2021-08-23 Thread Silvano Cesar da Costa
, 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

Re: [R] Selecting elements

2021-08-20 Thread Silvano Cesar da Costa
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

[R] Selecting elements

2021-08-19 Thread Silvano Cesar da Costa
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

[R] Common elements

2019-03-08 Thread Silvano Cesar da Costa
,] 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

[R] Seasonal Cointegration

2016-02-29 Thread Rafael Costa
advance , Rafael Costa. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting

[R] Plotting a glmmADMB model

2015-11-09 Thread Luiz Ernesto Costa Schmidt
if the data that I should use for such description comes from the following indexation model$fitted or if I could use the command: plot(interactionMeans(model)) Thank you so much for your attention, Tchê -- Luiz Ernesto Costa-Schmidt http://lattes.cnpq.br/1402956553786728 &l

[R] Codependents Cycles

2015-06-25 Thread Rafael Costa
Dear R users, Where can I find the codes to test codependent cycles? This test was presented on paper "Codependents Cycles" (Vahid and Engle, 1997). I am looking forward any help. Thanks in advance , Rafael Costa. [[alternative HTML versi

Re: [R] Getting INDIVIDUAL effects of multiple qualitative variables (ordered and unordered factors)

2015-05-08 Thread Rafael Costa
make qrModel3=rq(data=tabela1.1, pontoefetivo ~ 0+ p1 + p21 + p22 + p23 + p24 + p25 + p34 + p5 + p6 + p7 + p8 + p9, tau=0.5) summary(qrModel3) #The value of the reference group reappears in the first estimated coefficient. Is there any way to do this? Thanks in advance , Rafael Costa. [[

[R] Getting INDIVIDUAL effects of multiple qualitative variables (ordered and unordered factors)

2015-05-07 Thread Rafael Costa
al effects on the runtime of the activity) are not negative values. Am I right about that? If so, what do I do to ensure that all values ​​are not negative? I am looking forward any help. Thanks in advance , Rafael Costa. [[alternative HTML versi

[R] About categorical explanatory variables

2015-05-07 Thread Rafael Costa
categorical explanatory variables (these may be ordered, unordered, or both types)? If so, how to proceed in R? I have been looked, but I found nothing about it. Any help will be appreciated. Thanks for listening. Yours sincerely, Rafael Costa [[alternative HTML version deleted

Re: [R] Downloading file.Rdata from internet

2015-05-04 Thread Rafael Costa
ton? Thanks for you attention, Rafael Costa. 2015-05-04 11:35 GMT-03:00 Robert Baer : > > > On 5/3/2015 7:58 PM, Rafael Costa wrote: > > Dear R users, > > To load the file into "http://www.datafilehost.com/d/c7f0d342"; > <http://www.datafilehost.com/d/c7f0d

[R] Downloading file.Rdata from internet

2015-05-03 Thread Rafael Costa
s most appreciated. Thanks in advance, Rafael Costa. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide ht

[R] Function inside Sweave

2014-01-08 Thread Silvano Cesar da Costa
/A2013/A2013.rec') head(dados) tail(dados) str(dados) attach(dados) serie_1 = subset(dados, SERIE=='1') head(serie_1) tail(serie_1) attach(serie_1) How can I do this? Thanks a lot, - Silvano Cesar da Costa Universidade Estadual

[R] Problems with xtable?

2013-12-13 Thread Silvano Cesar da Costa
& 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

[R] Multiple Lorenz curves in one diagram - populations with different "n"

2013-12-09 Thread Patricia Costa
Dear R users, I'm using the "ineq" package to calculate the values ​​of Gini and Lorenz coefficients and to and plot Lorenz graph. I want to plot on the same diagram, curves from two different populations, that have different "n". How can I do this?   Best regards,   Patricia

[R] (no subject)

2013-08-30 Thread Joana Costa
need to run it in SPSS menus Hope forward to hearning from you soon Best regards Joana Joana Costa, MSc, Ph.D.Postdoctoral Researcher(joanasco...@hotmail.com) CINEICC, University of Coimbra Rua do Colégio Novo, Apartado 6153 3001-802 Coimbra, Portugal Telefone: (+351) 239 851450 Fax: (+351

Re: [R] Error executing R CMD check --as-cran caused by missing Maintainer field

2013-08-03 Thread Stefano Costa
rror message could be more explicit in that regard? Stefano -- Stefano Costa http://steko.iosa.it/ __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-gu

[R] Error executing R CMD check --as-cran caused by missing Maintainer field

2013-08-02 Thread Stefano Costa
t; Fields ‘Author’ and ‘Maintainer’ can be auto-generated from ‘Authors@R’, and may be omitted if the latter is provided I am indeed using Authors@R so in the end I am slightly confused. What is the correct way to deal with these fields? Thank you in advance Stefano -- Stefano Costa http://www.io

[R] means in tables

2013-04-10 Thread Silvano Cesar da Costa
(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

[R] Blom transformation in R

2013-04-08 Thread anselmo de athayde costa e silva
I wonder if anyone knows any package enabling the transformation of Blom (data not normal) in R. Thank you! Anselmo [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEAS

[R] different colors for two wireframe spheres

2013-03-05 Thread David Schellenberger Costa
Dear List, I have the code below adapted from the lattice-package examples to draw two spheres. I would now like to give both different surface colors, e.g. one red and one blue. ## 3-D surface parametrized on a 2-D grid n <- 1

[R] SNPRelate problems

2012-12-18 Thread Silvano Cesar da Costa
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

[R] Kinship2 and GenABEL

2012-11-09 Thread Silvano Cesar da Costa
- Silvano Cesar da Costa Universidade Estadual de Londrina Centro de Ciências Exatas Departamento de Estatística Fone: (43) 3371-4346 __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the pos

[R] Extracting columns

2012-11-08 Thread Silvano Cesar da Costa
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 _

[R] Interaction

2012-10-29 Thread Silvano Cesar da Costa
Cesar da Costa Universidade Estadual de Londrina Centro de Ciências Exatas Departamento de Estatística Fone: (43) 3371-4346 __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://

Re: [R] factor or character

2012-10-24 Thread Silvano Cesar da Costa
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,

Re: [R] factor or character

2012-10-23 Thread Silvano Cesar da Costa
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

[R] factor or character

2012-10-23 Thread Silvano Cesar da Costa
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,

Re: [R] Reading multiple files

2012-09-26 Thread Silvano Cesar da Costa
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:

Re: [R] Reading multiple files

2012-09-26 Thread Silvano Cesar da Costa
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, &

[R] Reading multiple files

2012-09-26 Thread Silvano Cesar da Costa
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

[R] linear mixed-effects models with two random variables?

2012-09-14 Thread barbara costa
Dear R users, Does anyone knows how to run a glmm with one fixed factor and 2 random numeric variables (indices)? Is there any way to force in the model a separate interaction of those random variables with the fixed one? I hope you can help me. #eg. Reserve <- rep(c("In","Out"), 100) fReserve <-

[R] how to perform multiple comparisons with anova.glm significant interactions?

2012-09-11 Thread barbara costa
=myData) plot (glmTest) anova (glmTest, test="F") # How could I hypothetically test multiple comparisons among the 3 predictors (when only one is a factor)? (or something that can help me to understrand what is happening with fish biomass in relation to reserve effect and habitat meas

[R] how to create a segplot in black and white?

2012-09-10 Thread barbara costa
Hi to all I hope you can help me. # I'm trying to plot the following ratio data with standard error bars (horizontal). ratioBiomass <- c(1.327, 0.865, 1.900, 0.992, 1.469, 1.381, 1.230,1.269, 2.411, 1.288, 1.861, 0.714, 1.341, 1.362, 1.065, 2.374) SEratio <- c(19.28, 5.04, 0.01, 0.01, 0.90,

Re: [R] Common elements in columns

2012-09-03 Thread Silvano Cesar da Costa
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. >>

Re: [R] Common elements in columns

2012-09-03 Thread Silvano Cesar da Costa
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

[R] Common elements in columns

2012-09-02 Thread Silvano Cesar da Costa
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

[R] Pedigrees

2012-08-16 Thread Silvano Cesar da Costa
] 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

Re: [R] NULL column

2012-08-08 Thread 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,

[R] NULL column

2012-08-08 Thread Silvano Cesar da Costa
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

[R] regression analysis

2012-07-25 Thread Silvano Cesar da Costa
= 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

[R] how to model check in cozigam

2012-04-02 Thread barbara costa
Hi to all, I'd like to check my cozigam model with a continuous response. If I only had a GAM I could do gam.check(b), but with cozigam I'm not getting a way to check for residuals, fitted values, qq plot.. Even if I have to do it separately for zeros and non-zeros part, how can I assure that the f

Re: [R] how to colour labels (each label with a colour) in a dendrogram?

2011-12-12 Thread barbara costa
gt; above suggestions, which I found with about 30 seconds of Googling. > > Sarah > > On Mon, Dec 12, 2011 at 5:10 AM, barbara costa > wrote: > > Hello to all, > > I still have this doubt. > > I'd like to colour the different labels of my dendrogram each one w

[R] how to colour labels (each label with a colour) in a dendrogram?

2011-12-12 Thread barbara costa
at? I'd appreciate your help. thanks a lot again. Barbara On 9 December 2011 13:44, barbara costa wrote: > I'm sorry. > > (dend1 <- as.dendrogram(hc)) > > On 9 December 2011 12:10, Sarah Goslee wrote: > >> Hi, >> >> On Fri, Dec 9, 2011 at 6:57

Re: [R] how to add an edgetext to a dendrogram?

2011-12-09 Thread barbara costa
I'm sorry. (dend1 <- as.dendrogram(hc)) On 9 December 2011 12:10, Sarah Goslee wrote: > Hi, > > On Fri, Dec 9, 2011 at 6:57 AM, barbara costa > wrote: > > Hello to all, > > I'd like to colour the different labels of my dendrogram. How can I do? I >

[R] how to add an edgetext to a dendrogram?

2011-12-09 Thread barbara costa
Hello to all, I'd like to colour the different labels of my dendrogram. How can I do? I guess I could to using *edgetext* and then* t.col* or *lab.col* but I don't know how to add edgetext to my dendrogram. Can you help me please? Example: require(graphics); require(utils) hc <- hclust(dist(USAr

[R] different colors in a segplot centers (package latticeExtra)

2011-04-17 Thread barbara costa
Hi, how can I change colors in the centers of my segplot? I'm not interested in coloring the lines (Standard error limits) but the centers (means)? here's my code: segplot(reorder(factor(Species), MeanBiom) ~ MinSEBiom + MaxSEBiom , data=dfRatioAftBefBiom, draw.bands = FALSE, centers = MeanBiom

Re: [R] error in bargraph.CI {sciplot}

2011-03-25 Thread barbara costa
11 00:25, David Winsemius wrote: > > On Mar 25, 2011, at 8:06 PM, barbara costa wrote: > > Hi again, >> I opened a new worskpace and if this function is done before I do other >> things it works! >> But to use my data I'll have a problem. >> > > It s

Re: [R] error in bargraph.CI {sciplot}

2011-03-25 Thread barbara costa
Hi again, I opened a new worskpace and if this function is done before I do other things it works! But to use my data I'll have a problem. Thanks anyway. Barbara On 25 March 2011 23:51, barbara costa wrote: > Here's my session info: > > > sessionInfo() > R v

Re: [R] error in bargraph.CI {sciplot}

2011-03-25 Thread barbara costa
s_2.12.2 On 25 March 2011 23:50, barbara costa wrote: > Well, > > I have the R version 12.2.2 > > I installed sciplot_1.0-7.zip > <http://cran.r-project.org/bin/windows/contrib/r-release/sciplot_1.0-7.zip> > for > windows. > > > > I have the Windows

Re: [R] error in bargraph.CI {sciplot}

2011-03-25 Thread barbara costa
y R console because I wanted to figure it out why my data was giving this error. It's really weird that it doesn't work just for me. Does anyone has the windows 7 and are having the same problem? Barbara On 25 March 2011 05:22, David Winsemius wrote: > > On Mar 24, 2011

[R] error in bargraph.CI {sciplot}

2011-03-24 Thread barbara costa
Hi to all, Does anybody knows why this is giving an error? data(ToothGrowth) # Two-way design with options bargraph.CI(dose, len, group = supp, data = ToothGrowth, xlab = "Dose", ylab = "Growth", cex.lab = 1.5, x.leg = 1, col = "black", angle = 45, cex.names = 1.25,

[R] predict lm doubt

2011-03-18 Thread barbara costa
Hello, does anyone knows this predict is not resulting? # lm predict dfTestes3sitesCriptic$Velocity_corrected <- ifelse (dfTestes3sitesCriptic$Season == "A" & dfTestes3sitesCriptic$BeforeAfter == "Before", (dfTestes3sitesCriptic$Velocity * mVel3ABefAfter), (ifelse (dfTestes3sitesCriptic$Season ==

Re: [R] how to unsubscribe

2010-07-21 Thread barbara horta e costa
> --- barbara horta e costa schrieb am Mi, > 21.7.2010: > > > Von: barbara horta e costa > > Betreff: [R] how to unsubscribe > > An: r-help@r-project.org > > Datum: Mittwoch, 21. Juli, 2010 09:50 Uhr > > Hello, > > I need to unsubcribe this email to the

[R] how to unsubscribe

2010-07-21 Thread barbara horta e costa
Hello, I need to unsubcribe this email to the R help mailing list because I need to create an email only for this mailing list. My email account doesn't have that much space anymore and I don't have access to this every day. How can I do that? Thanks a lot -- Bárbara H. Costa Marine

Re: [R] count - help

2010-07-14 Thread barbara horta e costa
4 July 2010 14:39, Dieter Menne wrote: > > > barbara horta e costa wrote: > > > > I have a data frame with several factors and I want to count the > > occurrences > > of an event resulting from an interaction of some factors. > > > > I'd only ne

[R] count - help

2010-07-14 Thread barbara horta e costa
oesn't work with length - results are all 1. Do you have some suggestions? I'd really like to learn doing it in R and not having to shift to excell! Thanks a lot, Cheers, Barbara -- Bárbara H. Costa Marine Biologist Researcher SCIAENA - Marine Sciences and Cooperation www.sciaena.org

[R] count - help

2010-07-14 Thread barbara horta e costa
Do you have some suggestions? I'd really like to learn doing it in R and not having to shift to excell! Thanks a lot, Cheers, Barbara -- Bárbara H. Costa Marine Biologist Researcher SCIAENA - Marine Sciences and Cooperation www.sciaena.org ISPA | http://www.ispa.pt/ui/uie/index.a

Re: [R] Rgraphviz install

2009-12-16 Thread Costa
Hi, I installed R.10.1 and Graphviz 2.26 - which doesnt contain the libcdt-4.dll, so I get the same error message 'This application has failed to start because libcdt-4.dll was not found' when loading in R > library (Rgraphviz) I cannot find an installation file for Graphviz 2.20 to use under

[R] help with SAV file

2009-09-20 Thread Rogerio Costa
Hi, I am trying to do a statistical analysis of a SPSS data set, which has 7 different parameters, 4 of which are Yes/No. When I try to select in one of the parameters all the rows with a Yes it always gives me the same error : object 'Yes' not found although: > suburban [1] No No Yes

[R] help_if command_new column

2009-05-04 Thread barbara horta e costa
n has length > 1 and only the first element will be used This question seemed easy in the beginning but I was not successful. Thanks a lot for helping me. Barbara -- Bárbara H. Costa Marine Biologist Researcher SCIAENA - Marine Sciences and Cooperation www.sciaena.org bco...

[R] adding a new dataset to the default R distribution

2008-12-03 Thread Stefano Costa
ion, like "cars" and others. Please add me to CC if replying because I'm not subscribed to the list. Best regards, Stefano -- Stefano Costa http://www.iosa.it/ Open Archaeology __ R-help@r-project.org mailing list https://stat.ethz.ch/mai

[R] nlme, lme( ) convergence and selection of effects

2008-07-14 Thread Thiago Cortez Costa
Hi all, I've been trying to fit a mixed effects model and I've been having problems. =>My aim: to know whether states atributes, political parties and individual atributes affect the electoral results of men and women candidates. I use candidates as replications for states and for politi

[R] GARCH-like

2008-05-23 Thread Renato Costa
7;t help in the programming it helps in getting familiar with R. Thank you Renato -- PhD Student Renato Alencar Adelino da Costa ([EMAIL PROTECTED]) Department of Electrical Engineering (Mathematical Finance) Pontifical Catholic University (PUC-Rio) Rua Marques de Sao Vicente, 225, Sala 604L Gavea

[R] Post-hoc after Anova() car package using linear.hypothesis() in a Repeated Measure Analysis

2007-09-27 Thread Alejandro Luis Collantes Chávez-Costa
av.ok To try perform post hoc test I did: linear.hypothesis(diversitylm.ok, c("(Intercept)=CategoryM"), idata=idata.df, idesign=~Season, iterms="Season"); #To contrast Intercept (Category T) and Category M Alejandro Collantes Chávez-Costa Universidad de Quintana Roo, Unidad Cozu