[R] Spreadsheets data

2024-12-05 Thread Figueiredo, Carlos via R-help
Hi there I want to create a script in Rstudio and load in the reagent dataset ensuring that the different data types in there (dates, text, etc) come through correctly. Best wishes Carlos Notice of Confidentiality: The contents of this e-mail and any

[R] Creating a script in Rstudio

2024-12-05 Thread Carlos Alberto Baptista de Figueiredo
Hi there I want to create a script in Rstudio and load in the reagent dataset ensuring that the different data types in there (dates, text, etc) come through correctly. Best wishes Carlos __ R-help@r-project.org mailing list -- To UNSUBSCRIBE

Re: [R] data.table installation on intel macOS Ventura 13.6

2023-09-26 Thread Carlos Ortega
#-- I had to install "gfortran" which has a link in that installation page. Having "gfortran" was key to make it run multithread. Thanks, Carlos. On Tue, Sep 26, 2023 at 11:49 AM Naresh Gurbuxani < naresh_gurbux...@hotmail.com> wrote: > > Sys.info() &g

Re: [R] data.table installation on intel macOS Ventura 13.6

2023-09-25 Thread Carlos Ortega
modify the "Makevars" file to include the paths of different compilers. Thank you, Carlos. On Mon, Sep 25, 2023 at 9:41 AM Ivan Krylov wrote: > On Sun, 24 Sep 2023 23:42:14 + > Naresh Gurbuxani wrote: > > > Instruction on this site do not apply to Ventura 13.6 > &g

[R] After installing and loading package 'PMCMRplus' could not find function "posthoc.kruskal.conover.test"

2022-05-04 Thread Carlos Gonzalez
> source("~/.active-rstudio-document", echo=TRUE) > library(tidyverse) > library(PMCMRplus) > m1 <- c(83, 91, 94) > m2 <- c(91, 90, 81, 83) > m3 <- c(78, 82, 77) > pKW(list(m1, m2, m3), method = "Asymptotic") Ties are present, so p-values are based on conditional null distribution. Group size

[R] After installing and loading package 'PMCMRplus' could not find function 'posthoc.kruskal.conover.test'

2022-05-03 Thread Carlos Gonzalez
r.test(list(m1, m2, m3), p.adjust.methods = "BH") : could not find function "posthoc.kruskal.conover.test" > -- Saludos / Regards Carlos A. Gonzalez Mobile +598 94 234 653 cag...@gmail.com [[alternative HTML version deleted]] __

Re: [R] NAs error in caret function

2022-04-21 Thread Carlos Ortega
sion, start including more complexity in the trainControl function. Thanks, Carlos. On Thu, Apr 21, 2022 at 12:59 AM javed khan wrote: > Carlos Ortega, thank you for your answer. > > Class label has three values (Bug, Codel smell and Vulnerability). X is a > text-based feature t

Re: [R] multilabel classification XGBoost and hyperparameter tuning

2021-05-27 Thread Carlos Ortega
now it's not avaialble on CRAN ( https://github.com/rivolli/utiml). - And this other one "mldr" could help you out: https://cran.r-project.org/web/packages/mldr/vignettes/mldr.pdf. Thanks, Carlos. On Thu, May 27, 2021 at 7:30 PM Agnes g2g wrote: > Thank you for your reply

Re: [R] read_csv not recognized

2021-03-08 Thread Carlos Gonzalez
Thank you! The problem was that tidyverse has not been loaded correctly. Sorry! El lun, 8 de mar. de 2021 a la(s) 18:24, Eric Berger (ericjber...@gmail.com) escribió: > Hi Carlos, > That is strange. The function read_csv is in the readr package. > You could try > > library

[R] read_csv not recognized

2021-03-08 Thread Carlos Gonzalez
Hi everybody, I've load tidyverse: library(tidyverse) and then try to use the function read_csv() but it didn't recognize it. Thanks! -- Saludos / Regards Carlos A. Gonzalez Mobile +598 94 234 653 cag...@gmail.com [[alternative HTML versi

[R] how to manage objects on the working environment

2021-02-27 Thread Carlos Gonzalez
Good morning! Each time I open a new R session, it appears the same objects that I thought were removed on an old session, but the objects I supposed were saved on the last session never appeared. Thanks! Saludos / Regards Carlos A. Gonzalez Mobile +598 94 234 653 cag...@gmail.com

Re: [R] problem when loading tidyverse

2021-01-27 Thread Carlos Gonzalez
opic (too many of them for one list). > > If you want to use the versions of the functions that tidyverse is > overriding, specify the desired package along with the function when you > call it. > > On January 27, 2021 9:16:12 AM PST, Carlos Gonzalez > wrote: > >Why when l

[R] problem when loading tidyverse

2021-01-27 Thread Carlos Gonzalez
Why when loading tidyverse shows the following: -- Conflicts -- tidyverse_conflicts() -- x dplyr::filter() masks stats::filter() x dplyr::lag()masks stats::lag() -- Saludos / Regards Carlos A. Gonzalez Mobile +598 94 234 653 cag...@gmail.com

Re: [R] problem installing R and RStudio

2021-01-27 Thread Carlos Gonzalez
HTML email through this list is erratic... if you want to >> insure we get your message as you sent it, set your email client to send >> plain text format. >> >> [1] https://cran.r-project.org/bin/windows/base/ >> [2] https://community.rstudio.com/ >> >> O

[R] problem installing R and RStudio

2021-01-25 Thread Carlos Gonzalez
ng message: package ‘stats’ in options("defaultPackages") was not found Error in inDL(x, as.logical(local), as.logical(now), ...) : unable to load shared object 'C:/Program Files/R/R-4.0.3/library/stats/libs/x64/stats.dll': LoadLibrary failure: The specified module could not be f

Re: [R] merged data frame with

2020-09-29 Thread Carlos Ortega
00:00 18 2005-11-14 08:30:00 19 2005-11-14 09:00:00 start 20 2005-11-14 09:30:00 start 21 2005-11-14 10:00:00 22 2005-11-14 10:30:00 end 23 2005-11-14 11:00:00 24 2005-11-14 11:30:00 end 25 2005-11-14 12:00:00 start Regards, Carlos Ortega On Tue, Sep 29, 2020 at 10:13 AM Ivan C

Re: [R] Mapping 2D to 3D

2020-09-18 Thread Carlos Ortega
Hi, There are some further references in the own "RStudio Community" and in StackOverflow: - https://community.rstudio.com/t/options-to-stat-density-2d/792/4 - https://stackoverflow.com/questions/32206623/what-does-level-mean-in-ggplotstat-density2d Kind Regards, Carlos. O

Re: [R] How to create a readable plot in R with 10000+ values in a dataframe

2020-07-29 Thread Carlos Ortega
leaving ggplot ecosystem: https://github.com/LKremer/ggpointdensity Thanks, Carlos Ortega. On Wed, Jul 29, 2020 at 11:31 AM Jim Lemon wrote: > Hi Ritwik, > I haven't seen any further answers to your request, so I'll make a > suggestion. I don't think there is any sensibl

[R] upgrade from R 3.6.3 to 4.0.0

2020-04-29 Thread Carlos H. Mireles
Hello everyone, I'm trying to upgrade R from 3.6.3 to 4.0.0 using the linux terminal commands (sudo apt upgrade r-base r-base-dev) but I get a message that says 3.6.3 is still the latest version. Please see the output below. How could I fix this? Thanks much for your help! C

[R] Error: package 'stats' could not be loaded

2019-09-26 Thread Carlos Weiss
I'm getting an error when using R for the first time. It's a web service written in C#, .NET 4.5, IIS 10.0 running on Windows Server 2019. The file called "stats.dll" (which was a result of installing R 3.1.1) is within the scope of the path variables for all users. Could anyone tell me if this is

[R] Problems update version

2018-03-06 Thread carlos alfredo barron gallardo
Hello. I'm trying to install bioconductor software on my ubuntu linux computer system. I've installed already the latest R version but when trying to install any semiconductor package, I can't. After write the command on R, it says that I have to upload my R to the new version but I have already

[R] Meta-regression

2017-01-17 Thread Carlos R. Moreira Maia
e anything different, with examples? Thank you in advance! BW Carlos. [[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 pos

Re: [R] Converting a list to a data frame

2016-11-04 Thread Carlos Ortega
Hi, You have also "rbindlist()" function in package "data.table" that does exactly what you need. Kind Regards, Carlos Ortega www.qualityexcellence.es 2016-11-04 13:37 GMT+01:00 Kevin E. Thorpe : > There is probably a very simple elegant way to do this, but I have b

Re: [R] Lattice equivalent to ggplot function

2016-10-24 Thread Carlos Ortega
Hi, Yes, it is available in "latticeExtra" package in function "panel.smoother()". Thanks, Carlos Ortega www.qualityexcellence.es 2016-10-24 15:13 GMT+02:00 Sébastien Bihorel : > Hi, > > The ggplot2 includes the very convenient stat_summary function to summarize &g

Re: [R] Add annotation text outside of an xyplot (lattice package)

2016-09-22 Thread Carlos Ortega
Hi, Yes, you can use "latticeExtra" package and use a text layer on top of your current chart. Thanks, Carlos Ortega 2016-09-22 16:04 GMT+02:00 Jun Shen : > Dear list, > > Just wonder if there is a way to add annotation text outside an xyplot, > (e.g. the bottom of the

[R] metaprop

2016-08-07 Thread Carlos Javier Rincon Rodriguez
hi, i am using the funtion metaprop but when i try to save the proportion estimation by subgrup using the option "byvar", the value in TE.fixed.w are the transformed proportion, and i need the untranformed proportion. I try with the option backtranf=true, but doesn`t change anithing. I have so m

Re: [R] Command to combine means?

2016-06-30 Thread Carlos Renato M. Maia
thank you very much Jim! I'll try it. bw c Sent from my iPhone > Em 30/06/2016, às 20:33, Jim Lemon escreveu: > > Hi Carlos, > The STATA function assumes estimated population SDs. If you have > sample SDs you can specify with this: > > combine<-function(n,

[R] Command to combine means?

2016-06-30 Thread Carlos R. Moreira Maia
the following values: combined n = 46 combined mean = 34.043478 combined SD = 18.964829 Does anybody knows a simmilar command in R to combine means? Thanks in advance. Carlos. [[alternative

[R] Contrast matrix with a continuous variable

2016-06-01 Thread Carlos Alvarez Roa
Hi all, I was wondering if someone could help me designing a contrast matrix when you have a continuous variable (Days). My model looks like this: model<-lme(Y~A*B*Days, data=data_over_time) The factor A has two levels (A1 and A2) and factor B

[R] Searching for antilog function

2016-05-31 Thread Carlos
The following function can do the work as well antilog<-function(lx,base) { lbx<-lx/log(exp(1),base=base) result<-exp(lbx) result } This solution is based on the change of base formula which states that : log (x,base=b) = log(x,base=a)/log(b,base=a) The original logarithm is changed into

[R] clm function in ordinal package: "Hessian is numerically singular"

2016-05-16 Thread Carlos Bautista León
when substituting 1 by 2 or 3 I do not get any warning message and I obtain all the coefficients of the model. I made some research and it seems and this can be due to low representation of certain values in the response, as well as to a small sample size. Is that right or can it be

[R] Fwd: about dowloading a package.

2016-02-24 Thread Carlos Gracida Juarez
d in the second, asks me about the possibility of open a new file carpet of destination, but doesn't allows me to make it. I hope you can help me, I'm new in the use of Rstudio. Thanks, Carlos Gracida -- Forwarded message -- From: Carlos Gracida Juarez Date: 23 February

[R] Researching the R Community

2015-10-01 Thread Carlos Gomez
time and want to help me on this research, I will really appreciate your collaboration. THE SURVEY: http://goo.gl/alZN4t I would like to invite you to participate in an academic survey namely "Towards understanding communication channels within a community". We are Carlos Gomez an

Re: [R] get data from pl sql block

2015-09-07 Thread Diaz Garcia, Luis Carlos
es http://www.tecnocom.es De: Jeff Newmiller [jdnew...@dcn.davis.ca.us] Enviado: lunes, 7 de septiembre de 2015 16:53 Para: Diaz Garcia, Luis Carlos; R-help@r-project.org Asunto: Re: [R] get data from pl sql block You will get better answers on the R-sig-db mailing li

[R] get data from pl sql block

2015-09-07 Thread Diaz Garcia, Luis Carlos
Hello all last week I create a script with R This script connect to Oracle database and retreave some data. This is a sample of the code dbName <- sqlQuery(con, "SELECT instance_name, host_name from v$instance",errors=FALSE) title (main = paste0("Mapa de los dblinks del entorno: ", dbName$INSTA

[R] Rodbc retrieve data

2015-08-19 Thread Diaz Garcia, Luis Carlos
Hi every one first I would like to introduce myself, as I'm new here. I'm Luis from Barcelona, I'm Oracle dba and I need to create some nice graphs. So, I was looking for a solution and I saw R... I think it's a good tool to make the task I need. So here is the task: I need to get all the dblink

[R] Hypergeometric Function seems to give wrong results

2015-07-06 Thread Carlos Nasher via R-help
Can anyone help how to compute the correct values within R? Best regards, Carlos [[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 re

[R] Towards understanding communication channels within a community

2015-06-30 Thread Carlos Gomez
Dear r-help mailing list, I would like to invite you to participate in an academic survey namely "Towards understanding communication channels within a community". We are Carlos Gomez and Margaret-Anne Storey, researchers from the Computer Human Interaction and Software Engineering L

[R] Academic studies over R-Help

2015-06-29 Thread Carlos Gomez
e the appropriate to send these kind of announcements? (if any) So, before upsetting the entire community (if this email is not doing that already), I will prefer to ask about it. Thank you for your consideration! Best regards, Carlos Gomez __ R-h

[R] Problems using nlmrt package

2015-06-17 Thread Carlos Ortiz Oñate
NA NA NA 8.058e-09 0.658 c1.11775NA NA NA 2.8e-07 1.928e-15 I would like to know which error do you think I am making. Attached is the document which contain the data. Thank you very much in advance, Carlos. -- Carlos Ortiz

Re: [R] problems editing R console

2015-06-07 Thread Carlos Andrade
tion_results variable again.* Also see... http://stackoverflow.com/questions/8345759/how-to-save-a-data-frame-in-r Carlos Andrade http://carlosandrade.co On Sun, Jun 7, 2015 at 12:58 PM, Rosa Oliveira wrote: > Dear Mark, > > > I’ll try to explain better. > > Imagine I wri

Re: [R] Heatmap

2015-05-22 Thread Carlos Javier Rincon Rodriguez
Please read R for Mac OS X FAQ (see Help) section 9 and adjust your system preferences accordingly. I looking the R for Mac document but there is not section 9.!!! Thanks for any help. Carlos. 2015-05-05 18:01 GMT-05:00 Carlos Javier Rincon Rodriguez < cjrinc...@unal.edu.co>: >

[R] assignment 2 part 1,2,3

2014-10-22 Thread Carlos M Castaneda
I am not taking this course for a grade, just self interest. I am stock with making the function. is there any where I can see how is done. I will not submit the home work. I want to use the homework as a tool to understand.\ the Coding for R. Thanks [[alternative HTML version deleted]]

[R] apply function to multiple list arguments

2014-10-14 Thread Carlos Nasher
desired results (res_1, res_2) again in a list. I tried mapply, but I don't get it running. Can anybody help? Thanks and best regards, Carlos -- ----- Carlos Nasher Buchenstr. 12 22299 Hamburg tel:+49 (0)40 67952962 mobi

[R] AICc in MuMIn package

2014-06-26 Thread Carlos Bautista León
r those from AICc function? Thank you very much in advace. Carlos [[alternative HTML version deleted]] __ 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/post

Re: [R] implementation for genetic algorithm

2014-05-13 Thread Carlos Ortega
of what you are looking for. Regards, Carlos Ortega www.qualityexcellence.es 2014-05-12 11:31 GMT+02:00 nourhan iyte : > Dear All, > I am a beginner for R programming > Do you an example for implementation for genetic algorithm > or how to use it in distance between cities algori

Re: [R] SQL vs R

2014-05-06 Thread Carlos Ortega
of how to work with it here: http://stackoverflow.com/questions/1727772/quickly-reading-very-large-tables-as-dataframes-in-r Regards, Carlos Ortega www.qualityexcellence.es 2014-05-06 11:12 GMT+02:00 Dr Eberhard Lisse : > Jeff > > It's in MySQL, at the moment roughly 1.8 GB, if

Re: [R] SQL vs R

2014-05-02 Thread Carlos Ortega
dpress.com/2014/03/27/more-fun-with-and/ Regards, Carlos. 2014-05-02 23:23 GMT+02:00 Dr Eberhard Lisse : > Hi, > > How do I do something like this without using sqldf? > > a <- sqldf("SELECT COUNT(*) FROM b WHERE c = 'd'") > > or > >

[R] KappaSize

2014-04-22 Thread Carlos Javier Rincon Rodriguez
o that. Thank for the help that anyone can give me. Best regard, Carlos. [[alternative HTML version deleted]] __ 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.o

[R] books and datasets

2014-03-05 Thread Carlos Hernandez
Dear R-users, I am looking for books and R examples that focus on the analysis of advertising, marketing, web metrics, and social media datasets. I wonder if you have recommendations for me. Thanks much! [[alternative HTML version deleted]] __ R

[R] Getting the current number of rows in windows R gui console (Carlos Arias)

2014-01-21 Thread Carlos Arias
an R option to get this value? Thank you, Carlos Arias Statistician at ICFES Colombia [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting gui

Re: [R] SOLVED: Count number of consecutive zeros by group

2013-11-11 Thread Carlos Nasher
Thanks to all of you. All solutions work fine. I'm running S Ellisons version with Williams comment. Perfect for what I'm doing. And sorry for using a name same as a base R function (twice) ;-) Cheers, Carlos 2013/11/1 PIKAL Petr > Hi > > Yes you are right. This gives n

Re: [R] Download CSV Files from EUROSTAT Website

2013-11-04 Thread Carlos Ortega
semination. Regards, Carlos Ortega. 2013/11/4 Adams, Jean > Lorenzo, > > You might want to post this is a new question to get some new eyes on it. > > Or, you could try posting your question to http://stackoverflow.com/. > Scraping the web is a common topic for that group.

Re: [R] Count number of consecutive zeros by group

2013-10-31 Thread Carlos Nasher
If I apply your function to my test data: ID <- c(1,1,1,2,2,3,3,3,3) x <- c(1,0,0,0,0,1,1,0,1) data <- data.frame(ID=ID,x=x) rm(ID,x) f2 <- function(x) { max( rle(x == 0)$lengths ) } with(data, tapply(x, ID, f2)) the result is 1 2 3 2 2 2 which is not what I'm aiming for. It should be 1 2 3

[R] Count number of consecutive zeros by group

2013-10-31 Thread Carlos Nasher
er of consecutive zeros? Different approaches are also welcome. Since the real dataframe is quite large, a fast solution is appreciated. Best regards, Carlos -- ----- Carlos Nasher Buchenstr. 12 22299 Hamburg tel:+49 (0)40 679529

[R] [R-pkgs] A new version of the package “TestSurvRec” is now available on CRAN

2013-10-09 Thread Carlos M. Martinez Manrique
functionally of the others functions of the package. For more details see the corresponding “TestSurvRec” pkg now available on CRAN. We are looking forward to getting yours bug reports or simple feedback to email cmmm7...@gmail.com or cmar...@uc.edu.ve , Sincerely, Dr. prof. Carlos

Re: [R] [dfoptim] 'Error in fn(ginv(par), ...) : object 'alpha' not found'

2013-09-09 Thread Carlos Nasher
tunately i do not understand why they do not exist and how to fix this. Maybe you could help me out here? Thanks in advance and best regards, Carlos 2013/9/3 Simon Zehnder > Hi Carlos, > > your problem is a wrong definition of your Likelihood function. You call > symbols in the code (

Re: [R] read.dta()

2013-09-06 Thread Carlos Valenzuela
It should work. I've used it several times with 3.01 in Linux. Just make sure you load the library: library(foreign) day<-read.dta("filelocation/abc.dta") Carlos On Thursday, September 5, 2013, Debasish Roy wrote: > I've been using R 3.0.1 version. I tried to read a f

[R] [dfoptim] 'Error in fn(ginv(par), ...) : object 'alpha' not found'

2013-09-03 Thread Carlos Nasher
5, -0.02, -0.02) fit <- nmkb(par=params, fn=Likelihood_cov, lower=c(0.0001, 0.0001, 0.0001, 0.0001, -Inf, -Inf), upper=c(Inf, Inf, Inf, Inf, Inf, Inf), x=data$x, tx=data$tx, T=data$T, IS=IS) ###### Maybe you could give me a h

[R] POSIXct bug for conversion of specific combinations of date and time

2013-08-25 Thread Carlos André Zucco
ecs Just in case it helps my session information area > sessionInfo() R version 2.15.1 (2012-06-22) Platform: i386-pc-mingw32/i386 (32-bit) locale: [1] LC_COLLATE=Portuguese_Brazil.1252 LC_CTYPE=Portuguese_Brazil.1252 [3] LC_MONETARY=Portuguese_Brazil.1252 LC_NUMERIC=C [5] LC_TIME=Por

[R] [optim/bbmle] function returns NA at ... distance from x

2013-08-13 Thread Carlos Nasher
, beta=10)) 'Error in grad.default(objectivefunction, coef) : function returns NA at 1e-040.001013016911639890.0003166929388711890.000935163594829395 distance from x. In addition: Warning message: In optimx(par = c(0.5, 10, 0.7, 10), fn = function (p) : Gradient not computable after method Nelder-Mead' Best regard

[R] Numercial evaluation of intgral with different bounds

2013-08-08 Thread Carlos Nasher
unlist(integral2, use.names=FALSE) But this doesn't work properly. I'd glad if you have any hints how to get this done. Many thanks and best regards, Carlos -- ----- Carlos Nasher Buchenstr. 12 22299 Hamburg tel:

Re: [R] exporting tables to word

2013-04-02 Thread Carlos Valenzuela
e any modifications, such as adding other regression results/tables. Thanks and hope this helps, Carlos On Tue, Apr 2, 2013 at 12:13 PM, Alexander Shenkin wrote: > Thanks Frans, > > odfTable seems not to like ftable objects. any thoughts? > > Error: chunk 1 (label = damageTable)

Re: [R] Pass vector as multiple parameters (as in python f(*x))

2013-01-25 Thread Carlos Pita
> Jeff I didn't pretend to imply that the mapping should by always s/by always/always be/ Sorry. __ 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-guide.h

Re: [R] Pass vector as multiple parameters (as in python f(*x))

2013-01-25 Thread Carlos Pita
be very glad to hear of it. Best regards -- Carlos Best regards -- Carlos Consider changing the called function's handling of arguments instead to accept the vector of data directly if a vector makes sense, or to a list if the arguments ha

[R] Pass vector as multiple parameters (as in python f(*x))

2013-01-25 Thread Carlos Pita
rary n, so something like x<-xyz[1], y<-xyz[2], z<-xyz[3] wouldn't fit the bill. Any other suggested solution would be appreciated. Best regards -- Carlos __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PL

[R] Rcpp wrap and as

2013-01-23 Thread Carlos Pita
t it's just a guess). Regards, Carlos. [[alternative HTML version deleted]] __ 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-guide.html and p

Re: [R] Copy on assignment and .Internal(inspect())

2013-01-23 Thread Carlos Pita
139493487 1703 samples 251 Average duplications are just 9 for 1000 executions of x[i] <- x[i] + 1. A lot of optimization seems to be going on! How do I make sense of the output listed in my previous post, then? Best regards -- Carlos On Thu,

[R] Set a zero at minimum row by group

2012-12-18 Thread Carlos Nasher
0 2 4 1 1 3 3 1 0 3 5 1 1 3 6 1 1 3 8 1 1 I already tried the aggregate() and apply() function, but I don't get the result I'm looking for. I would glad if you could help me out. Best regards, Carlos [[alternative HTML version deleted]]

Re: [R] Is there any R package that contains Rusboost based on Adaboost.m2?

2012-10-14 Thread Carlos Andrade
dn't find any of those coded in R. I was hoping that, perhaps, some other naming convention could have been used in R to address this problem. I hope I made myself more clear now. Thank you, Carlos Andrade http://carlosandrade.co 2012/10/14 Jeff Newmiller > Asking questions and giv

Re: [R] Is there any R package that contains Rusboost based on Adaboost.m2?

2012-10-14 Thread Carlos Andrade
'pre release' version of it. I hope it is inappropriate to ask such questions here. Thanks, Carlos Andrade http://carlosandrade.co 2012/10/14 Jeff Newmiller > May I suggest you use a more appropriate tool for your search: > > RSiteSearch("multiclass classification&quo

Re: [R] Is there any R package that contains Rusboost based on Adaboost.m2?

2012-10-14 Thread Carlos Andrade
Pardon, *I hope it is not inappropriate to ask such questions here. Carlos Andrade http://carlosandrade.co 2012/10/14 Carlos Andrade > Dear Jeff Newmiller, > > Thanks for the suggestion I did not know the website but the problem is > more dry than simple multiclass classificat

[R] Is there any R package that contains Rusboost based on Adaboost.m2?

2012-10-14 Thread Carlos Andrade
any other combination that could account for imbalanced multiclass classification problems. Thanks! Carlos Andrade http://carlosandrade.co [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/

[R] Bayesian inference distribution parameters

2012-10-05 Thread José Carlos Nogueira Cavalcante Filho
Dear all, I'm having a hard time trying to estimate in a bayesian way the parameters alpha and beta for a beta distributed set of data (frequency of occurrence). Do you have any suggestions or tutorials on how to estimate this? Best regards, JC [[alternative HTML version deleted]]

[R] Contradictory results between different heteroskedasticity tests

2012-09-18 Thread Carlos Pita
ems as if bptest is not considering the weights given to lm. What am I doing wrong here? Best regards -- Carlos __ 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

Re: [R] Rose plot (like a windrose)

2012-06-08 Thread Carlos Ortega
Hi, Please check function radial.plot() in package plotrix. Regards, Carlos Ortega www.qualityexcellence.es 2012/6/8 MartinD > Dear R Gurus, > I spent some time in looking for help but didn't find a way to do what I > want. > I do have a vector (in Degrees) containing of

Re: [R] day of the year for chron objects

2012-06-08 Thread Carlos Ortega
Hi Agustin, You can check and adapt this solution to your needs: http://stackoverflow.com/questions/9465817/count-days-per-year Regards, Carlos Ortega www.qualityexcellence.es 2012/6/8 Agustin Lobo > Hi! > Is not there an standard R function to retrieve the day of the year > (sinc

Re: [R] [r] par and complex graph

2012-06-07 Thread Carlos Ortega
Hi Francesco, No, I haven't tried... But if you have some code I can try. Regards, Carlos Ortega www.qualityexcellence.es 2012/6/7 Francesco Nutini > Oh thank you Carlos! > I wasted a lot of time formatting my xyplot by powerpoint. > Did you used a similar tips for te

Re: [R] Boxplot superscript y-axis

2012-05-29 Thread Carlos Rivera
/library/grDevices/html/plotmath.html Best wishes, Carlos Rivera -Mensaje original- De: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] En nombre de eduardo van den Berg Enviado el: martes, 29 de mayo de 2012 17:24 Para: r-help@r-project.org Asunto: [R] Boxplot superscript

[R] [R-pkgs] New package TestSurvRec_1.01

2012-04-28 Thread Carlos M. Martinez Manrique
Dear all, Recurrent events are common in many areas: psychology, engineering, medicine, physics, astronomy, biology, economics and so on . Such events are very common in the real world: viral diseases, carcinogenic tumors, machinery and equipment failures, births, murders, rain, industrial

Re: [R] R problem nls

2012-04-09 Thread Carlos Ortega
). And if you want to repeat that calculation for many different sets of x,y (each one of them corresponding to a different wavelength) you could do that in a loop. Regards, Carlos Ortega www.qualityexcellence.es 2012/4/9 Karen Vandepoel > Hi, > > I will try to explain what it is I ne

Re: [R] Creating Better Table in R

2012-04-09 Thread Carlos Ortega
Hi, Yes, please check package "tables". Regards, Carlos Ortega www.qualityexcellence.es 2012/4/9 bobo > Could anyone please direct me on how to make a nicer table in R? THANKS FOR > ALL THE HELP! > > I would like to make a table with the following in it: estimate, t

Re: [R] Help required in using apply instead of for loop

2012-01-31 Thread Carlos Ortega
Hi, You can do that even without apply(): v.v<-seq(10,20, by=0.1) y<-v.v^2 But if you want it with apply... apply(as.matrix(v.v), 1, function(x) x^2) Regards, Carlos Ortega www.qualityexcellence.es 2012/1/31 arunkumar > Hi > > I have a function > > y= x^2

Re: [R] Horizontal stacked 100% bars with ggplot2

2012-01-28 Thread Carlos Ortega
.tab)<-c('pet','gender', 'Freq') library(lattice) histogram( ~ Freq | pet *gender, data=d.f.tab, groups=gender, stack=T, horizontal=T ) Regards, Carlos Ortega www.qualityexcellence.es 2012/1/27 Mario Giesel > Hello, R friends, > > I'm trying t

Re: [R] Grabbing Column and Row titles

2012-01-27 Thread Carlos Ortega
Hello, Please check function which(). > > m <- matrix(1:12,3,4) > which(m==5, arr.ind=T) row col [1,] 2 2> which(m==9, arr.ind=T) row col [1,] 3 3 > Regards, Carlos Ortega www.qualityexcellence.es 2012/1/27 chuck.01 > Please use dput() to pos

[R] help about fitdistr funtion

2011-11-30 Thread Carlos Javier Rincon Rodriguez
Hi, I have a variable X classified in a lot of groups and I need to run the [fitdistr] funtion for each group. I tried with the [by] or the [tapply] funtions because my data is organize in two columns (variable and the groups), but neither of these command work. If somebody have a tip to help me

[R] sqldf if iif

2011-11-26 Thread Carlos Rivera
ems? Thank in advanced. Best wishes, Carlos Rivera [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-projec

Re: [R] annotate histogram

2011-11-01 Thread Carlos Ortega
Hi, You can use function segments() to draw them. Regards, Carlos Ortega www.qualityexcellence.es 2011/11/1 Wendy > Hi all, > > I want to make a histogram like the one show > http://nar.oxfordjournals.org/content/39/suppl_1/D1011/F1.expansion.html > here , but I did not figure

Re: [R] compressing/reducing data for plot

2011-10-17 Thread Carlos Ortega
Hello, One alternative is to create some kind of contourplot/levelplot which will enhance and show clearly the spikes and will smooth the rest of the information. That perhaps will be slow in generating the plot but not with the postscript file. Regards, Carlos Ortega www.qualityexcellence.es

Re: [R] contouring x y scatter data

2011-10-17 Thread Carlos Ortega
s, scales = list(arrows = FALSE, just = "right")) print(p1.gr, position = c(0, 0, 0.5, 1), more = TRUE) print(p2.gr, position = c(0.5, 0, 1, 1)) Regards, Carlos Ortega www.qualityexcellence.es 2011/10/17 emorway > Hello, > > I'm almost positive R can do the following, I just

Re: [R] high and lowest with names

2011-10-11 Thread Carlos Ortega
the smallest and build a function to calculate everything and return a list. Regards, Carlos Ortega www.qualityexcellence.es 2011/10/11 Ben qant > Hello, > > I'm looking to get the values, row names and column names of the largest > and > smallest values in a matrix. > &

Re: [R] plots of correlation matrices

2011-10-11 Thread Carlos Ortega
corrplot) Regards, Carlos Ortega www.qualityexcellence.es 2011/10/11 gj > Hi, > > I want to do a visualisation of a matrix plot made up of several plots of > correlation matrices (using corrplot()). My data is in csv format. Here's > an > example: > > id,category,a

Re: [R] Background Colors

2011-10-11 Thread Carlos Ortega
Hi, Yes, one way to do that is by using function polygon(). Regards, Carlos Ortega www.qualityexcellence.es 2011/10/11 Gabriel Yospin > Hi R-Help - > > If I make a plot: > > numYears = 500 > plot(x = c(1,numYears), y = c(200,300), xlab = "Time", ylab = "Vege

Re: [R] "pos" in panel.text

2011-10-10 Thread Carlos Ortega
Hi Allan, Please could you send the modified code where now it should appear x and y coordinates?. I do not fully understand the error message you get. Regards, Carlos Ortega www.qualityexcellence.es 2011/10/10 Allan Sikk > Thanks, Carlos, > > Tried that, but no success, still get

Re: [R] "pos" in panel.text

2011-10-10 Thread Carlos Ortega
fied coordinates. Besides "pos" you can try "adj" which is a parameter that allows you to use two parameters (between 0 and 1). Regards, Carlos Ortega www.qualityexcellence.es 2011/10/10 Allan Sikk > Here's the code. The problem seems to be specific fo

Re: [R] "pos" in panel.text

2011-10-10 Thread Carlos Ortega
espectively indicate positions below, to the left of, above and to the right of the specified coordinates. So, the coordinates should be "x=4, y=2" for your case. Additionally you can use ltext() function which is explained in the same panel.text() help. Regards, Carlos Ortega www.qu

Re: [R] help with statistics in R - how to measure the effect of users in groups

2011-10-10 Thread Carlos Ortega
. Regards, Carlos Ortega www.qualityexcellence.es On Mon, Oct 10, 2011 at 12:48 PM, gj wrote: > Thanks Petr. I will try it on the real data. > > But that will only show that the groups are different or not. > Is there any way I can test if the users are different when they are in > diff

Re: [R] Multiple levelplot with title

2011-10-09 Thread Carlos Ortega
Hi, Use function ltext() instead, also available in lattice package. Regards, Carlos Ortega www.qualityexcellence.es On Sun, Oct 9, 2011 at 6:30 PM, Richard O. Legendi < richard.lege...@gmail.com> wrote: > Hi all, > > I'm new to R and to the mailing list, so please be

Re: [R] barplots

2011-10-09 Thread Carlos Ortega
Hi, Another way to do that is with function barchart() in package lattice. Barchart requires a function which relates your variables with the option to specify groups. Check the examples (are under xyplot help) to apply them to your case. Regards, Carlos Ortega www.qualityexcellence.es On Thu

Re: [R] variable name question

2011-10-09 Thread Carlos Ortega
Hello, In R you just need to take the log of the whole whole data.frame where you have your pci* and store in a new variable. You do not need to use a "for" loop: log.df <- log(your_data_frame) Regards, Carlos Ortega www.qualityexcellence.es On Sun, Oct 9, 2011 at 5:34 PM, dee

  1   2   3   >