Re: [R] Network issue

2024-02-22 Thread James Powell
via the binaries. Thanks again, best wishes, James From: stephen sefick Sent: Wednesday 21 February 2024 12:25 To: James Powell Cc: r-help@r-project.org Subject: Re: [R] Network issue CAUTION: This email originated from outside of the organisation. Do not click links or open attachments

Re: [R] Network issue

2024-02-21 Thread James Powell
Hi Stephen, Thanks very much for getting back to me. My problem is described below. Any help would be greatly appreciated. Thanks, James Hi, Sorry for bothering you because I know that your time is voluntary, but I would really appreciate some help. I work in a hospital in part of Ireland’s

Re: [R] Network issue

2024-02-21 Thread James Powell
Hi Ivan, Thanks very much for your response, I'll definitely give that a go. Best wishes, James -Original Message- From: Ivan Krylov Sent: Wednesday 21 February 2024 10:38 To: James Powell Cc: r-help@r-project.org Subject: Re: [R] Network issue CAUTION: This email originated from

Re: [R] Network issue

2024-02-21 Thread James Powell
urls. Thanks again for your help. Regards, James From: stephen sefick Sent: Wednesday 21 February 2024 00:04 To: James Powell Cc: r-help@r-project.org Subject: Re: [R] Network issue CAUTION: This email originated from outside of the organisation. Do not click links or open attachments unless

[R] Network issue

2024-02-20 Thread James Powell
R version 4.3.1 (2023-06-16 ucrt) -- "Beagle Scouts" Copyright (C) 2023 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 (64-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or

Re: [ESS] emacs theme for polymode with noweb files

2023-12-04 Thread James W. MacDonald via ESS-help
I personally like Dracula mode, although Nord seems pretty nice as well. -Original Message- From: ESS-help On Behalf Of LaurentEss via ESS-help Sent: Sunday, December 3, 2023 5:48 PM To: ess-help@r-project.org Subject: [ESS] emacs theme for polymode with noweb files Dear ESS-list,    

Re: [R] Different TFIDF settings in test set prevent testing model

2023-08-11 Thread James C Schopf
peats = 2, classProbs = TRUE) model_svmRadial <- train(M2 ~ ., data = trainData, method = "svmRadial", trControl = ctrl) ____ From: Ivan Krylov Sent: Saturday, August 12, 2023 12:49 AM To: James C Schopf Cc: r-help@r-project.org Subject: Re: [R] Differ

[R] Different TFIDF settings in test set prevent testing model

2023-08-11 Thread James C Schopf
Hello, I'd be very grateful for your help. I randomly separated a .csv file with 1287 documents 75%/25% into 2 csv files, one for training an algorithm and the other for testing the algorithm. I applied similar preprocessing, including TFIDF transformation, to both sets, but R won't let me

[R] Help sourcing datasets (.csv)

2023-05-31 Thread james carrigan
Dear Sir or Madam I’m trying to compile a collection of datasets that require use of the following hypothesis tests. Are there datasets within the R library that I can get access to? Kind regards James Carrigan Hypothesis Testing t.test(X,Y) — performs a two sample t-test between X and Y

[R] useR 2023 regional events

2023-05-19 Thread Black, James via R-help
With the support of the R Foundation Conference Committee, we are happy to announce the promotion of regional R events to connect our R community and bridge us till useR! 2024. On July 21st we hold an event in Basel, with all ticket sales for the Basel event being directly donated to the R

[R] Install Rmpi on Linux on a HPC

2022-09-14 Thread James Li
Hi, Recently, I have had a hard time installing and running the package on an HPC. The HPC sysadmin installed Rmpi package without any error. However, when he tried a simple R script with only one line: library(Rmpi) the job caused "Segmentation Fault" error. Currently, we have no clue to

[R] pseudoreplication

2021-09-14 Thread James Henson
Greetings R Community The ASReml-R package will analyze data from experiments with pseudoreplications. Dealing with Pseudo-Replication in Linear Mixed Models https://www.vsni.co.uk/case-studies/dealing-with-pseudo-replication-in-linear-mixed-models Will the ‘lme4’ package return an equivalent

[R] Replacing certain rows with values from a different column

2021-08-10 Thread James Milks via R-help
I have two columns in a larger data set that list countries in one column and, in some cases, individual provinces within a country or oversea territories in another. I have country population in a second data set that I’m planning to use to calculate per capita rates in the first data set. My

[R] calculating area of ellipse

2021-05-06 Thread james meyer
In doing meta-analysis of diagnostic accuracy I produce ellipses of confidence and prediction intervals in two dimensions. How can I calculate the area of the ellipse in ggplot2 or base R? thank you James Meyer __ R-help@r-project.org mailing list

Re: [R] COVID-19 datasets...

2020-05-05 Thread James Spottiswoode
___ > 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-guide.html > and provide commented, minimal, self-contained, reproducible

[R] How to parallelize a process called by a socket connection

2020-02-01 Thread James Spottiswoode
ice would be greatly appreciated! Thanks. James __ 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-guide.html and provide co

Re: [R] File names for mac newby

2020-01-21 Thread James Spottiswoode
OSX is based on BSD UNIX so paths use the forward slash as separator, e.g. temps <- read.table("c:/Users/DFP/Documents/ah/house/HouseTemps.txt",header=T,row.names=1) Best James > On Jan 21, 2020, at 9:20 AM, David wrote: > > I moved to a mac a few months ago after yea

[R] R package for meta-analysis from z scores

2020-01-20 Thread james poweraid
Hello, I have a set of Z scores from an N=2 studies and I need to run a meta-analysis across the two Z scores for many N variables. I do not have effect sizes and SEs. I realize there are many different meta analysis packages in R, but I only have Z scores and it seems to me this is limiting. I

Re: [R] Global curve fitting/shared parameters with nls() alternatives

2019-11-08 Thread James Wagstaff
Dear Bert Thanks for getting back to me. Yes that is exactly the sort of problem I am trying to solve. I am aware of the option of hard coding the experimental groups as you suggested, but was hoping for an easy out of the box approach as I have many groups! Thanks James On Tue, 5 Nov 2019 at 20

[R] Global curve fitting/shared parameters with nls() alternatives

2019-11-05 Thread James Wagstaff
n not find any examples/documentation explaining a similar syntax for these tools. Is anyone aware of a nls-like tool with this functionality, or an alternative approach? Best wishes James Wagstaff [[alternative HTML version deleted]] __ R-help@r-p

Re: [R] Parameters optimization in r

2019-10-12 Thread James Spottiswoode
parallel processes across cores or machines. Rgenoud handles that well. Good luck! James > On Oct 11, 2019, at 4:21 PM, javed khan wrote: > > Hi > > I will appreciate if someone provide the link to some tutorials/videos > where parameters running are performed in R. For in

[R] Large mixed & crossed-effect model looking at educational spending on crime rates with error messages

2019-09-03 Thread Ades, James
I posted my question at Stack Overflow, where it didn’t get much of a response, and I was pointed in this direction by Ben Bolker. I’m happy to send the whole dataset to anyone who wants but thought that it would be presumptuous to include an enormous dput() here. I’m looking at the effects

Re: [R] Problem parallelizing across cores

2019-08-29 Thread James Spottiswoode
> On Aug 28, 2019, at 4:44 PM, James Spottiswoode wrote: > > Hi Bert, > > Thanks for your advice. Actually i’ve already done this and have checked out > doParallel and future packages. The trouble with doParallel is that it forks > R processes which spend a lot

[R] Problem parallelizing across cores

2019-08-28 Thread James Spottiswoode
have put this clearly. I’d much appreciate any suggestions. Thanks in advance, James Spottiswoode -- [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman

[R] Application Sizing

2019-07-25 Thread James Bowery
Given an "R" application's source code, how does one measure the number of bytes taken by just the compiled application, not including the CRAN libraries? [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To

[R] Fwd: Custom legend in ggplot - stat_summary shape and geom_bar fill

2019-01-17 Thread James Dare
t;),sep=""))+ ylab("E. coli (cfu/100mL)") As you can see, I end up with two legend items, '95th Percentile' and 'Median'. However, I would like the '95th Percentile' item to be a darkred diamond with no background. Any ideas how to do this? The dataset is attached below: Dataf

[R] [R-pkgs] New package: collateral 0.4.2 on CRAN

2018-11-20 Thread James Goldie
tml> -- = James Goldie: PhD Student, Climate Change Research Centre Email: j.gol...@unsw.edu.au, m...@rensa.co Tel: +61 421 747 208 Skype: james-goldie Web: https://rensa.co [[alternative HTML version deleted]] ___ R-packages m

Re: [R] Best Optimization Routines

2018-02-15 Thread JamesRyan(Ryan James)/E North America Business Division
Thanks Paul. Appreciate the help. I'll give this a shot. Ryan James D: 713.395.1794 M: 214.843.7301 -Original Message- From: Paul Smith [mailto:phh...@gmail.com] Sent: Thursday, February 15, 2018 7:12 AM To: Ryan James/E North America Business Division/SKI Cc: r-help@r-project.org

[R] Best Optimization Routines

2018-02-13 Thread JamesRyan(Ryan James)/E North America Business Division
I have a set of data, the production of oil from a well.  And an equation to predict that forecast.  The equation requires 5 input variables which are real numbers with upper and lower bounds, 1 input variable which must be an integer and 1 input variable which can be 1 of 2 string variables. 

Re: [R] Error in loadNamespace

2017-12-07 Thread James Henson
Thanks David!, that fixed the problem. Best regards, James On Thu, Dec 7, 2017 at 1:19 PM, David Winsemius <dwinsem...@comcast.net> wrote: > > > On Dec 7, 2017, at 10:47 AM, James Henson <jfhens...@gmail.com> wrote: > > > > Hello R Community, > > > >

[R] Error in loadNamespace

2017-12-07 Thread James Henson
for your help. James F. Henson [[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

[R] tidyquant error downloading symbols for Index

2017-08-06 Thread Sparks, John James
Hi R Helpers, I recently tried to take advantage of the ability to download all the tickers in the S 500 using the functionality of tidyquant, but it threw an error. For summary, the set of commands that I ran was library(tidyquant) tq_index_options() tq_index("SP500") sessionInfo() R

[R] Looping Through QuantMod Objects

2017-08-02 Thread Sparks, John James
Dear R Helpers, I have run into a problem trying to perform a number of actions on a set of quantmod data objects through a loop and I am hoping that this is an easy problem for someone else as opposed to very difficult for me. The example task is to get the first three objects of the quarterly

[R] Bayes Factor

2017-07-06 Thread James Henson
ure. [1] "tbl_df" "tbl" "data.frame". Best regards, James __ 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] Bayes Factor

2017-07-06 Thread James Henson
as a text file. Thanks for your assistance. Best regards, James # Plots for Interpreting One-Way ANOVA library(digest) library(DT) datatable(competition) # Characterize the data. class(competition) str(competition) competition$clipping <- as.factor(competition$clipping) competition$bioma

Re: [ESS] knitr tutorial for ESS

2017-06-08 Thread James W. MacDonald
Vincent Goulet has an installer that sets everything up for you, that you can get here. https://vigou3.github.io/emacs-modified-windows/ It does all the syntax highlighting, plus has polymode support which is nice for Rmd files. I can't help with any key combinations to build output. I just set

Re: [R] Setting .Rprofile for RStudio on a Windows 7 x64bit

2017-04-18 Thread Sparks, John James
Bruce, Do you think that you could post the final solution to the problem? That way it would be stored with this thread and the next person who has the same problem would be able to locate the FINAL solution. --JJS On Mon, April 17, 2017 12:47 pm, BR_email wrote: > TO _ALL_: > THANK YOU.

[R] Windows server 2012

2017-03-01 Thread Yates, James W T
Hello I'm investigating installing R in a virtual machine environment. Does anyone have experience running R on windows server 2012? Regards James AstraZeneca UK Limited is a company incorporated in Engl...{{dropped:16

Re: [R] Marg.fct function

2017-02-06 Thread James Henson
Greetings Peter and Jeff, Thanks for this information. Will try these type of analyses in SAS. Sure they are doable in R, but developing a procedure is difficult. Alan Agresti gives a cookbook SAS method in An Introduction to Categorical Analysis. Thanks, James On Sun, Feb 5, 2017 at 3:47 PM

[R] Marg.fct function

2017-02-05 Thread James Henson
Greetings R Community, An attempt to reproduce the results from code in the source below fails. R cannot find the function ‘Marg.fct’. An Internet search for the ‘Marg.fct’ function was not fruitful. I appreciate your help. Best regards, James F. Henson. R (and S-PLUS) Manual to Accompany

[R] cforest Single Tree Output for Categorical Variable

2017-01-13 Thread Sparks, John James
Hello R Helpers, I am building a random forest using the cforest method in the party package. I then want to have a look at the characteristics of a few of the trees. I get the output for one of the trees by executing pt <- party:::prettytree(cforest@ensemble[[3]],

Re: [R] confidence intervals for orthogonal contrasts

2016-12-02 Thread James Henson
Richard, Thanks, Have not previously used the HH package, but looks as if it contains many useful tools. Will check out your book also. Best regards, James On Thu, Dec 1, 2016 at 10:18 PM, Richard M. Heiberger <r...@temple.edu> wrote: > James, > > Please look at the maiz ex

[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

Re: [R] Is this foreach behaviour correct?

2016-11-12 Thread James Hirschorn
dunlap tibco.com<http://tibco.com> On Sun, Nov 6, 2016 at 2:20 PM, Duncan Murdoch <murdoch.dun...@gmail.com<mailto:murdoch.dun...@gmail.com>> wrote: On 06/11/2016 5:02 PM, Jim Lemon wrote: hi James, I think you have to have a starting date ("origin") for as.Date

Re: [R] Is this foreach behaviour correct?

2016-11-09 Thread James Hirschorn
Yes, I should have put > library(foreach) > library(zoo) at the top. On 11/06/2016 05:20 PM, Duncan Murdoch wrote: > On 06/11/2016 5:02 PM, Jim Lemon wrote: >> hi James, >> I think you have to have a starting date ("origin") for as.Date to >> conv

Re: [R] isssues with predict.coxph, offset, type = "expected", and newdata

2016-10-02 Thread David James
Thanks Terry, Re: the second case (predicting from a null model with a newdata= argument), I agree that it looks a bit over the top for such a straight forward computation, so maybe it is more a wish than anything else. In this one instance, this computation is embedded in a wider multi-state

[R] isssues with predict.coxph, offset, type = "expected", and newdata?

2016-09-30 Thread David James
Hi, It seems there might be two issues with predict.coxph(), and I'd appreciate confirmation before submitting a bug report to the package author. (1) predict() seems to produce incorrect predictions when using type = "expected" from a Cox model with an offset and specifying a new data for

Re: [R] yuen function of the WRS2 package

2016-08-31 Thread James Henson
Thanks, The 'droplevels' statement works. Best regards, James Henson On Tue, Aug 30, 2016 at 5:34 PM, William Dunlap <wdun...@tibco.com> wrote: > yuen does not work when there unused levels in the factors given to it. > >> yuen(GoalsGame ~ League, tr=0.2, data = SpainGer) >

[R] yuen function of the WRS2 package

2016-08-30 Thread James Henson
’ function cannot read the data in subset data frame ‘SpainGer’. My code is below. Thanks you for your help. James F. Henson # Examples from 'Robust Statistical Methods on R Using the WRS2 Package’ # Robust t-test, and ANOVA (pages5-13) library(WRS2) data("eurosoccer") class(eurosoccer) print(

[R] [R-pkgs] new package clubSandwich: Cluster-Robust (Sandwich) Variance Estimators with Small-Sample Corrections

2016-07-28 Thread James Pustejovsky
and meta-regression models. Bug reports, suggestions, and feature requests are welcome at https://github.com/jepusto/clubSandwich Cheers, James ___ James Pustejovsky Assistant Professor, Quantitative Methods Program Educational Psychology Department

[R] Anybody know the cause of this?

2016-07-01 Thread James Plante
Just upgraded to R 3.3.1; when I updated the packages on CRAN, I got a BUNCH of warning messages like the ones below: 2016-07-01 14:44:19.840 R[369:3724] IMKClient Stall detected, *please Report* your user scenario attaching a spindump (or sysdiagnose) that captures the problem -

[R] Rpart plot produces no text

2016-06-28 Thread Thompson, James
I am using R Studio and am able to fit a tree with RPlot, however, the tree in the viewer has no text (see image attached). Jim Thompson This e-mail message is for the sole use of the intended recipient and may contain information that is confidential, proprietary or privileged. Any

Re: [R] Whether statistical background is must to learn R language

2016-05-31 Thread James Henson
Greetings Prasad, Here are some tutorials on statistics using R.Statistics and Actuarial Science – Carl James Schwarz http://people.stat.sfu.ca/~cschwarz/CourseNotes/ Statistics and Actuarial Science – Carl James Schwarz - Programs http://people.stat.sfu.ca/~cschwarz/Stat-650/Notes

Re: [R] mixed models

2016-05-27 Thread James Henson
Greetings David, I am new to R and neglected to check vigorously for missing values. Apologize for posting without checking and finding the one NA. I appreciate your help. Thanks. James F. Henson On Fri, May 27, 2016 at 1:49 PM, David Winsemius <dwinsem...@comcast.net> wrote: > >

Re: [R] mixed models

2016-05-27 Thread James Henson
regards, James Eboni2 <- read.csv("Eboni2.csv", header = TRUE) library("nlme") str(Eboni2) head(Eboni2) model1 <- lme(preDawn ~ Irrigation, random=~season_order|treeNo, data=Eboni2) On Wed, May 25, 2016 at 6:23 PM, Jeff Newmiller <jdnew...@dcn.davis.ca.us> wrote

[R] mixed models

2016-05-25 Thread James Henson
code is below, and the data file is attached as ‘Eboni2.txt. library("nlme") str(Eboni2) head(Eboni2) model1 <- lme(preDawn ~ Irrigation, random=~season_order|treeNo, data=Eboni2) I am genuinely confused. Hope someone can help. Best regards, James F. Henson number Location

[R] Reduce does not work with data.table?

2016-05-25 Thread James Hirschorn
Reduce is failing when applied to a list of elements of class data.table. Perhaps this is a bug? Example: library(data.table) dt1 <- data.table(x = 1:3, y = 4:6) dt2 <- data.table(x = 4:6, y = 1:3) dt3 <- data.table(x = 0:-2, y = 0:-2) # This works fine dt1 + dt2 + dt2 #x y # 1: 5 5 # 2:

Re: [R] a replace for subset

2016-04-16 Thread James C. Whanger
> OR=S, PAT=high) and …., as you see doing subset is time consuming, is there > any other way? > Thank you for any help. > Elahe > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listin

Re: [R] ggplot2

2016-04-12 Thread James Henson
Thanks, the stat="identity" worked. On Tue, Apr 12, 2016 at 3:34 PM, Huzefa Khalil <huzefa.kha...@umich.edu> wrote: > Hi James, > > If you want to specify the y-values, you need to use stat="identity" as > below: > > ggplot(probability, aes(x=Fert

[R] ggplot2

2016-04-12 Thread James Henson
) datatable(probability) str(probability) probability$Fertilizer <- as.factor(probability$Fertilizer) str(probability) library(ggplot2) plot1 <- ggplot(probability, aes(x=Fertilizer, y=prob)) + geom_bar(aes(fill=Treatment)) plot1 Thanks. Best regards, James F. Henson Trt probLL

[R] Is this a bug in quantmod::OpCl?

2016-04-06 Thread James Hirschorn
OpCl works on xts objects but not on quantmod.OHLC objects. Is this a bug? Example error: x.Date <- as.Date("2003-02-01") + c(1, 3, 7, 9, 14) - 1 set.seed(1) x <- zoo(matrix(runif(20, 0, 1), nrow=5, ncol=4), x.Date) q <- as.quantmod.OHLC(x,c("Open","High","Low","Close")) # error OpCl(q) #>

Re: [R] installing packages

2016-03-30 Thread James Henson
Please excuse my brevity. > > On March 21, 2016 2:10:01 PM PDT, KMNanus <kmna...@gmail.com> wrote: >> >> Have you set your working directory to the “3.2” folder? >> Ken >> kmna...@gmail.com >> 914-450-0816 (tel) >> 347-730-4813 (fax) >> >> &g

[R] installing packages

2016-03-21 Thread James Henson
\RtmpIZmUa3\downloaded_packages Thank for your help. James F. Henson [[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

[R] Removing a dollar sign from a character vector

2016-02-10 Thread James Plante
What I’ve got: # sessionInfo() R version 3.2.3 (2015-12-10) Platform: x86_64-apple-darwin13.4.0 (64-bit) Running under: OS X 10.11.3 (El Capitan) locale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8 attached base packages: [1] stats graphics grDevices utils datasets

[R] package broom

2016-01-06 Thread James Henson
’ Error: package or namespace load failed for ‘broom’ Thanks, James F. Henson [[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

[R] how to plot two variables in a figure using ggplot2

2015-12-16 Thread Gullen, James (MDE)
Greetings! You don't specify what type of "figure" you're looking for...here are two possibilities to get you started: As a note, it would have made things slightly easier if you had used dput() to provide the data to us. It took a little massaging in notepad before getting it into R. #Read

Re: [R] value of variable in ls()

2015-10-19 Thread James Toll
> On Oct 18, 2015, at 10:51 AM, Christian Hoffmann <christ...@echoffmann.ch> > wrote: > > How can I do e.g. print("unknown"(ls())) and get the variable values in my > current environment? >From your example, it sounds like what you want is simpl

[R] rvest and the not css selector

2015-10-15 Thread James Toll
quot;) %>% html_nodes(":not(sup)") %>% html_text() Perhaps I’m using the not selector improperly. Any suggestions on how to get this to work properly? Thanks. James __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more

[R] contrasts among simple effects

2015-10-13 Thread James Henson
riable, the data will no longer be fitted to the AR1 variance/co-variance structure. Thanks. Best regards, James F.Henson __ 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 gu

[R] contrasts among simple effects - 2

2015-10-13 Thread James Henson
variable ‘simple’ as the independent variable, the data will no longer be fitted to the AR1 variance/covariance structure. Thanks. Best regards, James F.Henson drugperson timeHR a 1 1 72 a 4 1 78 a 7 1 71 a 10 1 72 a

Re: [R] Two conditions selection

2015-08-04 Thread James Hedges
cycle %% filter(col == blue, cycle == 1) On Tue, Aug 4, 2015 at 18:59 Rodrigo Díaz rodlupa...@hotmail.com wrote: Hi. I have a matrix like this:

Re: [R] Two conditions selection

2015-08-04 Thread James Hedges
Sorry. In dplyr: data %% filter(col == blue, cycle ==1) %% select(values) On Tue, Aug 4, 2015 at 19:54 James Hedges jhedg...@gmail.com wrote: cycle %% filter(col == blue, cycle == 1) On Tue, Aug 4, 2015 at 18:59 Rodrigo Díaz rodlupa...@hotmail.com wrote: Hi. I have a matrix like

[R] Combining estimates from multiple regressions

2015-06-24 Thread James Shaw
I am interested in using quantile regression to fit the following model at different quantiles of a response variable: (1) y = b0 + b1*g1 + b2*g2 + B*Z where b0 is an intercept, g1 and g2 are dummy variables for 2 of 3 independent groups, and Z is a matrix of covariates to be adjusted for in

Re: [R] Combining estimates from multiple regressions

2015-06-24 Thread James Shaw
, Bert Bert Gunter Data is not information. Information is not knowledge. And knowledge is certainly not wisdom. -- Clifford Stoll On Wed, Jun 24, 2015 at 3:27 AM, James Shaw sha...@gmail.com wrote: I am interested in using quantile regression to fit the following model at different

Re: [R] [FORGED] Re: Dunnett Test in 'multicomp' package

2015-06-05 Thread James Henson
Thanks. A useful tip for a long-time SAS user. James F. Henson On Fri, Jun 5, 2015 at 3:47 AM, Gerrit Eichner gerrit.eich...@math.uni-giessen.de wrote: Hello, everyone, aside from Rolf's hint (and Richard's warning!) you could also consider relevel(): viagraData$dose - relevel( viagraData

[R] Dunnett Test in 'multicomp' package

2015-06-04 Thread James F. Henson
. It is possible to rearrange the order so that placebo' is first, but this is inconvenient. Thanks, James F. Henson [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch

[R] MCMCglmm Intersex covariance set to 0

2015-05-12 Thread Rapkin, James
the help (?MCMCglmm) and searched through the R help pages but if the answer is there I'm not able to find/understand it. Any help would be greatly appreciated. Thank you. James Rapkin __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more

[R] Fwd: PLEASE HELP ON R-LANGUAGE

2014-12-01 Thread Daniel James
Subject: PLEASE HELP ON R-LANGUAGE I am writing my project on The effect of Bootstrapping on Time Series Data. My problem is how I will write r programme to run a non stationary time series data. I am familia to r language already. Please help me. [[alternative HTML version deleted]]

[R] print vectors with consecutive numbers

2014-08-22 Thread James Wei
message: In if (y == TRUE) mat else 0 : the condition has length 1 and only the first element will be used How can I change the code to get only the first 2 columns with consecutive numbers printed? I am new to R. Thanks in advance for your help. James

Re: [R] print vectors with consecutive numbers

2014-08-22 Thread James Wei
Hi Jorge, Thanks so much, it is working perfectly. There are so many for me to learn. Cheers. James From: jorgeivanve...@gmail.com Date: Fri, 22 Aug 2014 22:28:40 +1000 Subject: Re: [R] print vectors with consecutive numbers To: zwei0...@hotmail.com CC: r-help@r-project.org Hi James

Re: [R] Installing manual package problem

2014-08-09 Thread James Holland
the install_github function. Best, Ista On Aug 8, 2014 4:21 PM, James Holland holland.ag...@gmail.com wrote: Running R 3.03 on Windows 7 I am trying to install a package from a github repository. https://github.com/google/glassbox I downloaded the repository as a zip file, extracted it to get

[R] Installing manual package problem

2014-08-08 Thread James Holland
searching and this seems to be what I'm suppossed to do, but perhaps I need to use dev mode ? Thank you for the help. ~James [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE

Re: [R] Installing manual package problem

2014-08-08 Thread James Holland
I re-zipped it because when I downloaded from GitHub, it had the actual glassbox folder within the glassbox-master folder, so I zipped that glassbox folder because my understanding was the install.package On Aug 8, 2014, at 1:29 PM, James Holland wrote: Running R 3.03 on Windows 7 I am trying

Re: [R] Installing manual package problem

2014-08-08 Thread James Holland
(I see the glassbox folder in there) but the library function doesn't attach the package. ~James On Fri, Aug 8, 2014 at 6:50 PM, David Winsemius dwinsem...@comcast.net wrote: On Aug 8, 2014, at 1:29 PM, James Holland wrote: Running R 3.03 on Windows 7 I am trying to install a package

Re: [R] Importing random subsets of a data file

2014-07-23 Thread James White
Here's a stack overflow question addressing the same issue. http://stackoverflow.com/a/22261345 Hopefully it will help. Thanks Date: Wed, 23 Jul 2014 12:33:11 -0300 From: khurram.na...@gmail.com To: r-help@r-project.org Subject: [R] Importing random subsets of a data file Hi R folks,

[R] plotGooglemaps - Problem with the legend.

2014-04-29 Thread James Holland
#. # Messing around with Student Engagement Survey data library(RgoogleMaps) library(PBSmapping) library(maptools) library(reshape) library(RColorBrewer) library(plotGoogleMaps) library(rgdal) rm(list=ls()) mydata - data.frame(NAME=c(James Elem,Chloe MS,Logan HS

[R] Ridge regression for beta and gamma models

2014-04-28 Thread john james
] phi - par[k+1] if(phi 0)return(NA) mu - X%*%beta val - vector() mu - X%*%beta mul - exp(mu)/(1+exp(mu)) p - phi*mul; q - phi*(1-mul) for(i in 1:n) val[i] - dbeta(y[i],p[i,],q[i,],log=TRUE) return(-sum(val)) } James [[alternative HTML version deleted

[R] Pull Stock Symbol Out of String

2014-04-08 Thread Sparks, John James
Dear R Helpers, My regex skills are beginner to intermediate and banging around the web has not resulted in a solution to the problem below so I hope that one of you who has mad skills can help me out. I want to extract the stock ticker--AMT-- out of the string American Tower Corporation

[R] rehh package for iHS and Rsb on NGS data

2014-04-04 Thread James Abugri
Hello expert community. Is there anybody whose used rehh package for iHS and rsb. I have gone through the tutorial a dozen times, I need expert help to enable me apply it to my p.falciparum snp data from the illumina platform. Thanks James Abugri -- * The information contained in this email

[R] looping in R

2014-04-02 Thread Abugri James
I ran the following loop on my SNP data and got an error message as indicated for (i in genenames){ + current - fst1[which(fst1$Gene == i),] + num - nrow(current) + fst - max(current$fst) + position - mean(current$pos) + nposition - mean(current$newpos) + numhigh -

[R] Emacs/R/SSH But View( ) Doesn't Work

2014-03-06 Thread Allison Sr James L
I successfully run Emacs on a Windows laptop then use Emacs' Tramp to connect to a Linux server using SSH. Emacs in this fashion supports editing .R files resident on the remote machine and running of R in an inferior Emacs shell. The R process runs on the server. Also, I successfully use Putty

[R] Font Path question

2014-02-11 Thread James W. MacDonald
as to how I might track this down? Best, Jim -- James W. MacDonald, M.S. Biostatistician University of Washington Environmental and Occupational Health Sciences 4225 Roosevelt Way NE, # 100 Seattle WA 98105-6099 __ R-help@r-project.org mailing list

[R] Best practices for loading large datasets into R

2014-01-08 Thread James Mahon
for how to manage large datasets when doing analysis in R. Is there an alternative file format / relational datbase in which I should be storing the data? Best, James -- James F. Mahon III, Ph.D. Candidate Harvard University Tel: (857) 209-8438 Fax: (270) 813-3498 Web: http://www.people.fas.harvard.edu

Re: [R] [BioC] Why daisy() in cluster library failed to exclude NA when computing dissimilarity

2013-12-09 Thread James W. MacDonald
value e.g. 0. What's the right way to do it? G.V. ___ Bioconductor mailing list bioconduc...@r-project.org https://stat.ethz.ch/mailman/listinfo/bioconductor Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor -- James

[R] Finding absolute viewport location in grid / lattice

2013-11-05 Thread James Price
I'm trying to do some post-plot manipulation of some lattice graphics, in which I need to get the absolute viewport locations on the plotting device. So for example: library(lattice) print(xyplot(Petal.Length ~ Sepal.Length | Species, iris, layout = c(2, 2))) trellis.focus('panel', 1, 1) This

[R] [R-pkgs] scholar 0.1.0 on CRAN

2013-10-22 Thread James Keirstead
(ids) ggplot(df, aes(x=career_year, y=cites)) + geom_line(aes(linetype=name)) For more information and examples of how to use the package, please see https://github.com/jkeirstead/scholar. Your comments and suggestions would be appreciated. Best wishes, James -- Dr James Keirstead Lecturer

[R] Windows The system cannot find the path specified error when submitting R in batch mode

2013-08-19 Thread James Hackett
for any help you can provide, Chip James Chip Hackett, Ph.D. | Statistical Consultant | Hackett Associates, Inc. | c...@hackettassociates.net | 408.416.3747 (Office) | 805.509.0741 (Mobile) The material in this transmission may contain confidential information intended only for the addressee

Re: [R] Grap Element from Web Page

2013-08-16 Thread Sparks, John James
prone to error. On Thu, Aug 15, 2013 at 12:48 PM, Sparks, John James jspa...@uic.eduwrote: Thanks so much for looking into this for me. Unfortunately, I get an error when I execute your code. Is there a library that you loaded that I haven't? require(scrapeR) require(XML) require(RCurl

Re: [R] Grap Element from Web Page

2013-08-14 Thread Sparks, John James
On Wed, Aug 14, 2013 at 1:34 PM, Sparks, John James jspa...@uic.edu wrote: Dear R Helpers, I would like to pull the CIK number from the web page http://www.sec.gov/cgi-bin/browse-edgar?CIK=MSFTFind=Searchowner=excludeaction=getcompany If you put this web page into your browser you

[R] Grap Element from Web Page

2013-08-13 Thread Sparks, John James
Dear R Helpers, I would like to pull the CIK number from the web page http://www.sec.gov/cgi-bin/browse-edgar?CIK=MSFTFind=Searchowner=excludeaction=getcompany If you put this web page into your browser you will see the CIK number in red on the left side of the page near the top. When I try

  1   2   3   4   5   6   7   >