[R] Very odd issue getting "Input/output error" running shiny app from index.html locally but same shiny on my server working fine

2025-05-19 Thread Chris Evans via R-help
ight do to debug it more. It's currently getting in the way of some mildly urgent work I need to do on the server (of course it is, IT knows when you are vulnerable!) TIA, Chris -- Chris Evans (he/him) Visiting Professor, UDLA, Quito, Ecuador CORE site: http://www.coresystemtrust.org.uk

Re: [R] Very odd issue getting "Input/output error" running shiny app from index.html locally but same shiny on my server working fine

2025-05-19 Thread Chris Evans via R-help
ser/1000# cd doc     bash: cd: doc: Permission denied     root@tuxedo-os:/run/user/1000# ls doc     ls: cannot access 'doc': Permission denied and this:    root@tuxedo-os:/run/user# ls -lsart    total 0    0 drwxr-xr-x  3 root  root    60 May 19 15:36 .    0 drwx-- 21 chris chris  66

Re: [R] OT: A philosophical question about statistics

2025-05-05 Thread Chris Ryan
I've often wondered how the field of statistics, and statistical education, would have evolved if modern-day computers and software and programming were available in the early years. Would the "traditional" methods, requiring simplifying assumptions, have been developed at all

Re: [R] Is there a sexy way ...?

2024-09-27 Thread Chris Evans via R-help
  It seems to me, though, that there should be sexier (single command) way of achieving the desired result.  However I cannot devise one. Don't you find a for loop's naked display of intention to be sexy? Duncan Murdoch -- Chris Evans (he/him) Visiting Professor, UDLA, Quito, Ec

Re: [R] boxplot notch

2024-08-16 Thread Chris Evans via R-help
what you are trying to do in the geom_boxplot() call and how it uses the summarised data tibble. It may even be that if you do that, you will find what's causing the problem!  (I speak from bitter experience!!) Very best (all), Chris On 16/08/2024 17:51, SIBYLLE STÖCKLI via R-help wrote:

Re: [R] Question regarding reservoir volume and water level

2024-04-07 Thread Chris Ryan via R-help
Homework? -- Sent from my Android device with K-9 Mail. Please excuse my brevity. On April 7, 2024 8:27:18 AM EDT, javad bayat wrote: >Dear all; >I have a question about the water level of a reservoir, when the volume >changed or doubled. >There is a DEM file with the highest elevation 1267 m. T

Re: [R] How to Reformat a dataframe

2023-10-28 Thread Chris Evans via R-help
print(n = ...)` to see more rows ### end Very best all, Chris On 28/10/2023 07:41, Paul Bernal wrote: Hi Iris, Thank you so much for your valuable feedback. I wonder why your code gives you 1512 rows, given that the original structure has 12 columns and 126 rows, so I would expect (125*12)+ 9=1,

Re: [R] Is it possible to get a downward pointing solid triangle plotting symbol in R?

2023-10-07 Thread Chris Evans via R-help
esn't the outcome of this suggestion still depend on which fonts and output device you are using? ... and that is to some degree still system dependent... On October 6, 2023 7:50:00 AM PDT, Rui Barradas wrote: Às 10:09 de 06/10/2023, Chris Evans via R-help escreveu: The reason I am aski

Re: [R] Is it possible to get a downward pointing solid triangle plotting symbol in R?

2023-10-06 Thread Chris Evans via R-help
ch thing about these issues though I do hit problems exchanging things with my Spanish speaking colleagues).  Jan or anyone: any simple reassurance or pointers to resources I should best use for homework about these issues? TIA (again!) Chris On 06/10/2023 12:55, Jan van der Laan wrote:

Re: [R] Is it possible to get a downward pointing solid triangle plotting symbol in R?

2023-10-06 Thread Chris Evans via R-help
    "Improved")) +   scale_fill_manual(name = "Change",    values = c("A" = "red",   "B" = "grey",       "C" = "green"),   

[R] Is it possible to get a downward pointing solid triangle plotting symbol in R?

2023-10-06 Thread Chris Evans via R-help
t(data = tmpTib,    aes(x = x, y = y)) +   geom_polygon(data = tmpTibAreas,    aes(x = x, y = y, fill = a)) +   geom_point(data = tmpTibPoints, aes(x = x, y = y, fill = c), pch = 24, size = 6) Does anyone know a way to create a solid downward pointing sy

Re: [R] Error "STRING_ELT() can only be applied to a 'character vector', not a 'list'" from rmarkdown

2023-08-25 Thread Chris Evans via R-help
ed to get back to my main work (and work I'm more competent to do!) Many thanks again, Chris On 25/08/2023 15:48, Ivan Krylov wrote: В Fri, 25 Aug 2023 11:49:03 +0200 Chris Evans via R-help пишет: Hm.  I tried that butI really don't know what to make of what it's telling m

Re: [R] Error "STRING_ELT() can only be applied to a 'character vector', not a 'list'" from rmarkdown

2023-08-25 Thread Chris Evans via R-help
On 24/08/2023 21:05, Duncan Murdoch wrote: On 24/08/2023 1:58 p.m., Chris Evans via R-help wrote: I have an Rmarkdown file which is part of my distill "Rblog" (https://www.psyctc.org/Rblog/).  It was knitting fine until last week, now knitting terminates with this: Rscript -e

Re: [R] Error "STRING_ELT() can only be applied to a 'character vector', not a 'list'" from rmarkdown

2023-08-25 Thread Chris Evans via R-help
Thanks Duncan.  I've pushed the whole collection to: https://github.com/cpsyctc/Rblog On 24/08/2023 20:54, Duncan Murdoch wrote: Could you post a link to the source for that Rmd file? Duncan Murdoch [rest snipped] __ R-help@r-project.org mailing l

[R] Error "STRING_ELT() can only be applied to a 'character vector', not a 'list'" from rmarkdown

2023-08-24 Thread Chris Evans via R-help
-shiny-server.Rmd output file: creating-a-shiny-server.knit.md /usr/bin/pandoc +RTS -K512m -RTS creating-a-shiny-server.knit.md --to html5 --from markdown+autolink_bare_uris+tex_math_single_backslash --output creating-a-shiny-server.html --lua-filter /home/chris/R/x86_64-pc-linux-gnu-libra

[R] Puzzled by results from base::rank()

2023-08-11 Thread Chris Evans via R-help
  "7.000"  "1.500"  "9.000"  "12.000" "3.000"  "11.000"  [9] "9.000"  "5.000"  "9.000"  "5.000" The doublet is still given the mean of the values but the triplet is rounded up.  What am I missing h

Re: [R] How to plot both lines and points by group on ggplot2

2023-07-01 Thread Chris Evans via R-help
lue, colour=Conc)) +   scale_colour_manual(values = c("darkslategray3", "darkslategray4", "deepskyblue4")) +   ggtitle("Working example") +   xlab(expression(bold("Time (h)"))) +   ylab(expression(bold("Concentration (mM)"))) Very  be

Re: [R] Help with regex replacements

2023-06-27 Thread Chris Evans via R-help
"Я досяг\\досягла того, чого прагнув\\прагнула" "Я досяг того, чого прагнув" 7 "Я досягнув(ла) того, чого хотів(ла)"   "Я досягнув того, чого хотів" perfect and I will spend some time tomorrow unpacking that regex and trying to drive the learning poin

Re: [R] Help with regex replacements

2023-06-27 Thread Chris Evans via R-help
Thanks Avi (I am a keen follower or your, and other stalwart helpers here). On 27/06/2023 18:27, avi.e.gr...@gmail.com wrote: Chris, Consider breaking up your task into multiple passes. Sorry, I could have explained more of what I had tried.  I never know how long to make things here. I

[R] Help with regex replacements

2023-06-27 Thread Chris Evans via R-help
`.Caused by error in `stri_replace_first_regex()`:!Trying to access the index that is out of bounds. (U_INDEX_OUTOFBOUNDS_ERROR) Run `rlang::last_trace()` to see where the error occurred. I have tried gurgling around the internet but am striking out so throwing myself on the list. Apologies if t

Re: [R] Asking about R "Security" ..

2023-05-17 Thread Chris Evans via R-help
can help!) Chris On 17/05/2023 11:11, Martin Maechler wrote: >>>>>> Ivan Krylov >>>>>> on Wed, 17 May 2023 11:52:27 +0300 writes: > > В Tue, 16 May 2023 13:47:19 + > > "MAJID, Ayesha \(NHS ENGLAND - X26\) via R-help"

Re: [R] Reg: Help regarding ggplot2

2023-05-02 Thread Chris Evans via R-help
ometric.  I don't know what you're looking for and I think we're starting to get into issues about interpretation of data not issues about using R so off list.  I think you need statistical or econometric support from somewhere. Good luck! Chris On 02/05/2023 17:50, Upananda Pan

Re: [R] Reg: Help regarding ggplot2

2023-05-02 Thread Chris Evans via R-help
___ > 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

Re: [R] Extracting data using subset function

2023-02-05 Thread Chris Ryan via R-help
Is this a homework problem? --Chris Ryan -- Sent from my Android device with K-9 Mail. Please excuse my brevity. On February 5, 2023 9:07:03 AM EST, Upananda Pani wrote: >Dear All, > >I want to create a vector p and extract first 20 observations using subset >function base

[R] fitting gam with constraints on parameters in mgcv

2022-10-22 Thread Chris Wilcox
essel dt$Catch[dt$Vessel == levels(dt$Vessel)[2]] <- 0 #now fit gam again with separation M <- gam(Catch ~ s(Lat,Lon) + s(Year) + Vessel, family = tw, data = dt) Thanks, Chris Chris Wilcox Minderoo Foundation * Flourishing Oceans [cid:Minderoo-80w_fc252a32-0168-44a0-8b65-5f9c7e67697f.png]

Re: [R] prcomp - arbitrary direction of the returned principal components

2022-10-12 Thread Chris Evans
5 -0.16  0.12 Apologies for the coding: I'm a better therapist than coder and it's a while since I've done much in base R like this.  Quite fun to get back to it!  R artistes can probably do that in four lines! But I'm not convinced doing this to "fix" the signs is reall

Re: [R] Is there a package that can do Fuzzy name matching to standardize names in a single column

2022-06-15 Thread Chris Evans
Over the years I have seen my name as: Chris Evans Evans, Chris Christopher Evans Evans, Christopher C.D.H.Evans Evans, C.D.H. and a great one that a bank once gave me: DR CHRISTOPHE D EVANS (honestly ... why?) Then there are all the misspellings as you say. Back in the days of snail mail reprint

Re: [R] stdev error

2022-03-11 Thread Chris Evans
t; > > > > [[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-proj

Re: [R] How to create density ellipses with R

2022-01-15 Thread Chris Evans
nearer 20 years on this list. Thanks to all for all the work to maintain the list and contribute to it. Chris - Original Message - > From: "John Fox" > To: "Paul Bernal" > Cc: "R" > Sent: Friday, 14 January, 2022 18:53:55 > Subject: Re:

Re: [R] Creating NA equivalent

2021-12-21 Thread Chris Evans
nted to either Tobit handling LDL _and_ UDL or to any other existing methods. TIA, Chris - Original Message - > From: "Wolfgang Viechtbauer" > To: "Chris Evans" > Cc: r-help@r-project.org > Sent: Tuesday, 21 December, 2021 11:31:55 > Subject: RE: Creati

Re: [R] Creating NA equivalent

2021-12-21 Thread Chris Evans
that Duncan offers, that sort of pulls this towardbase R, though that sounds to me as if it would be a huge undertaking. I'm very interested to hear any thoughts on either aspect. Seasonal (mutivalued) greetings to all! Chris - Original Message - > From: "Duncan Murdoch&quo

Re: [R] Changing time intervals in data set

2021-12-15 Thread Chris Evans
s and supports publications. Others here are professional statisticians _and_ professional R coders. Very best and seasonal greetings to all, Chris - Original Message - > From: "Rich Shepard" > To: "r-help mailing list" > Sent: Wednesday, 15 December, 2021

Re: [R] Syntax help for 'Pivot_longer'

2021-11-28 Thread Chris Evans
documentation and resubmit the question in raw text Email and submit a bit of your data using dput() (see ?dput and search out "R reproducible examples") and then I'll look at it. Very best (all), Chris - Original Message - > From: "Philip Monk" > To: &

Re: [R] ggplot2: 'not finding <-<- error'

2021-11-12 Thread Chris Evans
> the source of this error. > > TIA, > > Rich > > __ > 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-p

Re: [R] Cacheing of functions from libraries other than the base in Rmarkdown

2021-09-19 Thread Chris Evans
ght I'd learned not to do that: can't believe I didn't check that. Thanks, another hole in a foot: (re)-read the pertinent manual before assuming something is broken Christopher! Very best all, C - Original Message - > From: "Berry, Charles" > To:

Re: [R] Cacheing of functions from libraries other than the base in Rmarkdown

2021-09-19 Thread Chris Evans
ginal Message - > From: "Jeff Newmiller" > To: r-help@r-project.org, "Charles Berry" , "Chris > Evans" > Cc: "R-help" > Sent: Sunday, 19 September, 2021 19:45:03 > Subject: Re: [R] Cacheing of functions from libraries other than

Re: [R] Cacheing of functions from libraries other than the base in Rmarkdown

2021-09-19 Thread Chris Evans
plea about polymode and Rmd to the ESS help list as equipping my Emacs/ESS to knit whole Rmd files may give me an alternative and a bit more information. Thanks Bert (and all for > 16 years of knowledge and occasional high drama here!) Chris - Original Message - > From: "Bert

[R] Cacheing of functions from libraries other than the base in Rmarkdown

2021-09-18 Thread Chris Evans
t (as I'm not sure what is causing it!)? Thanks in advance, Chris > sessionInfo() R version 4.1.1 (2021-08-10) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu 20.04.3 LTS Matrix products: default BLAS: /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3 LAPACK:

[R] [R-pkgs] Announcing R package 'fedmatch'

2021-08-31 Thread Chris Webster
even more matches. Website <https://seunglee98.github.io/fedmatch/> CRAN <https://cran.r-project.org/package=fedmatch> Thanks, Chris Webster [[alternative HTML version deleted]] ___ R-packages mailing list r-packa...@r-project.or

Re: [R] conditional output of string to file n times...

2021-07-07 Thread Chris Evans
ell, uncount it! uncount(x, count) -> y y # or using tidyverse piping to do the same x %>% uncount(., count) -> y ### and one of many ways to write to a simple file ### make sure you do this in a safe place! cat(y, file = "safefile.txt", sep = "\n") Cheers all, Ch

Re: [R] Weighted violin chart

2021-04-12 Thread Chris Evans
s to reply if you put small bits of data like your myData into your Email using dput. The output from dput doesn't look terribly human friendly but unless it is mangled by HTML Emailing, it is wonderfully human friendly to use! Very best (all), Chris -- Chris Evans (he/him) Visiting P

Re: [R] .Rprofile with devtools::install_github() loops

2021-02-11 Thread Chris Evans
Works perfectly. Brilliant. I have added this, with appreciation to you Bill, to my "post" about creating my first (and probably only!) R package at: https://www.psyctc.org/Rblog/posts/2021-02-10-making-my-first-usable-package/ Thanks Bill, very best all, Chris - Origin

[R] .Rprofile with devtools::install_github() loops

2021-02-10 Thread Chris Evans
case. However, I think if it were the case it would be documented and I'd find far more about that. OK. So my .Rprofile is: print("This is a message from /home/chris/.Renviron: hello Chris!") .First <- function(){ devtools::install_github("/") } print(&qu

Re: [R] How to avoid ggplot clipping the x axis [damn, replaces previous Email]

2021-01-11 Thread Chris Evans
Perfect. Can't believe I failed to find that! Thanks, as ever, Rui - Original Message - > From: "Rui Barradas" > To: "Chris Evans" , R-help@r-project.org > Sent: Sunday, 10 January, 2021 18:10:16 > Subject: Re: [R] How to avoid ggplot clipping t

[R] How to avoid ggplot clipping the x axis [damn, replaces previous Email]

2021-01-10 Thread Chris Evans
# x axis has 0, 2, 4 and 6 Can anyone see the simple answer that is eluding me?! TIA, Chris -- Small contribution in our coronavirus rigours: https://www.coresystemtrust.org.uk/home/free-options-to-replace-paper-core-forms-during-the-coronavirus-pandemic/ Chris Evans Visiting Profes

[R] How to avoid ggplot clipping the x axis

2021-01-10 Thread Chris Evans
ring-the-coronavirus-pandemic/ Chris Evans Visiting Professor, University of Sheffield I do some consultation work for the University of Roehampton and other places but remains my main Email address. I have a work web site at: https://www.psyctc.org/psyctc/ and a site I manage for CORE and

[R] Search list of igraph objects to return some with certain values

2021-01-04 Thread Chris Buddenhagen
Hi all I stochastically simulated thousands of directed igraph objects in list format. I want to find and plot an example graph that meets a certain criteria (a link to a certain node). Does anyone have pointers on how to subset a list of igraph objects? Sincerely, Chris Buddenhagen cbuddenha

Re: [R] Inappropriate color name

2020-11-17 Thread Chris Evans
ckage as I seem to remember that's the correct way to make a formal nomination. Very best all, Chris - Original Message - > From: "Ryan Novosielski" > To: "r-help mailing list" > Cc: "Lainey Gallenberg" > Sent: Tuesday, 17 November,

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

2020-10-14 Thread Chris Evans
needs may grow). TIA, Chris -- Small contribution in our coronavirus rigours: https://www.coresystemtrust.org.uk/home/free-options-to-replace-paper-core-forms-during-the-coronavirus-pandemic/ Chris Evans Visiting Professor, University of Sheffield I do some consultation work for th

Re: [R] Is there a simple way to analyse all the data using dplyr?

2020-09-21 Thread Chris Evans
applying, I am really keen to find tidyverse/dplyr answers/options. Any offers?! TIA (all), Chris - Original Message - > From: "Eric Berger" > To: "Chris Evans" > Cc: "r-help" > Sent: Monday, 21 September, 2020 15:03:44 > Subject: Re: [

[R] Is there a simple way to analyse all the data using dplyr?

2020-09-21 Thread Chris Evans
groups within a single dplyr run ... it seems an obvious and common use case, but I can't find that either. Sorry, I'm over 99% sure I'm being stupid and missing the obvious here ... but that's the recurrent problem I have with my wetware and searchware doesn't seem to

Re: [R] combine filter() and select()

2020-08-19 Thread Chris Evans
coding, and there are many on this list, that sort of coding is also easy to read. I know that Chinese is easy to read if you grew up on it but to a bear of little brain like me, the much more verbose style of tidyverse repays typing time with readability when I come back to my code and, th

Re: [R] Fortune nomination .... Re: Looping through a dataframe

2020-07-24 Thread Chris Evans
channel or open port for nominations despite a bit of searching. TIA and very best to all, Chris - Original Message - > From: "John Kane" > To: "David Winsemius" > Cc: "R. Help Mailing List" > Sent: Saturday, 25 July, 2020 02:55:34 > Subject

Re: [R] levels

2020-07-19 Thread Chris Gordon-Smith
There is an interesting item on stringsAsFactors in this useR! 2020 session: https://www.youtube.com/watch?v=X_eDHNVceCU&feature=youtu.be It's about 27 minutes in. Chris Gordon-Smith On 15/07/2020 17:16, Marc Schwartz via R-help wrote: >> On Jul 15, 2020, at 4:31 AM, andy

[R] useR! Live Events Underway!

2020-07-08 Thread Chris Prener
s to posters and videos, and will include tutorial information as soon as it is available. We look forward to seeing you all at our events this week! Best, Chris Prener, Heidi Seibold, and Jenine Harris user! 2020 Co-Leads [[alternative HTML ver

Re: [R] Can I pass the grouped portions of a dataframe/tibble to a function in dplyr

2020-07-05 Thread Chris Evans
from, or supercedes aspects of do() which I think must have been the function I had forgotten. Even more interestingly I see that it seems to lead me into interesting options and experimental developments in tidyverse that I didn't know. Excellent. Perfect help ... many thanks!

[R] Can I pass the grouped portions of a dataframe/tibble to a function in dplyr

2020-07-05 Thread Chris Evans
tten for people who aren't professional coders or statisticians and that go a bit beyond the obvious basics of tidyverse into issues like this. TIA, Chris -- Small contribution in our coronavirus rigours: https://www.coresystemtrust.org.uk/home/free-options-to-replace-paper-core-for

Re: [R] Seeking implementation of my algorithm 'spdspds' - a novel algorithm for solving Linear Programming Problems with O(L^1.5) computational complexity

2020-06-10 Thread Chris Evans
l methods, while some rather pedestrian > ideas have proved reliable and effective, even if they don't fulfill nice > theoretical properties. There are, however, a few nice cases where theory > and practice are both great. Fortune nomination! Glorious. Thanks for making me sm

Re: [R] Help with ggplot error: #Error in FUN(X[[i]], ...) : object 'x' not found

2020-05-19 Thread Chris Evans
hat that line only has a group for the aesthetic as you've turned off inheritance of the x and y mapping in the earlier aes(). That would seem to fit with the error message. No time to try it all out but thought I'd throw this in. Good luck (all!) Chris > > str(p) > List of

Re: [R] FW: problem with markov random field smooths in mgcv

2020-04-30 Thread Wilcox, Chris (O&A, Hobart)
Thanks very much Simon, that is super helpful. Best, Chris On 25/3/20, 9:47 am, "Simon Wood" wrote: Hi Chris, It's kind of a documentation glitch, a node is not supposed to be listed as its own neighbour (it causes the diagonal entries in the penalty ma

[R] useR! 2020 St. Louis Update

2020-04-19 Thread Chris Prener
hard work means the world to us. Best, Chris Prener, Ph.D. and Jenine Harris, Ph.D. useR! 2020 St. Louis Co-lead Organizers [[alternative HTML version deleted]] ___ r-annou...@r-project.org mailing list https://stat.ethz.ch/mailman/list

Re: [R] Grouping Question

2020-03-21 Thread Chris Evans
2 8 passpass 5 2 10 passpass 6 3 19 failfail 7 3 13 passfail Would be easier for us if used dput() to share your data but thanks for the minimal example! Chris - Original Messa

Re: [R] FW: problem with markov random field smooths in mgcv

2020-03-18 Thread Wilcox, Chris (O&A, Hobart)
tion that constructs the mrf. Thanks for spending the time to look at the problem. I did not use the columb structure, but if you read down in the help for the smooth constructor function you can see that Simon has an example using nb that is like the one I submitted. Cheers, Chris On 19/3/2

[R] FW: problem with markov random field smooths in mgcv

2020-03-18 Thread Wilcox, Chris (O&A, Hobart)
appreciated. There is reproducible code below. Thanks Chris library(mgcv) #create data Country <- as.factor(c("Australia","Australia","Australia","Australia","Australia","Australia

[R] useR! 2020 - Registration Open!

2020-02-27 Thread Chris Prener
ch out to me (chris.pre...@slu.edu) or my colleague and co-lead organizer Jenine Harris (harr...@wustl.edu). Best, Chris Christopher Prener, PhD useR! 2020 Co-Lead Assistant Professor of Sociology Department of Sociology and Anthropology Saint Louis University St. Louis, MO https://chris-pren

Re: [R] read_xlsx(readxl) apparently mangling some data input

2020-02-04 Thread Chris Evans
out there? Thanks cpolwart and also TIA if anyone has suggestions for that tangential question (to me off list and I'll summarise if there's much and people asking for it). Chris - Original Message - > From: cpolw...@chemo.org.uk > To: "Chris Evans" > Cc:

Re: [R] read_xlsx(readxl) apparently mangling some data input

2020-02-04 Thread Chris Evans
on about the potential power of %% that I think I _will_ remember and no doubt find myself using again in the future. Thanks both, huge help to me and, as I suspected, a wasteful github issue report prevented! Chris - Original Message ----- > From: "PIKAL Petr" > To: "Chris

[R] read_xlsx(readxl) apparently mangling some data input

2020-02-04 Thread Chris Evans
tch these weird rounding errors and correct them, I am sure can also report this as a suspected bug to the maintainer through the github issues system but I wanted to check here whether anyone could see something I'm missing as I'm really a (clinically retired) therapist and doctor

Re: [R] How to read a file containing two types of rows - (for the Netflix challenge data format)

2020-01-31 Thread Chris Evans
e R. Plea: my formal programming training is one week of "Introduction to FORTRAN" on teletypes in 1975, but I confess it's both lack of formal training _and_ lack of native ability that means my coding is so bad. If any gurus have a moment, show us really elegant and tidyvers

Re: [R] Mixed format

2020-01-21 Thread Chris Evans
that I submit this a little nervously! Many thanks to all who teach me so much here, lovely, if I am correct, to contribute for a change! Chris - Original Message - > From: "Rui Barradas" > To: "Val" , "r-help@R-project.org (r-help@r-project.org)" &

Re: [R] table and unique seems to behave differently

2019-12-10 Thread Chris Evans
is string with initial or trailing spaces or a character set issue. I can't see that those apply here but it's all I could imagine without racking my poor old brains much more. Good luck finding the answer! Chris - Original Message - > From: "Alain Guillet" >

[R] How can I compare two apriori rules created from the same dataset

2019-09-14 Thread Chris Chinedozie
oney=2) => B(sex=1,age=1,money=0) returns FALSE -- Chris G. Chinedozie Universidade Federal do Rio de Janeiro [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.c

Re: [R] Efficient way to update a survival model

2019-09-03 Thread Andrews, Chris
k]] <- update(if (k==1) Cox0 else Cox[[k-1]], form) } From: Frank S. Sent: Friday, August 30, 2019 6:36:39 PM To: Andrews, Chris Cc: r-help@r-project.org Subject: RE: [R] Efficient way to update a survival model External Email - Use Caution Chris, thank y

Re: [R] Efficient way to update a survival model

2019-08-30 Thread Andrews, Chris
The updated formula needs to have a different term rather than cos(k * v) every time. Here is one way to explicitly change the formula. library("survival") set.seed(1) v <- runif(nrow(pbc), min = 0, max = 2) Cox0 <- coxph(Surv(pbc$time,pbc$status == 2) ~ v, data = pbc) Cox <- vector("list", 10

Re: [R] results of a survival analysis change when converting the data to counting process format

2019-08-23 Thread Andrews, Chris
Message- From: Andrews, Chris Sent: Friday, August 23, 2019 9:18 AM To: 'Göran Broström'; r-help@r-project.org; tamas.fere...@medstat.hu Subject: RE: [R] results of a survival analysis change when converting the data to counting process format # For what it is worth, even the second

Re: [R] results of a survival analysis change when converting the data to counting process format

2019-08-23 Thread Andrews, Chris
# For what it is worth, even the second fit (cuts at observation times) does not give identical coefficient estimates as using the original data structure. answer <- coef( coxph(Surv(time, status) ~ trt + prior + karno, data = veteran) ) veteran2 <- survSplit( Surv(time, status) ~ trt + prior +

[R] Creating a web site checker using R

2019-08-08 Thread Chris Evans
tise and as, to be brutally honest, I'm a pretty poor programmer. If I go that way, I'm sure people may be able to point me to things I may be (legitimately) able to recycle in parts to help construct this. Thanks in advance, Chris -- Chris Evans Skype: chris-psyctc Visit

Re: [R] CoxPH multivariate frailty model with coxph (survival)

2019-07-29 Thread Andrews, Chris
2 events in the short simulation I tried (except when the effect was very strong and I got convergence warnings). Chris library("flexsurv") set.seed(20190729) # Multiple non-competing outcomes, connected only by frailty (unmeasured covariate) nn <- 1000 kk <- 2 # frailty

Re: [R] Help installing netReg

2019-04-14 Thread Chris Ryan
Spencer-- What is your compy set-up? Standalone, networked? Where is R installed? Do you have write privileges to that location? Chris Ryan -- Sent from my Android device with K-9 Mail. Please excuse my brevity. On April 14, 2019 6:18:37 PM EDT, Spencer Brackett wrote: >Good evening, &g

Re: [R] R web-scraping a multiple-level page

2019-04-10 Thread Chris Evans
imum number of cycles. More often than > not > assumptions about the world turn out to be overly rational. Brilliant!! Fortune nomination? And the advice was useful to me too though I'm not the OQ. Thanks, Chris -- Chris Evans Skype: chris-psyctc Visiting Professor, University

Re: [R] Help interpreting data

2019-04-04 Thread Chris Ryan
Your dissertation advisor would probably be the best place to start. Chris Ryan -- Sent from my Android device with K-9 Mail. Please excuse my brevity. On April 3, 2019 7:31:59 PM EDT, Matty A wrote: >Message rejected by filter rule match > > > > >-- Forwarded messag

Re: [R] bar plot add space to group data

2018-08-17 Thread Chris Ryan
Using the lattice package would provide an easy way to distinguish years, by putting them in different panels. Lattice would also help avoid some other features of this graph that, in my opinion, are suboptimal. See Tufte or Cleveland. Chris Ryan -- Sent from my Android device with K-9 Mail

Re: [R] Mysterious seg fault --- SOLVED

2018-08-14 Thread Chris Evans
ays please Rolf, all! Chris - Original Message - > From: "Rolf Turner" > To: "Richard M. Heiberger" > Cc: r-help@r-project.org, "Achim Zeileis" , "peter > dalgaard" , "Henrik > Bengtsson" > Sent: Wednesday, 15 August,

[R] Typo in print.aov

2018-08-13 Thread Andrews, Chris
While looking at the code of print.aov for a different reason, I noticed that 'coefficient' was spelled with 3 'f's in one location. Perhaps this is on purpose but in another location it has just 2 'f's. This has not caused me any problem (that I know of) but I

[R] specifying random effects covariance structure in nlme

2018-06-16 Thread Chris Stride
, or asymp and rate. Now using  random = pdDiag(init + asymp + rate ~ 1) has none of the random effects correlated And using  random = pdSymm(init + asymp + rate ~ 1) has all three of the random effects correlated How do I specify just the correlation I want? che

[R] verInd= and HorInd= arguments to pairs() function

2018-06-06 Thread Andrews, Chris
wrong scatterplot pairs are in the wrong places" for the last two pairs() calls. Thanks, Chris # fake data xmat <- matrix(1:28, ncol=4) lim <- range(xmat) # what I expected pairs(xmat, xlim=lim, ylim=lim) # 4x4 matrix of sc

[R] SamplingStrata R package

2017-11-02 Thread Chris S
Hi all I am hoping to use the SamplingStrata R package for a dataset describing a population of businesses wherein I have information on the type of business, as well as, for designated employment number bands, number of employees and business turnover information. So ideally the stratification wi

Re: [R] SamplingStrata R package

2017-10-31 Thread Chris S
nd is that people keep coming along and > sticking things into it." > -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) > > On Tue, Oct 31, 2017 at 4:43 AM, Chris S wrote: > >> Hi all >> >> I am hoping to use the SamplingStrata R pac

[R] SamplingStrata R package

2017-10-31 Thread Chris S
Hi all I am hoping to use the SamplingStrata R package for a dataset describing a population of businesses wherein I have information on the type of business, as well as, for designated employment number bands, number of employees and business turnover information. So in this context the employmen

Re: [R] Surprising message "Error in FUN(newX[, i], ...) : all arguments must have the same length"

2017-09-26 Thread Chris Evans
board without the first coffee of the day. Thanks! Chris > From: "Eric Berger" > To: "Chris Evans" > Cc: "R. Help" > Sent: Tuesday, 26 September, 2017 08:41:33 > Subject: Re: [R] Surprising message "Error in FUN(newX[, i], ...) : all > ar

[R] Surprising message "Error in FUN(newX[, i], ...) : all arguments must have the same length"

2017-09-25 Thread Chris Evans
uot;0" "0" "0" "." "0" "0" "0" "0" "0" "." ... - attr(*, "names")= chr [1:3009] "1" "2" "3" "4" ... Named chr [1:3009] "0" "0" "0"

Re: [R] Nash equilibrium and other game theory tools implemented in networks using igraph or similar

2017-06-28 Thread Chris Buddenhagen
nce that it has been coded (just not sure if it was in R). BTW I did write to authors of the article I cited, but no reply. Chris Buddenhagen cbuddenha...@gmail.com On Wed, Jun 28, 2017 at 5:44 AM, Boris Steipe wrote: > I responded to the unhelpful suggestion "Why don't you implemen

[R] Nash equilibrium and other game theory tools implemented in networks using igraph or similar

2017-06-27 Thread Chris Buddenhagen
m in Social Networks, *4*, 6224. Best, Chris Buddenhagen cbuddenha...@gmail.com [[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

Re: [R] Creating interactive graphs and exporting to Intranet site

2017-04-23 Thread Chris Battiston
able to do more of what I need. Have a great day Chris Sent from my iPhone > On Apr 23, 2017, at 16:11, Duncan Murdoch wrote: > >> On 22/04/2017 10:29 PM, Chris Battiston wrote: >> Good evening, >> >> I’m relatively new to using R and am trying to find a

Re: [R] Creating interactive graphs and exporting to Intranet site

2017-04-23 Thread Chris Battiston
didn't like how it printed out. I may just do what I need in an Access database - was hoping to provide a little more functionality but what can you do. Thanks for your reply Chris Sent from my iPhone > On Apr 23, 2017, at 15:21, Jeff Newmiller wrote: > > You have a lot

Re: [R] Creating interactive graphs and exporting to Intranet site

2017-04-23 Thread Chris Battiston
intranet (per company policy). Any thoughts would be appreciated, and apologies again for my previously vague message. Chris > On Apr 23, 2017, at 2:42 PM, Bert Gunter wrote: > > "I cannot seem to get them to work as i need them to" does not > provide sufficient inf

[R] Creating interactive graphs and exporting to Intranet site

2017-04-23 Thread Chris Battiston
report is easily maintained and more flexible than a Pivot Table. Thanks so much for your time and have a good evening Chris __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] Has anyone created diagrammatic representations of Access/ODBC databases using R?

2017-03-08 Thread Chris Evans
d to all r-helpers! Chris - Original Message - > From: "Paul Murrell" > To: "Chris Evans" > Sent: Wednesday, 8 March, 2017 19:34:25 > Subject: Re: [R] Has anyone created diagrammatic representations of > Access/ODBC databases using R? > Hi >

[R] Has anyone created diagrammatic representations of Access/ODBC databases using R?

2017-03-08 Thread Chris Evans
ng like this and might be willing to share their tools, tricks, experiences: hence this post! TIA, Chris [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/

[R] R install/libraries

2017-01-08 Thread Chris
rrent installation it doesn't find "openssl".  installation tips appreciated.  Chris Barker, Ph.D. Adjunct Associate Professor of Biostatistics - UIC-SPH and President and Owner Statistical Planning and Analysis Services, Inc. www.barkerstats.c

  1   2   3   4   5   6   >