Re: [R] lattice and legend

2010-01-18 Thread robert-mcfadden
layout = c(1,6), col= my.col, auto.key=list(rectangles = TRUE, space = "bottom"), par.settings = simpleTheme(col = my.col) ) Dnia 18 stycznia 2010 15:05 Dieter Menne napisał(a): > > > > robert-mcfadden wrote: > > > > I use latt

[R] lattice and probem

2010-01-18 Thread robert-mcfadden
I have a simple chart: barchart(Counts ~ Purchase | Products , data = my.data, groups = Model) where Purchase in data has values {0,1,2,3...10}. In a chart xlab begins with 1 not 0. How to change it? Best, Robert __ R-help@r-project.org mailing

Re: [R] lattice and probem

2010-01-18 Thread robert-mcfadden
Excellent. Thank you very much. Best, Robert Dnia 18 stycznia 2010 18:20 Peter Ehlers napisał(a): > robert-mcfad...@o2.pl wrote: > > I have a simple chart: > >barchart(Counts ~ Purchase | Products , data = my.data, groups = Model) > > where Purchase in data has values

[R] Equality between covariance matrices?

2010-01-22 Thread Robert Lonsinger
I have conducted a discriminant function analysis with lda() in the MASS Package, and I am interested in testing that the covariance matrices of the groups are equal. Does anybody have any suggestions on how I could test for equality between covariance matrices? Any help would be great. Thank yo

[R] different x-axes in Lattice

2010-01-24 Thread Robert Ruser
barchart(yield ~ variety | site, data = barley2, groups = year, layout = c(1,6), scales = list(y = "free",x="free"), auto.key=list(rectangles = TRUE, space = "bottom"), ) Robert __ R-help@r-project

Re: [R] Display of results

2010-01-25 Thread Robert Baer
I don't know this test, but as written, LM <- Lo.Mac(y,kvec), will just make an assignment. To display the result you could write: (LM <- Lo.Mac(y,kvec)) - Original Message - From: "Hichem Ben Khedhiri" To: Sent: Sunday, January 24, 2010 9:47 AM Subject: [R] Display of results D

[R] date and time functions

2010-01-27 Thread Robert Kalicki
format in R to perform such kind of work? Is there any specific, powerful and well documented package containing various date and time functions? Many thanks in advance Best regards ___ Robert M. Kalicki, MD Postdoctoral Fellow Department of

[R] how to compute directions number in Fourier Tranform periodograms

2010-01-27 Thread Robert U
Dear R-users,   I have seen many times posts about Fourier transform, and I am trying to do one right now. Before to apply any scripts, I wonder whether it could properly apply to my problem, and even though it’s not a statistics-helpers mailing list maybe one of you would be able to answer my

[R] RMySQL install

2010-01-28 Thread Robert Schneider
Hi everyone, I am trying to install the RMySQL package under windows xp. I've got the MySQL installed on the computer (MySQL server 5.1). I went through the steps presented on the webpage http://biostat.mc.vanderbilt.edu/wiki/Main/RMySQL and googled around and still can't find the answer. With

[R] Questions on Mahalanobis Distance

2010-01-29 Thread Robert Lonsinger
Hello, I am a new R user and trying to learn how to implement the mahalanobis function to measure the distance between to 2 population centroids. I have used STATISTICA to calculate these differences, but was hoping to learn to do the analysis in R. I have implemented the code as below, but my re

Re: [R] Questions on Mahalanobis Distance

2010-01-30 Thread Robert Lonsinger
everal existing implementations. > rseek.org is a good place to find functions. > > Sarah > > On Fri, Jan 29, 2010 at 9:48 PM, Robert Lonsinger > wrote: >> Hello, >> I am a new R user and trying to learn how to implement the mahalanobis >> function to me

[R] Nonparametric alternative to LDA

2010-02-09 Thread Robert Lonsinger
Can anybody recommend a nonparametric alternative to linear discriminant function that may be available as a package in R? Cheers, Rob [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listin

Re: [R] Can anyone advise me on running R and Rstudio on an AWS virtual machine

2020-10-14 Thread Robert Knight
server gets hacked in some fashion. You could restrict access to your own IP address in the AWS security group settings which would drastically minimize the risk of that. Robert Knight > On Oct 14, 2020, at 12:00 PM, Chris Evans wrote: > > This is a funny one and if it's off to

[R] sp:gIntersection warning message about projection

2020-10-20 Thread Robert Lovejoy
Hi, I am using in my workflow gIntersection from sp package. Part of my relevant sessionInfo is: R version 4.0.3 (2020-10-10) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 17763) attached base packages: [1] stats graphics grDevices utils datasets methods

Re: [R] How to pass a character string with a hyphen

2020-11-17 Thread Robert Knight
Strip the left characters and strip the right characters into their own variables using one of the methods that can do that. Then pass it using something like paste(left, "-", right). On Tue, Nov 17, 2020, 2:43 PM Jeff Reichman wrote: > R-Help > > > > How does one pass a character string contai

[R] Need recommendation for hash table which accepts integer keys

2020-12-15 Thread Robert Dodier
tations on values I wonder if anyone can suggest a hash table implementation. Perhaps one way to get to an answer is to ask, what did you use last time you needed a hash table which was going beyond what env provides? Thanks for your time, I appreciate your

Re: [R] Is there anyone who uses both R and Python here? How do you debug? Perhaps in RStudio?

2021-01-27 Thread Robert Knight
An iterative process works well. Python to get the data desired and then Rscript script.r from a command line. My process involves building a script in R using, using Rstudio, Pycharm, VS Code, Kate, or some other editor. Then using data input built with Python as input to Rscript. The R scripts

[R] ISO recommendations for plot output format from R to MS Word

2021-02-12 Thread Robert Dodier
to date information. Thank you very much for any light you can shed on this problem. Robert Dodier __ 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

Re: [R] ISO recommendations for plot output format from R to MS Word

2021-02-18 Thread Robert Dodier
ience is useful in some way to others. best, Robert Dodier __ 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.htm

Re: [R] ISO recommendations for plot output format from R to MS Word

2021-02-18 Thread Robert Dodier
pasted into a Word document. It's not clear that doing that automatically is going to work better or differently than doing it by hand. Anyway I think I have a working solution at this point so I leave it to others to investigate further possibilities. b

Re: [R] Variable labels

2021-05-15 Thread Robert Knight
(mydata$invpc) And that will provide you the associated description in text form. Robert D. Knight, MBA Developer of Meal Plan and Grocery List maker for Android and iOS. https://play.google.com/store/apps/details?id=io.robertknight.MPGL On Wed, May 12, 2021 at 9:49 PM Steven Yen wrote: &

Re: [R] Variable labels

2021-05-15 Thread Robert Knight
"log(inv)","log(pop)","log(price)","time trend: t=1,...,42","per capita inv: inv/pop", "log(invpc)","lprice[_n-1]","linvpc[_n-1]","lprice - lprice_1","linvpc - linvpc_1") desc <- cbind(variable, des

Re: [R] CentOS 8: installing R

2021-05-25 Thread Robert Knight
Openblas-threads is in the appstream repository rather than power tools. https://centos.pkgs.org/8/centos-appstream-x86_64/openblas-threads-0.3.3-5.el8.x86_64.rpm.html On Mon, May 24, 2021, 2:56 PM Marc Schwartz via R-help wrote: > Hi Roger, > > I can't speak to the details here, albeit, there

Re: [R] Wayland backend for R

2021-06-23 Thread Robert Knight
Perhaps software rendering would work. Export RSTUDIO_CHROMIUM_ARGUMENTS="--disable-gpu" /usr/lib/rstudio/bin/rstudio On Wed, Jun 23, 2021, 10:01 AM Phillips Rogfield wrote: > Hello Paul, > > thank you for your kind advice. > > RStudio doesn't start at all this way. It gives me the following

Re: [R] problem for strsplit function

2021-07-10 Thread Robert Knight
My method would be to use parse and deparse and substitute. It would iterate over each file name and build a new list of file names with the last four characters removed to have only the left side, and only the last four remaining to have only the right side. Then a new dataframe would be crea

Re: [R] Fwd: Merging multiple csv files to new file

2021-11-03 Thread Robert Knight
It might be easier to settle on the desired final csv layout and use Python to copy the rows via line reads. Python doesn't care about the data type in a given "cell", numeric or char, whereas the type errors R would encounter would make the task very difficult. On Wed, Nov 3, 2021, 10:36 AM gabr

Re: [R] Date read correctly from CSV, then reformatted incorrectly by R

2021-11-22 Thread Robert Knight
Richard, This response was awe-inspiring. Thank you. -Original Message- From: R-help On Behalf Of Richard O'Keefe Sent: Sunday, November 21, 2021 8:55 PM To: Philip Monk Cc: R Project Help Subject: Re: [R] Date read correctly from CSV, then reformatted incorrectly by R CSV data is v

Re: [R] Why R >= 4.1 warns about installing Rtools on Windows?

2022-09-28 Thread Robert Baer
guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- ______ Robert W. Baer, Ph.D. Professor of Physiolgy Kirksville College of Osteopathic Medicine A.T. Still University of Heallth Sciences

Re: [R] AIC

2022-11-25 Thread Robert Knight
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 code. > -- Robert Knight Developer

Re: [R] Format printing with R

2022-12-11 Thread Robert Baer
And you will probably want to read the details of the  ?round help, so you understand how it handles 5 rounding.  It is a little more complicated than some of us learned in school. On 11/22/2022 4:24 AM, Steven T. Yen wrote: Thanks to all. And yes, Ivan, round() did it: > dput(head(Mean)) c(

[R] Huge differences in Ram Consumption with different versions of R on the same scripts

2023-05-07 Thread Robert Knight
ncern? Robert Knight [[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-guide.htm

[R] approx with NAs

2019-05-03 Thread Robert Almgren
that approx() also be given an na.rm argument, indicating whether we wish to delete NA values, or treat them as actual values on the corresponding interval. That option makes even more sense for approx() than for mean(), since the NA values apply only on small regions of the data range.

Re: [R] saving an R script

2019-05-10 Thread Robert Baer
h/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 code. -- -- Robert W. Baer, Ph.D. Professor of Physiology Kirksville College of Osteopathic Medicine A T Still University of Health

Re: [R] Technical Help Request for "Version Differences" (i.e., CYTOFKIT package)

2023-08-10 Thread Robert Baer
ror in pkg_install("tibble") : could not find function "pkg_install" install.packages("D:/Programlar/ggplot2/ggplot2_3.4.2.zip", repos = NULL, type = "win.binary") Installing package into ‘C:/Users/murat/Documents/R/win-library/3.5’ (as ‘lib’ is unspecifie

Re: [R] Book Recommendation

2023-09-04 Thread Robert Baer
This is a great find for those of us lurking on this thread. Thanks for sharing Greg (and of course Paul). On 8/30/2023 3:52 PM, Greg Snow wrote: Stephen, I see lots of answers with packages and resources, but not book recommendations. I have used Introduction to Data Technologies by Paul Mur

[R] Print hypothesis warning- Car package

2023-09-16 Thread Robert Baer
When doing Anova using the car package,  I get a print warning that is unexpected.  It seemingly involves have my flow cytometry factor levels named CD271+ and CD171-.  But I am not sure this warning should be intended behavior.  Any explanation about whether I'm doing something wrong? Why can'

Re: [R] Print hypothesis warning- Car package

2023-09-17 Thread Robert Baer
Thanks John. Appreciate the insights. On 9/17/2023 9:43 AM, John Fox wrote: Dear Robert, Anova() calls linearHypothesis(), also in the car package, to compute sums of squares and df, supplying appropriate hypothesis matrices. linearHypothesis() usually tries to express the hypothesis matrix

[R] back tick names with predict function

2023-11-30 Thread Robert Baer
I am having trouble using back ticks with the R extractor function 'predict' and an lm() model.  I'm trying too construct some nice vectors that can be used for plotting the two types of regression intervals.  I think it works with normal column heading names but it fails when I have "special"

Re: [R] back tick names with predict function

2023-11-30 Thread Robert Baer
wrote: Às 17:57 de 30/11/2023, Rui Barradas escreveu: Às 17:38 de 30/11/2023, Robert Baer escreveu: I am having trouble using back ticks with the R extractor function 'predict' and an lm() model. I'm trying too construct some nice vectors that can be used for plotting the two type

Re: [R] back tick names with predict function

2023-12-03 Thread Robert Baer
On 12/1/2023 11:47 AM, peter dalgaard wrote: Also, and possibly more constructively, when you get an error like CI.c = predict(mod2, data.frame( `plant-density` = x), interval = 'c') # fail Error in eval(predvars, data, env) : object 'plant-density' not found you should check your assump

Re: [R] ggplot2: Get the regression line with 95% confidence bands

2023-12-12 Thread Robert Baer
coord_cartesian also seems to work for y, and including the breaks = .  How about: df=data.frame(year= c(2012,2015,2018,2022),   score=c(495,493, 495, 474)) ggplot(df, aes(x = year, y = score)) +   geom_point() +   geom_smooth(method = "lm", formula = y ~ x) +   labs(title = "Standa

Re: [R] What is the HEX code for "transparent" color?

2024-06-06 Thread Robert Knight
You would give an existing color a new name and modify the new name's alpha. Then refer to the color by the new name instead of using HEX. On Thu, Jun 6, 2024, 11:07 AM Yosu Yurramendi wrote: > What is the HEX code for "transparent" color? > I've tried "" "FF00" "", but they

[R] devtools - bad credentials R4.4.1

2024-06-20 Thread Robert Baer
I am trying to install a package from github which has worked fine in the past, but now seems to be stuck on some new authentication issues.  Does anyone know how I can straighten myself out?  In theory, this is a public repository so I'm not sure why I even need authenticating for installation

Re: [R] devtools - bad credentials R4.4.1

2024-06-20 Thread Robert Baer
2024 5:41 PM, Jeff Newmiller wrote: My guess is that this is related to you saving an expired Personal Access Token in your global git options or credentials store? Git is perfectly capable of using per-repo credentials... don't configure a credential in your global configuration and it w

Re: [R] devtools - bad credentials R4.4.1

2024-06-21 Thread Robert Baer
al-manager-for-windows> > > On June 20, 2024 4:26:34 PM PDT, Robert Baer wrote: >> Not being a developer, I have limited uderstanding of PATs and global git >> options, but here is what I was able to cobble together to start looking at >> my situation: >> >

Re: [R] Extract

2024-07-19 Thread Robert Knight
I would split dat$string into it's own vector, break it apart at the spaces into an array, and then place dat$year and dat$sex in positions 1 and 2 of that newly created array. On Fri, Jul 19, 2024, 12:52 PM Val wrote: > Hi All, > > I want to extract new variables from a string and add it to

Re: [R] OFF TOPIC: Nature article on File Drawer Problem in Reserach

2024-07-25 Thread Robert Baer
Chapter 9 might be of interest: https://bookdown.org/MathiasHarrer/Doing_Meta_Analysis_in_R/ And specifically, for funnel plots in R: https://wviechtb.github.io/metafor/reference/funnel.html Best, Rob On 7/25/2024 6:40 AM, Richard O'Keefe wrote: I know you didn't want to stimulate discussion,

[R] Options for zooming plots other than zm()

2020-04-24 Thread Robert Dodier
e? I have searched the mailing list archive and web pages in general but I haven't found anything other than zm(). Thank you in advance for your help, I appreciate it very much. best, Robert Dodier __ R-help@r-project.org mailing list -- To UNSUB

Re: [R] Options for zooming plots other than zm()

2020-04-26 Thread Robert Dodier
Many thanks to everyone who contributed to this discussion. It looks like plotly and dygraphs both work well for zooming plots with thousands of points (and many other things). Thanks again, I appreciate your help. best, Robert Dodier On Fri, Apr 24, 2020 at 11:11 AM Robert Dodier wrote

Re: [R] viewing, editing and saving an RDATA file

2020-07-22 Thread Robert Baer
You may misunderstand how RData files work.  Note that RData files are not necessarily JUST a single variable unless they were explicitly written to store a single variable only. If you save a single variable (a dataframe, for example) named 'mydata' with save(mydata, file = "saveddata.RData")

[R] Some R code works on Linux, but not Linux via Windows Subsystem Linux

2020-09-08 Thread Robert Knight
indows Subsytem for Linux, but not Linux itself? Any insight into the basic mechanism of how that could vary between systems? Haven't yet checked to see if the data is even getting imported via WSL. The script runs using Rscript as opposed to running interactively via the R console. Rober

[R] weighted average

2013-07-22 Thread Robert Lynch
I am trying to compute GPA from class grades(which have been normallized) I have for example the following matrix Master = SIDB2AB2BB2C C2A C2BC2CC118AC118B C118C 0010.010.5 -0.41.2 -1.8 0.3 -0.3 0.4 0.5 0020.01

[R] help with apply (lapply or sapply not sure)

2013-07-25 Thread Robert Lynch
I am reading in a bunch of files and then processing them all in the same way. I am sure there as a better way then to copy and past the code for each file. Here is what I've done so far InputFiles<- as.character(list.files("~/ISLE/RWork/DataWarehouseMining/byCourse/")) #Path to the Course data f

[R] Write-table and dynamic access path

2013-08-02 Thread Robert U
Dear R-users, I am quite sure this is a beginner question, but i cannot manager to find the answer on the Internet... I am using write.table function inside some kind of loop. I'd like to write my tables in different folders without having to change the path inside the function every time, b

[R] Lme4 and syntax of random factors

2013-08-13 Thread Robert U
Dear R-users, I’ve been looking at the lmer function (lme4 package) in order to set up a mixed linear model and something about the syntax of the random effects eludes me. I’d like a hand with understanding a specific point, if someone does master this function… Let’s say that I have

[R] ave function

2013-08-13 Thread Robert Lynch
2 2, 9, 2 3.5, 9, 2 3.5,8, 1 3.75, 8, 1 4, 8, 1 and hopefully the code would test the following set of grades (1,2,3)(1.5,1.75,2)(0.5,2,3.5)(3.5,3.75,4) Thanks Robert [[alternative HTML v

Re: [R] Lme4 and syntax of random factors

2013-08-14 Thread Robert U
gards De : Ben Bolker À : r-h...@stat.math.ethz.ch Envoyé le : Mardi 13 août 2013 15h55 Objet : Re: [R] Lme4 and syntax of random factors Robert U yahoo.fr> writes: > > Dear > R-users, > [snip]   This question probably belongs on r-sig-mixed-mod...@r-project.o

Re: [R] ave function

2013-08-20 Thread Robert Lynch
lean$TERM,Clean$INST_NUM)),function(x) > shapiro.test(x$GRADE)) > A.K. > > > > > - Original Message - > From: Robert Lynch > To: r-help@r-project.org > Cc: > Sent: Tuesday, August 13, 2013 1:46 PM > Subject: [R] ave function > > I've written the

[R] the inverse of assign()

2013-08-27 Thread Robert Lynch
ar.csv and foo(stuff) write the file stuff.csv Robert [[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

Re: [R] Legend formatting (ggplot2)

2013-08-28 Thread Robert Lynch
ge but it looks the same. > http://docs.ggplot2.org/current/guide_legend.html > > Ideally I'd like the legend to have a column of text lables,(ISE...) a > column of blue boxes, a column of red boxes and a column of text labels > (Comp). but that is mostly just bonus. > > Tha

[R] string processing(regular expressions)

2013-09-01 Thread Robert Lynch
I have a variable that is course # nCourse <- as.factor(c("002A","002B","002C","007A","007B","007C","101","118A","118B","118C")) And I would like to get rid of the leading zeros, and have the following set ("2A","2B","2C","7A","7B","7C","101","118A","118B","118C") to paste() together with the depa

[R] finding both rows that are duplicated in a data frame

2013-09-07 Thread Robert Lynch
abetically last of G-F, G-M & G-UNK 2) E-UNK is in the middle alphabetically 3) some times the first entry is the unknown gender, some times it is the second *likely to happen with random sample 4) some times both entries for one variable, GENDER or ETH are unknown. 5) only appears to be

Re: [R] ggplot interactions

2013-09-11 Thread Robert Lynch
On Tue, Sep 10, 2013 at 11:33 PM, Robert Lynch wrote: > I am sorry to ask what I am sure is a simple question but I am stuck > trying to figure out how different parts of ggplot2 calls interact > > I am plotting using the following code > > ggplot(Chem.comp, aes(Course, GRAD

Re: [R] ggplot interactions

2013-09-11 Thread Robert Lynch
itle to both show up > at the same time as the appropriate colors for the different factor levels. > And to get the legend to render so that the legend looks sort of like > ISE07[red box][blue box ]CMP07 > ISE08 [red3 box] [blue3 box]CMP08 > ISE09 [red4 box] [blue4 box]CMP09 > the

[R] transparency in segments()

2013-01-10 Thread Robert Pazur
Dear all, i would like to plot each value from my datasets as segment with defined transparency However, I didnt find out how to set the transparency. definition by "col=" in par() or segments() doesnt seem to work any suggestions? Thanks in advance. Kind regards, Robert Pazur example

[R] e1071 SVM, cross-validation and overfitting

2013-01-15 Thread Robert Poor
I am accustomed to the LIBSVM package, which provides cross-validation on training with the -v option % svm-train -v 5 ... This does 5 fold cross validation while building the model and avoids over-fitting. But I don't see how to accomplish that in the e1071 package. (I learned that svm(... c

[R] Package for multi-dimensional terminal value ODE solver

2013-01-27 Thread Robert A'gata
Hi, I did some googling. I found multiple ODE solver packages. But I am wondering if there is any terminal value ODE solver (linear case) for multi-dimension case or not? I have not come across any. Any guidance would be appreciated. Robert [[alternative HTML version deleted

Re: [R] rJava works with 32-bit but not 64

2013-02-04 Thread Robert Baer
s-7). One of the simplest ways to be sure of getting 64-bit Java is to use the 64-bit version of Internet Explorer which makes things almost automatic. Rob -- Robert W. Baer, Ph.D. Professor of Physiology Kirksille College of Osteopathic Medicine A. T. Still University of Health Sciences Kirksvi

[R] adehabitatHR - Creating Biased Random Bridge UD with a boundary

2013-02-06 Thread Robert Wager
orge, but unfortunately I do not understand what I am supposed to do. Thank you very much in advance, Kind regards, Robert ## clean the other side of the boundary if (!is.null(boundary)) {

Re: [R] rJava works with 32-bit but not 64

2013-02-06 Thread Robert Baer
-- Robert W. Baer, Ph.D. Professor of Physiology Kirksille College of Osteopathic Medicine A. T. Still University of Health Sciences Kirksville, MO 63501 USA __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the

[R] Is there a neat R trick for this?

2013-02-12 Thread Robert Latest
80% of cases when I felt the urge to use "for" in R it turned out that there was already some builtin operator or function that did the trick. Suggestions, anyone? Thanks, robert __ R-help@r-project.org mailing list https://stat.ethz.ch/mail

Re: [R] Is there a neat R trick for this?

2013-02-12 Thread Robert Latest
Hi guys, like so often, the answert came to me minutes after posting. pmatch() does exactly what I need. match() gives the values of the elements, but not their positions. Thanks, robert __ R-help@r-project.org mailing list https://stat.ethz.ch

[R] Kernel Density estimation at specific points

2013-02-13 Thread Robert Duval
have at hand this is not what I need. Any help will be appreciated. Robert [[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

Re: [R] Kernel Density estimation at specific points

2013-02-14 Thread Robert Duval
uture persons looking for the same functionality: The package that does what I was looking for in the more general setting (in terms of kernel evaluators, and bandwidth selectors) is Jeff Racine's np package with its function npudens using the option edat. Many thanks, robert On Wed, Feb 13, 201

[R] Plotting survival curves after multiple imputation

2013-02-14 Thread Robert Long
I am working with some survival data with missing values. I am using the mice package to do multiple imputation. I have found code in this thread which handles pooling of the MI results: https://stat.ethz.ch/pipermail/r-help/2007-May/132180.html Now I would like to plot a survival curve using th

[R] anova comparisons

2013-02-23 Thread Robert Zimbardo
I have several linear models on the same data: m1 <- lm(y ~ poly(x,1)) m2 <- lm(y ~ poly(x,2)) m3 <- lm(y ~ poly(x,3)) What I don't understand is why anova(m1, m2, m3, test="F") - yields the same RSS and SS values, but a different p-value from anova(m1, m2, test="F") - when it also yields the S

Re: [R] Generating 1-bit and 8-bit BMP files using R

2013-03-05 Thread Robert Baer
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 provide commented, minimal, self-contained, reproducible code. -- Robert W. Baer, Ph.D. Professor of

Re: [R] Export R generated tables and figures to MS Word

2013-03-13 Thread Robert Baer
[[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 provide commented, minimal, self-contained, reproducible c

Re: [R] image color analysis

2013-03-13 Thread Robert Baer
rg/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Robert W. Baer, Ph.D. Professor of Physiology Kirksille College of Osteopathic Medicine A. T. Still University of Health Sciences Kirksville, MO 63501 USA _

Re: [R] how to skip part of the code

2013-03-20 Thread Robert Baer
LEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Robert W. Baer, Ph.D. Professor of Physiology Kirksille College of Osteopathic Medicine A. T. Still University of Health Sciences Kirksville, MO 635

Re: [R] boxplot

2013-03-22 Thread Robert Baer
al = FALSE, xlim = c(0,9), names = c('e', 'f'), at = c(7,8), add = TRUE, col ='red') par(op) Cheers, Rob ___ Robert W. Baer, Ph.D. Professor of Physiology Kirksille College of Osteopathic Medicine A. T. Still University of Health Sciences Kirksville, MO 63501

Re: [R] Creating a boxplot from a data summary

2013-03-24 Thread Robert Baer
tive 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 provide commented, minimal, self-contained, reproducible code.

Re: [R] Automatic script for updating packages in R

2013-03-25 Thread Robert Baer
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 code. -- Robert W. Baer, Ph.D. Professor of Physiology Kirksille College of Osteopathic Medicine A. T. Still University of Health Sciences

[R] Converting 2D matrix to 3D array

2013-03-25 Thread Robert A'gata
Hi, I would like to create M paths of 2 correlated brownian motion incrementals where each path is of length N. I use mvrnorm to create all the increments, i.e. h <- 1.0; COV <- matrix(c(1,0,0,1),nrow=2); dW<- h * t(mvrnorm(n=N*M,mu=c(0,0),Sigma=COV)); The next step is that I'd like

Re: [R] R-help Digest, Vol 121, Issue 5

2013-03-26 Thread Robert Baer
LSEFALSE2 >> 3F07001118.0818119.485541e+01514812796619630NA660.356911660.356911FALSEFALSE3 >> 4F07001118.0818119.485541e+01514812716619700NA620.139702620.139702FALSEFALSE4 >> 5F07001118.0818119.485541e+01514808496620321NA378.186792378.186792FALSEFALSE5 >> >> Where did id_X and id_Y come from?? What are they??

Re: [R] How do you graph data when you have lots of small values but few extremely large values?

2013-03-29 Thread Robert Baer
On 3/29/2013 10:52 AM, Shane Carey wrote: I was thinking of splitting the y-axis into two? Is this possible? Thanks Look at the plotrix package and see: https://stat.ethz.ch/pipermail/r-help/2011-September/290685.html -- Robert W. Baer, Ph.D. Professor of Physiology Kirksille College of

Re: [R] Console display "buffer size"

2013-04-01 Thread Robert Baer
rg/posting-guide.html and provide commented, minimal, self-contained, reproducible code. __ 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 pr

Re: [R] scanning data in R

2013-04-03 Thread Robert Baer
the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- Robert W. Baer, Ph.D. Professor of Physiology Kirksille College of Osteopathic Medicine A. T. Still University of Health Sciences Kirksville, MO 63501 USA

Re: [R] Scatterplot and Causality

2013-04-22 Thread Robert Baer
self-contained, reproducible code. -- Robert W. Baer, Ph.D. Professor of Physiology Kirksille College of Osteopathic Medicine A. T. Still University of Health Sciences Kirksville, MO 63501 USA __ R-help@r-project.org mailing list https://stat.ethz.ch/ma

Re: [R] Tiff plot Resolution issues

2013-05-01 Thread Robert Baer
delines/- PLOS Computational Biology: A Peer-Reviewed*...* <http://www.ploscompbiol.org/static/guidelines> www.ploscompbiol.org/static/*guidelines*? <https://www.google.com/#> * For the article to be accepted for publication, the/author/will need to*...*We only acc

Re: [R] Very basic statistics in R

2013-05-08 Thread Robert Baer
On 5/6/2013 7:02 AM, arun wrote: stErr<- sd(vec1)/sqrt(length(vec1)) Or possibly, stErr<- sd(vec1)/sqrt(!is.na(vec1)) -- Robert W. Baer, Ph.D. Professor of Physiology Kirksille College of Osteopathic Medicine A. T. Still University of Health Sciences Kirksville, MO 635

Re: [R] Rank Amateur Question

2013-05-29 Thread Robert Baer
ternative 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 provide commented, minimal, self-contained, reproducible code. -- Robe

Re: [R] how to install R 3.0.1

2013-05-31 Thread Robert Baer
install.packages(paks) You can use the command library() to get a list of what is installed on your machine. Is it possible to get this as a vector of only the package names, or is post-processing the output of library() the only way out? Do you mean something like: paks = library()$results[,1] s

[R] Multiple selection and normalization

2013-06-03 Thread Robert Lynch
Hi-- I am trying to normalize course grades for each instance of a course, e.g. Stats 1 Fall2009 J. Smith. I have a frame for all instances of a course, e.g. stats 1 in the last 5 years, that looks like SIDN TERM GRADE INST where SIDN is a Student ID Number, TERM is a factor that gives the q

[R] data selection

2013-06-18 Thread Robert Lynch
I have two different data frames ( actually a set of data frames for each class and one master one into which i want pull some data from each of the frame in the set) one is all students that have taken a course so the set of data frames is B101 B2A B2B B2C etc. . . and each one has lots of da

[R] interpreting GLM results and plotting fits

2013-06-29 Thread Robert Lynch
I am trying to interpret the output of GLM and I am not sure how it is treating the factor GENDER with levels G-M and G-F. Below is the output of summary(GPA.lm) Call: glm(formula = zGPA ~ Units.Bfr.7A * GENDER, data = Master1) Deviance Residuals: Min 1Q Median 3Q Max -1.

Re: [R] Loading Chess Data

2012-09-11 Thread Robert Baer
On 9/2/2012 11:41 AM, David Arnold wrote: All, What would be the most efficient way to load the data at the following address into a dataframe? http://ratings.fide.com/top.phtml?list=men It depends. The most efficient for me was to highlight it, copy it to the windows clipboard and execute th

[R] swap hist() colours

2012-09-14 Thread Robert Pazur
side =TRUE,ylim=c(0,250)) abline(v=(6),col = "black", lty=3, xpd= F) abline(v=(17),col = "black", lty=3, xpd= F) abline(v=(28),col = "black", lty=3, xpd= F) f <- c(11.5,22.5) axis(1, f,labels = FALSE) box() ### Robert Pazur [[al

[R] RMySQL install on windows

2012-10-09 Thread Robert Baer
I have been trying to install RMySQL on Windows 7 following the procedure at: http://biostat.mc.vanderbilt.edu/wiki/Main/RMySQL I think I have properly installed RTools and created a proper Renviron.site file saying: MYSQL_HOME="C:/Program Files/MySQL/MySQL Server 5.5" When I try to install t

Re: [R] RMySQL install on windows

2012-10-12 Thread Robert Baer
On 10/10/2012 12:58 PM, Greg Snow wrote: I finally was able to compile/load it under windows 7. I had similar problems to what you show below. I set the MYSQL_HOME environmental variable through windows (start button > control panel > System and Security > system > Advanced System Settings > En

<    1   2   3   4   5   6   7   8   9   >