[R] i am trying to teach myself R

2016-12-01 Thread hotprojects
having been reasonably fluent a decade ago in spss and sas can I do everything in R I did in these two formats? eg multiple and logistic regression time series ; anova ancova etc ? [[alternative HTML version deleted]] __ R-help@r-project.org

Re: [R] confidence intervals for orthogonal contrasts

2016-12-01 Thread Richard M. Heiberger
James, Please look at the maiz example, the last example in ?MMC help("MMC", package="HH") where I show how to construct and calculate a set of orthogonal contrasts for a factor in an analysis of variance setting. mmc and mmcplot use glht in the multcomp package for the underlying calculations.

Re: [R] R & MongoDB

2016-12-01 Thread Nordlund, Dan (DSHS/RDA)
Here are some links that may get you started. https://www.r-bloggers.com/r-and-mongodb/ https://cran.r-project.org/web/packages/mongolite/vignettes/intro.html https://www.opencpu.org/posts/mongolite-release-0-3/ You may also want to ask your question on the R-sig-DB Mailing list.

Re: [R] Identifying Gender

2016-12-01 Thread Jim Lemon
On Fri, Dec 2, 2016 at 7:58 AM, Ismail SEZEN wrote: > > So, it’s more reasonable to identify the gender manually. > Both Paul ("Crocodile Dundee") Hogan and Donald Trump agree on that. Jim __ R-help@r-project.org mailing list --

Re: [R] Plotting Confidence Intervals into a density plot

2016-12-01 Thread David Winsemius
> On Dec 1, 2016, at 12:10 PM, Elysa Mitova wrote: > > Hi, > > I am desperately looking for a way to plot confidence intervals into a > density plot of only one variable (not a scatter plot etc.) > > Have you any advice how to do this? > > I've only found manual ways

Re: [R] Bootstrap using ARIMA model

2016-12-01 Thread Ashwini Patil
Hi David, here is my code including what i did for the tsboot: rm(list = ls()) library(boot) library(tseries) library(TTR) library(quantmod) library(scales) library(forecast) library(zoo) library(TSA) security<-"NFLX" startDate<-"2012-06-01" endDate<-"2016-10-31" qte_list<-c("AdjClose")

[R] confidence intervals for orthogonal contrasts

2016-12-01 Thread James Henson
Hi R users, Is there a way to calculate a confidence interval for each contrast in a set of orthogonal contrasts? The ‘multcomp’ package will calculate a CIs at the 95% family-wise confidence level. But, these confidence intervals are extremely wide. Thanks for your help. Best regards, James

[R] DocumentTermMatrix

2016-12-01 Thread Patrick Casimir
My dtm is showing the 4 files in the corpus correctly, but the number of terms is incorrect at 0. What can cause that? dtm <- DocumentTermMatrix(docs) dtm ## <> __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see

[R] Plotting Confidence Intervals into a density plot

2016-12-01 Thread Elysa Mitova
Hi, I am desperately looking for a way to plot confidence intervals into a density plot of only one variable (not a scatter plot etc.) Have you any advice how to do this? I've only found manual ways to do with "abline", but this is a rather bothersome method and only works with ggplot (and not

Re: [R] Splitting or Subsetting Using foreach

2016-12-01 Thread David Winsemius
> On Dec 1, 2016, at 9:27 AM, Doran, Harold wrote: > > I am having tremendous fortune using the foreach function in the foreach > package sending work out to multiple cores in order to reduce computational > time. > > I am experimenting with which types of tasks benefit from

Re: [R] Identifying Gender

2016-12-01 Thread Ismail SEZEN
> On 1 Dec 2016, at 23:42, Rich Shepard wrote: > > On Thu, 1 Dec 2016, Saba Sehrish via R-help wrote: > >> I have a csv file of Names based on male and female managers. Is there >> some code in R to identify the gender by names? > > Saba, > > Despite the

Re: [R] Identifying Gender

2016-12-01 Thread Rich Shepard
On Thu, 1 Dec 2016, Saba Sehrish via R-help wrote: I have a csv file of Names based on male and female managers. Is there some code in R to identify the gender by names? Saba, Despite the availability of some tools you'll never find a satisfactory answer. Consider Lynn, Alex, Ari, Blaine,

Re: [R] Identifying Gender

2016-12-01 Thread Duncan Murdoch
On 01/12/2016 2:40 PM, Saba Sehrish via R-help wrote: Hi I have a csv file of Names based on male and female managers. Is there some code in R to identify the gender by names? There was a package called genderNames on CRAN for a couple of months, but the maintainer abandoned it. You could

Re: [R-es] RSQLServer dplyr

2016-12-01 Thread javier.ruben.marcuzzi
Agrego al correo anterior, quizás como respuesta, dplyr puede complicar un poco el manejo, pero en lugar de RSQLServer se podría usar RODBC, o la versión de java, pero esta es más lenta. Javier Rubén Marcuzzi De: javier.ruben.marcu...@gmail.com Enviado: jueves, 1 de diciembre de 2016 16:54

Re: [R] Identifying Gender

2016-12-01 Thread Ismail SEZEN
> On 1 Dec 2016, at 22:40, Saba Sehrish via R-help wrote: > > Hi > I have a csv file of Names based on male and female managers. Is there some > code in R to identify the gender by names? > ThanksSaba > A simple google search gives the what you are after [1]. But I

Re: [R] Identifying Gender

2016-12-01 Thread Rui Barradas
Hello, I doubt there is, at least a search with package sos didn't show anything usefull. But a google search found https://github.com/KartikTalwar/LeGenderary Maybe you can get inspiration from there and adapt to R code. Rui Barradas Em 01-12-2016 19:40, Saba Sehrish via R-help escreveu:

[R-es] RSQLServer dplyr

2016-12-01 Thread javier.ruben.marcuzzi
Estimados De la dirección https://cran.r-project.org/web/packages/RSQLServer/index.html leo lo siguiente Package ‘RSQLServer’ was removed from the CRAN repository. Formerly available versions can be obtained from the archive. Archived on 2016-12-01 as check problems were not corrected despite

[R] Identifying Gender

2016-12-01 Thread Saba Sehrish via R-help
Hi I have a csv file of Names based on male and female managers. Is there some code in R to identify the gender by names? ThanksSaba [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see

Re: [R] Run a Python code from R

2016-12-01 Thread Nelly Reduan
Hello, Thanks a lot for your answers. Finally, I'm using the function system2() to run the python script. However, I don't know how to define a list of numeric values in the character vector of arguments for the function system2 (i.e., in �args� of the function system2() ) ? In the

Re: [R] Bootstrap using ARIMA model

2016-12-01 Thread Bert Gunter
Just briefly to follow up David's comment, though this is mainly about statistics and therefore off topic here... Bootstrapping time series is a subtle issue that requires familiarity with the technical details-- and maybe even current research. The tsboot() function gives you several options

Re: [R] Bootstrap using ARIMA model

2016-12-01 Thread David Winsemius
> On Dec 1, 2016, at 7:45 AM, Ashwini Patil wrote: > > Hi, > > I want to implement a bootstrap method for time series. > I am taking the adj close values from yahoo for NFLX and now I need to > bootstrap these values using ARIMA model. > > here is my code so far: >

Re: [R] R re-base/compile problem

2016-12-01 Thread Jeff Newmiller
You MIGHT get an answer here, but this type of question is more likely to belong on the R-devel mailing list than here. See the Posting Guide. -- Sent from my phone. Please excuse my brevity. On December 1, 2016 8:20:52 AM PST, lejeczek via R-help wrote: >hi everyone.

[R] Splitting or Subsetting Using foreach

2016-12-01 Thread Doran, Harold
I am having tremendous fortune using the foreach function in the foreach package sending work out to multiple cores in order to reduce computational time. I am experimenting with which types of tasks benefit from running in parallel and which do not and so this is a bit of a learning

[R] Bootstrap using ARIMA model

2016-12-01 Thread Ashwini Patil
Hi, I want to implement a bootstrap method for time series. I am taking the adj close values from yahoo for NFLX and now I need to bootstrap these values using ARIMA model. here is my code so far: rm(list = ls()) library(boot) library(tseries) library(TTR) library(quantmod) library(scales)

[R] How to setup a multiplicative dummy function in R

2016-12-01 Thread lolo koko
Hello? Does anyone know how I can implement the below equation in R? I would like to estimate the following equation: y=beta_ij * (1+gamma_j * dummy) * x_ij where y is continuous, and all the x variables (j of them) are i=3 level categorical variables. The intuition is that instead of

Re: [R] Ajdustment of data symbols

2016-12-01 Thread Giovanni Petris
That's exactly what I was looking for! Thank you, Giovanni From: David L Carlson Sent: Thursday, December 1, 2016 10:18 To: Giovanni Petris; r-help@r-project.org Subject: RE: Ajdustment of data symbols Try this. The par("cxy") gets

[R] (no subject)

2016-12-01 Thread Sandeep Reddy Marla
Hello, I'm trying to generate heat map for differential expression data. I ranked each data row and used that for heat map visualization (included an example data set with script). When difference between numbers within each row is small, still heat map is not representing correctly as it is

[R] R re-base/compile problem

2016-12-01 Thread lejeczek via R-help
hi everyone. this will be a bit rpm packaging related, not sure if more than R itself but before going to rpm gang I hoped someone here knows: why this: byte-compiling package 'compiler' Warning in file(datafile, "wb") : cannot open file

Re: [R] Ajdustment of data symbols

2016-12-01 Thread David L Carlson
Try this. The par("cxy") gets a vector of character width and height in user coordinates. points(0.25, par("usr")[3]-par("cxy")[2]/2, pch = 17, col = "red", cex = 2, xpd = TRUE) - David L Carlson Department of Anthropology Texas A University College Station,

[R] Ajdustment of data symbols

2016-12-01 Thread Giovanni Petris
Hello, Is there a way to specify a non-default adjustment for data symbols, similar to what "adj" does for text? For example, the following lines of code produce a red triangle on the bottom border of the plot: plot(0, 0, type = 'n', xlab = "", ylab = "") points(0.25, par("usr")[3], pch =

[R] Interpreting summary.lm for a 2 factor anova

2016-12-01 Thread Ashim Kapoor
Dear all, Here is a small example : - > model <- aov(breaks ~ wool * tension, data = warpbreaks) > summary.lm(model) Call: aov(formula = breaks ~ wool * tension, data = warpbreaks) Residuals: Min 1Q Median 3Q Max -19.5556 -6.8889 -0.6667 7.1944 25.

[R] [R-pkgs] New package queuecomputer

2016-12-01 Thread Anthony Ebert
Dear R users, queuecomputer is a new R package now available on CRAN. It is a very fast method for simulating queueing networks. The user supplies the arrival and service times and the departure times are computed deterministically. The name queuecomputer is meant in the sense that the package

[R] Question about proxy setting of R

2016-12-01 Thread qwertyui_period
Hello, I use R 3.0.2 on Win 7 through proxy server using ".Rprofile" in home directory that includes "Sys.setenv(http_proxy=proxy_server:port)". There has been no problem to access the internet for some years. In this situation, I installed R 3.3.1 and then entered "update.packages ()", however,

[R] R & MongoDB

2016-12-01 Thread Fernando Mozas Enguita
Hi Everyone! I�m new in R-world and I need help. I need to make an R-script for PowerBI to connect with a MongoDB data source and I don�t have so much idea I have a dataset in a Mongo DB like this: /* 1 */ { "_id" : ObjectId("5819ad77d8828e871ce09297"), "Date" : 1478077741,