Re: [R] Timezone question

2023-08-17 Thread Marc Schwartz via R-help
would suggest reading the relevant help files for ?strptime and the above two functions. Regards, Marc Schwartz -Original Message- From: R-help mailto:r-help-boun...@r-project.org>> on behalf of Dennis Fisher mailto:fis...@plessthan.com>> Date: Thursday, August 17, 202

Re: [R] R Tools Security Posture

2023-05-17 Thread Marc Schwartz via R-help
Hi, An additional resource that was not listed below is the R Software Development Life Cycle (SDLC) document that is available here:   https://www.r-project.org/certification.html which addresses a subset of the issues raised. Regards, Marc Schwartz On May 17, 2023 at 4:52:27 AM, Ivan

Re: [R] PROP_TEST function from INFER package

2023-05-15 Thread Marc Schwartz via R-help
page for the prop_test() function in the infer package, where 'x' is supposed to be a data frame, not a vector, and there is no 'n' argument. Regards, Marc Schwartz On May 15, 2023 at 7:26:16 AM, alfredo.rocc...@fastwebnet.it (alfredo.rocc...@fastwebnet.it

Re: [R] converting to date object...

2023-04-12 Thread Marc Schwartz via R-help
late them as dates and perform various operations on them. You can then use format() to alter the output format as you may need for other purposes, in which case, the formatted output is coerced back to a character vector, even though the internal storage is still a Date class object. Regards,

Re: [R] Simple Stacking of Two Columns

2023-04-03 Thread Marc Schwartz via R-help
e)[, 1, drop = FALSE]   values 1    Tom 2   Dick 3  Larry 4  Curly which returns a data frame with a single column named 'values'. Regards, Marc Schwartz On April 3, 2023 at 11:08:59 AM, Sparks, John (jspa...@uic.edu (mailto:jspa...@uic.edu)) wrote: > Hi R-Helpers, > > Sorr

Re: [R] (Off-Topic) Time for a companion mailing list for R packages?

2022-01-13 Thread Marc Schwartz via R-help
. Certainly, if there is a bug or a reasonable suspicion of one in a third party package, the package maintainer should be the primary point of contact. Regards, Marc Schwartz Eric Berger wrote on 1/13/22 12:25 PM: Re: constructive criticism to make this list more useful to more

Re: [R] compiling from source on RedHat 8

2021-12-31 Thread Marc Schwartz via R-help
/Fedora R maintainers are active on that list. They can give you guidance on compiling R from source, if you really need to do that, or to suggest that you use the existing RPMs for R that they maintain and make available. Regards, Marc Schwartz kap4lin wrote on 12/31/21 12:38 PM: Hi, Before

Re: [R] Current R color chart

2021-11-12 Thread Marc Schwartz via R-help
, type, ...) : invalid color name 'FF3030' versus: plot(1:10, col = "#FF3030") the latter which includes the '#' and works to generate the plot. Otherwise, as Avi apparently replied separately, use colors() or colours() to see the actual color text names and ?colors fo

Re: [R] Which version of R install for mac

2021-11-05 Thread Marc Schwartz via R-help
XQuartz, which is available here: https://www.xquartz.org Regards, Marc Schwartz Mark Don Young wrote on 11/5/21 10:59 AM: I am having trouble finding a version of R install compatible with my mac. I have an older Macbook pro 2016 with the latest version of Big Slur 11.6. Intel core i5 2.9 Ghz

Re: [R] generate random numeric

2021-10-29 Thread Marc Schwartz via R-help
prior to the relevant function call can enable that. Also, review the resources at https://www.random.org for additional references on the differences between PRNGs and other implementations, especially if you might need something closer to a "true&qu

Re: [R] I'd like to request that my R CRAN package is not tested on Solaris OS

2021-10-22 Thread Marc Schwartz via R-help
N. I would suggest that you contact them using the e-mail address above, without the deadline, and afford them the opportunity to reply to you with what may be reasonable next steps given the issues you face. Regards, Marc Schwartz Eric Berger wrote on 10/22/21 9:01 AM: Hi Lampros, I can

Re: [R] Sample size Determination to Compare Three Independent Proportions

2021-08-10 Thread Marc Schwartz via R-help
the alternative hypotheses, for example,  we can set  p1 = .25, p2=.25, p3=.35 Again thank you very much in advance. abou __ *AbouEl-Makarim Aboueissa, PhD * * * *Professor, Statistics and Data Science* *Graduate Coordinator* *Department of Mathematics and Statistics * *Universit

Re: [R] Sample size Determination to Compare Three Independent Proportions

2021-08-09 Thread Marc Schwartz via R-help
vel, given that your a priori assumptions are valid. Regards, Marc Schwartz AbouEl-Makarim Aboueissa wrote on 8/9/21 9:41 AM: Dear All: good morning *Re:* Sample Size Determination to Compare Three Independent Proportions *Situation:* Three Binary variables (Yes, No) Three independent populatio

Re: [R] Data is not properly written in csv file

2021-06-21 Thread Marc Schwartz via R-help
?write.table and take note of the default arguments that are used for write.csv(), as noted in the CSV Files section, and in the Examples. Regards, Marc Schwartz Sri Priya wrote on 6/20/21 11:03 AM: Dear R Users, I am working on extracting tables from PDF and I am writing that in a csv file. When I

Re: [R] Crashes while pasting a graphic to clipboard on Windows

2021-06-21 Thread Marc Schwartz via R-help
this would be. Regards, Marc Schwartz Gabriel Toro wrote on 6/21/21 4:19 PM: I am using version 3.6.3 on Windows. I recently noticed that R crashes when pasting graphics to the clipboard (both as metafiles and as images). I saw some old (~ 2 years old) references to the problem on Google, b

Re: [R] R grep question

2021-05-27 Thread Marc Schwartz via R-help
E or FALSE, as Rui noted, thus: CRC$MMR.gene <- ifelse(grepl("MLH1|MSH2",CRC$gene.all), "Yes", "No") should work. Regards, Marc Schwartz Kai Yang via R-help wrote on 5/27/21 11:23 AM: Hi Rui,thank you for your suggestion. but when I try the solution, I got messa

Re: [R] CentOS 8: installing R

2021-05-24 Thread Marc Schwartz via R-help
plies. Regards, Marc Schwartz Roger Bos wrote on 5/24/21 3:41 PM: Dear all, I seem to be having an impossible time install R on my centos 8 virtual machine (I know centos 8 is no longer maintained, but it is a work server so I have no choice in the matter.). I installed EPEL and enabled Power

[R] [R-pkgs] New CRAN Package: BI - Generate James (1996) and Bang (2004) Blinding Indexes

2021-05-17 Thread Marc Schwartz via R-packages
regards, Marc Schwartz ___ R-packages mailing list r-packa...@r-project.org https://stat.ethz.ch/mailman/listinfo/r-packages __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https

Re: [R] Error loading "XLConnect" library

2021-04-14 Thread Marc Schwartz via R-help
nications first. Regards, Marc Schwartz Bernard McGarvey wrote on 4/14/21 1:42 PM: I installed the "XLConnect" package which appears to be successful and then tried to load the "XLConnect" library and got an error as shown below. Any ideas as to where to look for the source of th

Re: [R] Help with changing date format in R

2021-01-20 Thread Marc Schwartz via R-help
d$date <- ifelse(d$observer %in% c(vector, of, observers), as.Date(d$date, format = "%d%m%Y"), as.Date(d$date, format = "%m%d%Y")) Also, you might not want to overwrite the original values, and create a new column, in the case of errors

Re: [R] Readxl on Mac

2020-12-01 Thread Marc Schwartz via R-help
he file is not in use by Excel or another application, precluding an exclusive lock on the file. If so, close out the other application. Another possibility is that the Excel file is password protected, and thus cannot be read directly, without saving it in an unprotected fashion. Regards, Marc

[R] [R-pkgs] WriteXLS Version 6.1.0 - Bug Fix Release

2020-11-25 Thread Marc Schwartz via R-packages
written to the Excel worksheets as left justified text values, as opposed to right justified numeric values. Please download and install the updated version at your convenience. Thanks and regards, Marc Schwartz ___ R-packages mailing list r-packa...@r

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

2020-11-17 Thread Marc Schwartz via R-help
that the API that you are passing the character vector to may be parsing/evaluating the '-' and only seeing the first part of the passed value. So, for example: > shQuote("-") [1] "'-'" See if that works. Regards, Marc Schwartz &

Re: [R] Language environment

2020-11-17 Thread Marc Schwartz via R-help
rstudio.com/ as they are a separate product from R itself. It sounds like there may be somewhat different session startup processes for RStudio, and they would be the best resource to assist you. Regards, Marc Schwartz __ R-help@r-project.org mailing

Re: [R] Data Table not rendering properly using R shiny

2020-11-07 Thread Marc Schwartz via R-help
Hi, Please drop R-Devel as a cc: from this thread for further replies. This topic is definitely not relevant there and cross-posting is not needed, but does require manual moderation. Thanks, Marc Schwartz > On Nov 7, 2020, at 10:23 AM, Bert Gunter wrote: > > Better to post on

Re: [R] backslash in xtable (generate latex code from R)

2020-11-06 Thread Marc Schwartz via R-help
sanitize.colnames.function = identity, sanitize.text.function = identity) % latex table generated in R 4.0.3 by xtable 1.8-4 package % Fri Nov 6 07:54:51 2020 \begin{table}[ht] \centering \begin{tabular}{l} \hline $\beta_0$ \\ \hline aa \\ bb \\ cc$\alpha_1$ \\ \hline \end{tab

Re: [R] colMeans function

2020-11-04 Thread Marc Schwartz via R-help
[2]) str(flights$month) dim(flights$month) you would see the difference. Regards, Marc Schwartz > On Nov 4, 2020, at 8:26 AM, Engin Yılmaz wrote: > > Dear > I use *flights* database library(nycflights13) > > The following code is working as > > colMeans(flights[2])

Re: [R] FREDR and R 3.6

2020-10-29 Thread Marc Schwartz via R-help
> On Oct 29, 2020, at 6:35 PM, H wrote: > > On 10/29/2020 01:49 PM, Marc Schwartz wrote: >>> On Oct 29, 2020, at 1:29 PM, H wrote: >>> >>> I tried to install the fredr package yesterday to access the data series >>> hosted by the St. Louis Fed bu

Re: [R] FREDR and R 3.6

2020-10-29 Thread Marc Schwartz via R-help
il.com) to see what the current status of the package is, and if they plan to resolve the issues. If not, consider alternative approaches. You should also consider updating your R installation, as 3.6.0 is well over a year old at this point. 4.0.3 is the current stable release.

Re: [R] temporary clipping

2020-10-26 Thread Marc Schwartz via R-help
plot region where 'usr' is the value of: usr <- par("usr") called after the very first plot is generated. The indication is that by using the final line of code in the example, the clipping region is reset to the plot region, probably also based upon any change to par

[R] [R-pkgs] WriteXLS Version 6.0.0 Released

2020-10-23 Thread Marc Schwartz via R-packages
of erstwhile numeric values with leading and/or trailing zeros. This option enhances prior improvements to preserving leading and/or trailing zeros on a worksheet cell specific basis. 3. Updated Perl libraries are included as apropos. Regards, Marc Schwartz __

Re: [R] write.csv covert Åland to land

2020-10-20 Thread Marc Schwartz via R-help
etc. prior to output. Essentially, mimic the default formatting of write.csv(), on a line by line basis, and then output the resulting object to a text file, with a single call to writeLines(). Regards, Marc Schwartz > On Oct 20, 2020, at 10:28 AM, Duncan Murdoch wrote: > > You

Re: [R] Installing Perl For Use in R

2020-10-06 Thread Marc Schwartz via R-help
though I have a Github account. If you are on Windows, an alternative Perl distribution is Strawberry Perl: http://strawberryperl.com Regards, Marc Schwartz > On Oct 6, 2020, at 11:21 AM, Philip wrote: > > I’m getting nowhere with this. From the website below I click

Re: [R] 2 KM curves on the same plot

2020-09-29 Thread Marc Schwartz via R-help
(1, at = seq(150, 300, 50), line = -1) axis(4, las = 1) ## Draw the vertical line at 150 weeks axis(2, at = seq(0, 1, 0.2), labels = FALSE, lty = "dashed") Regards, Marc Schwartz > On Sep 28, 2020, at 8:33 PM, array chip via R-help > wrote: > > Hello, > > Can anyo

[R] R Implementation of the James and/or Bang RCT Blinding Assessment Indices

2020-09-24 Thread Marc Schwartz via R-help
came up empty handed. Thanks in advance for any leads! Regards, Marc Schwartz __ 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

Re: [R] CRAN R For Windows 3.6.3

2020-09-19 Thread Marc Schwartz via R-help
time around April 2021. > > Duncan Murdoch Hi, Just to add on to Duncan's comments, you may want to read the Software Development Life Cycle (SDLC) document here: https://www.r-project.org/certification.html That will give you insights into R's development, release and maintenance

Re: [R] question including crossover trials in meta-analysis

2020-09-14 Thread Marc Schwartz via R-help
. Regards, Marc Schwartz > On Sep 14, 2020, at 3:14 PM, Bert Gunter wrote: > > Did you first try a web search? -- you should always do this before posting > here. > > "meta-analysis in R" brought up this: > > https://CRAN.R-project.org/view=MetaAnalysis > &g

Re: [R] Survival Object - is 12month survival = 365days

2020-09-04 Thread Marc Schwartz via R-help
y truncates the x axis to 36 months, since the intervals in the example colon dataset go to about 9 years or so, and does not label the x axis. Bearing in mind that the underlying x axis unit is in days, the axis() function then places labels at the irregular intervals. You could then an

Re: [R] R 4.0.2 not running on macOS 10.15.6

2020-09-04 Thread Marc Schwartz via R-help
ling list > community or anything like that? Or are all posts moderated? > > Now that the weekend is upon me, I'll have some time to come up to speed on > all this. Thanks for your patience. > > Thanks again! > Mike > > On Fri, Sep 4, 2020 at 8:05 AM Ma

Re: [R] R 4.0.2 not running on macOS 10.15.6

2020-09-04 Thread Marc Schwartz via R-help
ere: https://stat.ethz.ch/mailman/listinfo/r-sig-mac which is where macOS specific R issues should be posted. You will need to re-install XQuartz any time you upgrade/install a new version of R. Regards, Marc Schwartz __ R-help@r-project.org

Re: [R] Connection to Oracle DB failing from R

2020-08-31 Thread Marc Schwartz via R-help
n searching for related issues, I noted some other posts on multiple OSs, and some issues raised on Simon's Github repo for the package. Also, I am torn between suggesting that this be re-posted to r-sig-db, which is specific to R and database interfaces, and r-sig-mac, which is specific to R

Re: [R] Reproducibility Between Local and Remote Computer with R

2020-08-08 Thread Marc Schwartz via R-help
ages), that can help to reduce the number of variables at play here. Regards, Marc Schwartz > On Aug 7, 2020, at 4:24 PM, Kevin Egan wrote: > > I posted this question: > > I am currently using R , RStudio , and a remote computer (using an R script) > to run the same c

Re: [R] levels

2020-07-15 Thread Marc Schwartz via R-help
data.frame() and read.table()." Using 4.0.2: data <- data.frame(name, values, stringsAsFactors = TRUE) > levels(data$name) [1] "a" "b" "c" If you see behavioral changes from one version of R to another, especially major version increments, check the

Re: [R] how to summarize results from studies?

2020-07-01 Thread Marc Schwartz via R-help
> > Michael > > > On 01/07/2020 16:40, Marc Schwartz via R-help wrote: >> Hi, >> It sounds like you will want to engage in a meta-analysis. >> There is a CRAN task view here: >> https://cran.r-project.org/web/views/MetaAnalysis.html >> that would be

Re: [R] how to summarize results from studies?

2020-07-01 Thread Marc Schwartz via R-help
and conceptual assistance would be beyond the scope of this list. You should consider consulting a local statistician for assistance with that, if needed. Regards, Marc Schwartz > On Jul 1, 2020, at 11:27 AM, Frederik Feys wrote: > > Hello everyone > > I have some studies wi

Re: [R] chaining closure arguments on-the-fly

2020-06-20 Thread Marc Schwartz via R-help
Hi Ben, How about something like this: f <- function(x, y = NULL) { if (is.null(y)) y <- x x + y } > f(3, 4) [1] 7 > f(3) [1] 6 Regards, Marc Schwartz > On Jun 20, 2020, at 7:15 AM, Benjamin Tyner wrote: > > Greetings, > > Occasionally, I desire

Re: [R] R Software Risk Analysis

2020-06-19 Thread Marc Schwartz via R-help
justed to enable required functionality. Thus, in the absence of more detail from Kristin as to what is specifically required, it is hard to know how to respond, within the context here, of a community based support list, and within the R community at large, where we all volunteer our time.

Re: [R] How to install R 4.0 on chromebook?

2020-05-22 Thread Marc Schwartz via R-help
/listinfo/r-sig-debian You should subscribe to that list and post your queries there to avail yourself of a focused audience, which may include folks that have installed a Debian based Linux distribution on a Chromebook. Regards, Marc Schwartz > On May 22, 2020, at 9:49 AM, Luigi Marongiu wr

Re: [R] Date from text

2020-05-15 Thread Marc Schwartz via R-help
te(sub("-", "-15-", x), format = "%m-%d-%Y") [1] "1993-11-15" Regards, Marc Schwartz > On May 15, 2020, at 5:38 AM, Poizot Emmanuel > wrote: > > Dear all, > > I've a data frame with a column "Date": > > [1] 11-1

Re: [R] Function Hints in Mac Dark Mode

2020-05-08 Thread Marc Schwartz via R-help
hem almost impossible to see. For Andrew, if this is correct, and you are not referring to RStudio per Jeff, you should post this to r-sig-mac: https://stat.ethz.ch/mailman/listinfo/r-sig-mac Otherwise, if it is RStudio, they have their own support here: https://

Re: [R] A behaviour pattern that I find mysterious.

2020-02-26 Thread Marc Schwartz via R-help
being character, complex, numeric, integer, logical and raw." Thus: > c(0, x) [1] "0" "a" "b" "*" "d" "e" > sort(c(0, x)) [1] "*" "0" "a" "b" "d" "e" Thus, "

Re: [R] citing old(er) versions of packages

2020-01-16 Thread Marc Schwartz via R-help
the package is located, if not on CRAN. An alternative, if the package is stored in an online VC system (e.g. Github), is that you may be able to read the relevant file from that system for the version of the file that is tagged appropriately. Regards, Marc Schwartz __

Re: [R] Converting Decimal numbers into Binary

2019-12-27 Thread Marc Schwartz via R-help
; Paul You might look at the intToBin() function in Henrik's R.utils package on CRAN: https://cran.r-project.org/web/packages/R.utils/index.html Regards, Marc Schwartz __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://s

Re: [R] Unable to load .rda file

2019-10-15 Thread Marc Schwartz via R-help
LT_SERIALIZE_VERSION to 2. For maximal back-compatibility, files ‘vignette.rds’ and ‘partial.rdb’ generated by R CMD build are in serialization format version 2, and resave by default produces files in serialization format version 2 (unless the original is already in format version 3). Rega

Re: [R] Code modification for post-hoc power

2019-08-26 Thread Marc Schwartz via R-help
re still compelled (voluntarily or involuntarily), you may want to review the vignette for the longpower package which may have some insights, and/or contact the package maintainer for additional guidance on how to structure the code. See the vignette here: https://cran.r-project.org/web/

Re: [R] Connect to Oracle database via ODBC

2019-08-05 Thread Marc Schwartz via R-help
ran.r-project.org/web/packages/RODBC/vignettes/RODBC.pdf There is also the r-sig-db e-mail list, which is focused in this domain, and where follow up questions should be posted: https://stat.ethz.ch/mailman/listinfo/r-sig-db Regards, Marc Schwartz

Re: [R] Regarding R licensing usage guidance

2019-07-22 Thread Marc Schwartz via R-help
perty rights, to get appropriate legal opinions on what it is you plan to build, how it will interact with R and the packages you list below, and what all of that means for your product. Regards, Marc Schwartz > On Jul 22, 2019, at 1:28 PM, Patrick (Malone Quantitative) > wrote: > &

Re: [R] Conditional Logistic Regression with Multilevel Data [using clogistic() in Epi and lmer() in lme4???]

2019-07-03 Thread Marc Schwartz via R-help
olfgang Viechtbauer > Sent: Wednesday, July 3, 2019 9:15:50 AM > To: Marc Schwartz > Cc: Heather H Kettrey; R-help > Subject: Re: [R] Conditional Logistic Regression with Multilevel Data [using > clogistic() in Epi and lmer() in lme4???] > > Ouch, that was a brain fart o

Re: [R] Conditional Logistic Regression with Multilevel Data [using clogistic() in Epi and lmer() in lme4???]

2019-07-03 Thread Marc Schwartz via R-help
On the page that you link to below, I don't see an example of that type of nesting structure. The mixed effects models would generally support a nested random effects specification, if that makes sense here. Regards, Marc Schwartz > On Jul 3, 2019, at 4:41 AM, Viechtbauer, Wolf

Re: [R] Conditional Logistic Regression with Multilevel Data [using clogistic() in Epi and lmer() in lme4???]

2019-07-02 Thread Marc Schwartz via R-help
ight be worthwhile posting to r-sig-mixed-models: https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models where experts in the domain of multi-level models reside. There may be an approach using glmer() or an alternative package, where you can define the paired observations within sites in manne

Re: [R] How to select max data according to week?

2019-06-19 Thread Marc Schwartz via R-help
2000-01-01 0.068 22000-01-15 0.042 > aggregate(O3_Conc ~ TimeStartWks, data = DF, max) TimeStartWks O3_Conc 1 1999-12-26 0.068 2 2000-01-09 0.063 Regards, Marc Schwartz > On Jun 19, 2019, at 10:45 AM, Eric Berger wrote: > > I just realized that my method as writte

Re: [R] R-help mailing list archives

2019-06-11 Thread Marc Schwartz via R-help
: https://support.microsoft.com/en-my/help/4091364/windows-10-fix-blurry-apps It is not clear to me if either is helpful here in the end as I do not have a 4K display, but at least shows alternative results using rseek.org. Note that rseek.org, includes other sources beyond the official R e-mail list

Re: [R] Pasting R code lines into labels

2019-06-07 Thread Marc Schwartz via R-help
Hi Martin, See inline below... > On Jun 7, 2019, at 9:25 AM, Martin Maechler > wrote: > >>>>>> Marc Schwartz via R-help >>>>>>on Fri, 7 Jun 2019 09:07:21 -0400 writes: > >> Hi, Ok, some additional tweaks. > >> Relative t

Re: [R] Pasting R code lines into labels

2019-06-07 Thread Marc Schwartz via R-help
nter >> "The trouble with having an open mind is that people keep coming along and >> sticking things into it." >> -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) >> On Thu, Jun 6, 2019 at 12:19 PM Marc Schwartz wrote: >>>

Re: [R] Pasting R code lines into labels

2019-06-06 Thread Marc Schwartz via R-help
unctions and they don't necessarily vary in a >> regular way (like say all being powers of x where it'd be simple to just >> have a vector for the powers you want) >> So I might have >> y<-x^2 >> y<-cos(x) >> y<-exp(x+1) >> What I am after

Re: [R] Pasting R code lines into labels

2019-06-06 Thread Marc Schwartz via R-help
; Thanks Nick Wray Hi, See ?plotmath An example: x <- 1:10 y <- x^2 plot(x, y, main = expression(paste("Plot of ", y %<-% x^2))) There are other incantations and examples on the help page above. Regards, Marc Schwartz __ R-help

Re: [R] Mysterious NOTE when checking package

2019-06-03 Thread Marc Schwartz via R-help
xact commands that you used to build and then check the package? "R CMD build" should result in a source tarball with the extension ".tar.gz", which should then be used fully in the "R CMD check" call. Perhaps the file that you named in the R CMD check call is not corr

[R] [R-pkgs] WriteXLS version 5.0.0 now available

2019-05-28 Thread Marc Schwartz via R-packages
required. Warm regards, Marc Schwartz ___ R-packages mailing list r-packa...@r-project.org https://stat.ethz.ch/mailman/listinfo/r-packages __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https

Re: [R] Help understanding the relationship between R-3.6.0 and RStudio

2019-05-17 Thread Marc Schwartz via R-help
f 3.6.0 for Windows. So you probably want to visit a CRAN mirror and download the release version of 3.6.0: R version 3.6.0 (2019-04-26) -- "Planting of a Tree" If you do not want to have multiple R versions on your computer, you can use the normal Windows application uninstall proces

Re: [R] Bounding box on plotting files inserted into a LaTeX document

2019-05-16 Thread Marc Schwartz via R-help
ollowed by dvips and then ps2pdf, if you want to go that way with the CLI workflow. Might depend upon whether or not you use other PS specific markup in the .tex file, like pstricks. For example: latex YourTeXFile.tex dvips YourTeXFile -o YourTexFile.ps ps2pdf YourTeXFile.ps YourTeXFile.pdf R

Re: [R] Message produced under R 3.6.0.

2019-04-29 Thread Marc Schwartz via R-help
ase. Peter usually includes it in his release announcement e-mail: https://stat.ethz.ch/pipermail/r-help/2019-April/462510.html Regards, Marc Schwartz > On Apr 29, 2019, at 7:32 PM, Rolf Turner wrote: > > > On 30/04/19 11:08 AM, Bert Gunter wrote: > >> Offlist, as

Re: [R] Error in pglm function when performing logit regression on Panel Data

2019-04-23 Thread Marc Schwartz via R-help
~ Draft + TOTALCOST + BUNKER + CHARTERVALUE, data = dataframe2, > effect = "twoways", family = binomial("logit"), index = "ID") Maximum Likelihood estimation Newton-Raphson maximisation, 0 iterations Return code 100: Initial value out of range. You now have other iss

Re: [R] Logistic Regression with Panel Data

2019-04-23 Thread Marc Schwartz via R-help
hat are apropos in this setting, such as GEE, mixed-effects, robust covariance matrix, etc., you might want to look at the CRAN task view that covers this domain: https://cran.r-project.org/web/views/Econometrics.html Regards, Marc Schwartz _

Re: [R] Create a sequence

2019-04-09 Thread Marc Schwartz via R-help
88 -88 89 -89 90 -90 91 -91 [183] 92 -92 93 -93 94 -94 95 -95 96 -96 97 -97 98 [196] -98 99 -99 100 -100 Regards, Marc Schwartz __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch

Re: [R] R SIG mailing lists

2019-04-05 Thread Marc Schwartz via R-help
k out: 1. The MedStats group on Google https://groups.google.com/forum/#!forum/medstats 2. datamethods group https://discourse.datamethods.org Regards, Marc Schwartz > On Apr 5, 2019, at 12:39 AM, Bert Gunter wrote: > > https://www.r-project.org/mail.html > > Found immediatel

Re: [R] high p values

2019-03-19 Thread Marc Schwartz via R-help
ifferences in medians. That is, the null hypothesis for the test is not that the medians are equal, and you are either accepting or rejecting that null. Javed, I would suggest spending some time with a good tutorial on non-parametric statistics. Regards, Marc Schwartz > On Mar 19, 2019, at 6

Re: [R] A general question about using Bayes' Theorem for calculating the probability of The End of Human Technological Civilisation

2019-03-19 Thread Marc Schwartz via R-help
o the list, but that should be a rare event. A search of the R-Help archives suggests that Philip has posted previously, going to back at least 2011, which is likely why this particular post managed to not be moderated. Regards, Marc Schwartz __ R-he

Re: [R] Obtaining values of estimates from a regression; How do I get values from a list?

2019-02-22 Thread Marc Schwartz via R-help
s that they are independent of the underlying object structure. So, while it may be unlikely that the structure of these objects would change in the future, that is not guaranteed. Thus, using the extractor functions is more "future-proof" than directly accessing object components directl

Re: [R] matrix subset problem with factors

2019-02-20 Thread Marc Schwartz via R-help
with 'dim' attributes, the behavior is essentially consistent as described above. Thus, perhaps just add the second sentence above or similar wording to the section for Matrices and arrays. Regards, Marc Schwartz > On Feb 20, 2019, at 4:23 AM, ঋষি ( ऋषि / rIsHi ) > wrote: > &g

Re: [R] Finding the Mean of a Specific Set of Columns

2019-02-14 Thread Marc Schwartz via R-help
AI measurements for each leaf of plot 104, 105, etc. Any > help would be appreciated. Thanks! Hi, This is easy using base R functions. See ?aggregate, ?by and ?tapply for a starting place. For example: > aggregate(lai ~ plot, data = DF, FU

Re: [R] periodicity

2019-01-30 Thread Marc Schwartz via R-help
Hi, A quick Google search using "R periodicity" turned up the 'xts' package on CRAN: https://cran.r-project.org/web/packages/xts/index.html Regards, Marc Schwartz > On Jan 30, 2019, at 2:24 PM, Sarah Goslee wrote: > > Hi Nick, > > A quick look on rs

Re: [R] Kaplan-Meier plot

2019-01-17 Thread Marc Schwartz via R-help
Hi, Just to emphasize Bert's e-mail with a hint, the 'mark.time' argument for plot.survfit() is FALSE by default. Regards, Marc Schwartz > On Jan 17, 2019, at 2:45 PM, Bert Gunter wrote: > > Have you consulted ?plot.survfit ? There are examples for KM plots t

Re: [R] Question

2019-01-08 Thread Marc Schwartz via R-help
the other hand, is a third party package that would need to be installed separately, if desired. Regards, Marc Schwartz > On Jan 8, 2019, at 1:46 PM, Bert Gunter wrote: > > I think it's ?install.packages > > Bert Gunter > > "The trouble with having an open

Re: [R] Fit CMARS with R possible (Packages) ?

2019-01-04 Thread Marc Schwartz via R-help
consider contacting what appears to be a small-ish group of common authors that I came across in the search who have described the methodology (e.g. Taylan or Yerlikaya-Özkurt) to see if they are aware of any R implementations. Regards, Marc Schwartz > On Jan 4, 2019, at 5:16 PM, Bert Gun

Re: [R] sample (randomly select) to get a number of successive days

2018-12-10 Thread Marc Schwartz via R-help
ta frame. See ?subset and ?"%in%": myframe.rand <- subset(myframe, day %in% seq(start, length.out = 25, by = "day")) In your example, all rows will be returned, but from your larger dataset, you will only get the rows that have dates within the range defined. Given the abo

Re: [R] sample (randomly select) to get a number of successive days

2018-12-07 Thread Marc Schwartz via R-help
full dataset. What am I missing? Regards, Marc Schwartz > On Dec 7, 2018, at 7:18 PM, Dagmar Cimiotti > wrote: > > Hi Jim and everyone else, > > Mhm, no this is not what I am looking for. I think in your way I would > randomly sample two values of day 1 and of

Re: [R] Bootstrapping One- and Two-Sample Hypothesis Tests of Proportion

2018-11-29 Thread Marc Schwartz via R-help
Hi, I don't see Duncan's reply in the archive, but consider: > 1 / 4 [1] 0.25 > mean(c(1, 0, 0, 0)) [1] 0.25 > 3 / 9 [1] 0.333 > mean(c(1, 1, 1, 0, 0, 0, 0, 0, 0)) [1] 0.333 Regards, Marc Schwartz > On Nov 29, 2018, at 6:57 PM, Janh Anni wrote: > &g

Re: [R] Importing SAS datasets into R efficiently

2018-10-19 Thread Marc Schwartz via R-help
s to SAS, is to export the BDAT datasets(s) to CSV files in SAS, and them import them into R, using read.csv(). Regards, Marc Schwartz > On Oct 19, 2018, at 10:41 AM, Bert Gunter wrote: > > Have you looked at the "foreign" package? > > -- Bert > > Bert Gunter > &

Re: [R] GLM Model Summary

2018-10-16 Thread Marc Schwartz via R-help
ect)) write.csv(my.coef, file = "MyCoefficients.csv") The R Data Import/Export manual: https://cran.r-project.org/doc/manuals/r-release/R-data.html <https://cran.r-project.org/doc/manuals/r-release/R-data.html> has some insights into pathways for getting data to and from

Re: [R] Package updates for new versions

2018-10-11 Thread Marc Schwartz via R-help
or otherwise, and can give you some idea of current status and plans. Regards, Marc Schwartz __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide ht

Re: [R] Logic operators...more than one??

2018-10-03 Thread Marc Schwartz via R-help
ation != "MW-09", "MW-10", ] > > Thoughts?? > > Thank you for your time > David Hi, See ?"%in%" Then: SampledWells <- MyData[ !MyData$Location %in% c("MW-09", "MW-10"), ] Note the '!' operator that precedes the e

Re: [R] Bitbucket code

2018-08-29 Thread Marc Schwartz via R-help
et() function, so perhaps that will do what you want. In terms of making a stable archive file available, that will be entirely up to the package maintainer and when/how they choose to make that available (e.g. via CRAN or other vehicles). Regards, Marc Schwartz

Re: [R] differing behavior of mean(), median() and sd() with na.rm

2018-08-22 Thread Marc Schwartz via R-help
Hi, It might even be worthwhile to review this recent thread on R-Devel: https://stat.ethz.ch/pipermail/r-devel/2018-July/076377.html which touches upon a subtly related topic vis-a-vis NaN handling. Regards, Marc Schwartz > On Aug 22, 2018, at 10:55 AM, Bert Gunter wrote: > >

Re: [R] Finding and changing .Rprofile

2018-08-17 Thread Marc Schwartz via R-help
ally affect all R sessions for your user profile. I don't use RStudio, so it may have other relevant features, and they have their own support lists linked on their site. Regards, Marc Schwartz __ R-help@r-project.org mailing list -- To UNSU

Re: [R] Problem with loaded R packages

2018-08-15 Thread Marc Schwartz via R-help
> > I see. Thank you for the correction! Is there any other line which I could > input to load the two packages in question? > > Many thanks, > > Spencer Brackett > > On Wed, Aug 15, 2018 at 2:33 PM Marc Schwartz wrote: > Hi, > > The ?source function is

Re: [R] Problem with loaded R packages

2018-08-15 Thread Marc Schwartz via R-help
/vignettes/cgdsr.pdf Regards, Marc Schwartz > On Aug 15, 2018, at 2:07 PM, Spencer Brackett > wrote: > > Good afternoon, > > I am trying to load the two R packages CGSDR and GAIA which I have > successfully installed onto my R program. Following installation of the two > pa

Re: [R] Questions for Licensing

2018-08-03 Thread Marc Schwartz via R-help
ted by the so-called "viral" implications of the GPL. Given the liability risks (legal and financial) that your company faces if you "get it wrong", you need to seek out local legal expertise, specifically with IP related issues, and get a formal legal opinion and guidance.

Re: [R] ESS issue: lines moved right 40 spaces

2018-07-26 Thread Marc Schwartz via R-help
Rich, See inline below. Marc > On Jul 26, 2018, at 1:55 PM, Rich Shepard wrote: > > On Thu, 26 Jul 2018, Marc Schwartz wrote: > >> The full list of e-mail lists is here: >> https://stat.ethz.ch/mailman/listinfo/ >> and the ESS-Help list is here: >> https

Re: [R] ESS issue: lines moved right 40 spaces

2018-07-26 Thread Marc Schwartz via R-help
Hi Rich, The full list of e-mail lists is here: https://stat.ethz.ch/mailman/listinfo/ and the ESS-Help list is here: https://stat.ethz.ch/mailman/listinfo/ess-help which is also referenced on the ESS web site: http://ess.r-project.org/index.php?Section=getting%20help More than likely,

Re: [R] xtable does not print out units of a variable

2018-07-19 Thread Marc Schwartz via R-help
eX is character based, so you can create any formatted character string you need, then generate the LaTeX output. Regards, Marc Schwartz > On Jul 19, 2018, at 7:52 AM, Shawn Way wrote: > > Thank you for the example you posted. I'll try to make a go of it from there. >

  1   2   3   4   5   6   7   8   9   10   >