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
uot;))+
>theme(axis.text=element_text(size=18))+
>theme(axis.title=element_text(size=20))+
>ylab("Anteil BFF an LN [%]") +xlab("Jahr")+
>scale_color_manual(values=c("red","darkgreen"), labels=c("ÖLN", "BIO"
st -- 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.
--
Chris Evans (he/him)
Visiting Professor, UDLA, Quito, Ecuador & H
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
aes(x = x, y = y, label = "▼", color = c),
size = 6) + guides(color = FALSE)
[much snipped]
--
Chris Evans (he/him)
Visiting Professor, UDLA, Quito, Ecuador & Honorary Professor,
University of Roehampton, London, UK.
Work web site: https://www.
"Improved")) +
scale_fill_manual(name = "Change",
values = c("A" = "red",
"B" = "grey",
"C" = "green"),
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
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
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
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
_1.0.3 fontawesome_0.5.2 pkgconfig_2.0.3
[37] pillar_1.9.0 bslib_0.5.1 gtable_0.3.4 glue_1.6.2
[41] xfun_0.40 tidyselect_1.2.0 highr_0.10 rstudioapi_0.15.0
[45] knitr_1.43 farver_2.1.1 htmltools_0.5.6 rmarkdown_2.24
[49] labeling_0.4.2 compiler_4.3.1 downli
"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
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
9 AM Bert Gunter
wrote:
Does this do it for you (or get you closer):
gsub("\\[.*\\]|[] |/ ","",tmp$Text)
[1] "Я досяг того, чого хотів"
[2] "Мені вдалося\nзробити бажане"
[3] "Я досяг (досягла) того, чого хотів (хотіла)&quo
ologies if this is trivial but I'd hate to have to clean
these hundreds of lines by hand though it's starting to look as if I'd
achieve that faster by hand than I will by banging my ignorance of R
regexp syntax on the problem. TIA, Chris
-Original Message-
From: R
`.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
ry grateful.
>
> Martin
>
> __
> 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 guidehttp://www.R-project.org/posting-guide.html
> and provi
uot;, "data.frame"
> ))
>
> As there are some countries which are having higher volatilities than
> countries with lower, is there any suggestion to improve the graph?
>
> Looking forward to your suggestion in this regard.
>
> With sincere regards,
> Upananda Pani
___
> 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
gt;
> > That's what I want. I don't want the the returned principal
> > component to be HIGH(LOW) on my computer and LOW(HIGH) on someone
> > else's computer.
> > That would confuse the people the code is shared with.
> >
> > Is this possible
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
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
/mailman/listinfo/r-help
>> <https://stat.ethz.ch/mailman/listinfo/r-help>
>> > PLEASE do read the posting guide
>> http://www.R-project.org/posting-guide.html
>> <http://www.R-project.org/posting-guide.html>
>> > and provide comme
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
a later version of
> the code here:
>
> https://stackoverflow.com/a/69179441/2554330
>
> Duncan Murdoch
>
> __
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/lis
gt;
> Because these data are so different from what I've seen in the past I want
> to explore whether (or how) they affect discharge variability calculations.
>
> Regards,
>
> Rich
--
Chris Evans (he/him)
Visiting Professor, UDLA, Quito, Ecuador & Honorary Professor
01.03.21 7 5 15
> 4 01.04.21 9 67
> 5 01.05.21 7 510
>
> __
>
> 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
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:
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
areas
> to
> ask for help on their stuff, at least for some of it. You may wish to wait a
> bit before doing so, though, just to see if someone here responds.
> Bert
> On Sat, Sep 18, 2021, 12:26 PM Chris Evans < [ mailto:chrish...@psyctc.org |
> chrish...@psyctc.org ] >
_1.1
cellranger_1.1.0gtable_0.3.0assertthat_0.2.1
[78] xfun_0.26 broom_0.7.9 rsconnect_0.8.24
viridisLite_0.4.0 survival_3.2-13 rJava_1.0-4 cluster_2.1.2
ellipsis_0.3.2
--
Chris Evans (he/him) Visiting Professor, University of
BE 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.
>>
>>
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
al Message -
> From: "Bill Dunlap"
> To: "Chris Evans"
> Cc: "R-help"
> Sent: Wednesday, 10 February, 2021 16:48:18
> Subject: Re: [R] .Rprofile with devtools::install_github() loops
> Installing a package involves running several R subprocesses, each
Linux machine and a Windows machine.
OK. Anyone save me from more dents in the wall and frontal lobe damage?!
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 Evan
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
# 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
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
ps://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.
--
Small contribution in our coronavirus rigours:
https://www.coresystemtrust.org.uk/home/free-option
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
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: [
being fixing this!
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 the Univ
___
> 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 code.
--
Small contributi
e posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
--
Small contribution in our coronavirus rigours:
https://www.coresystemtrust.org.uk/home/free-options-to-replace-paper-core-forms-during-the-coronavirus-pandemic/
Chris
- Original Message -
> From: "Rui Barradas"
> To: "Chris Evans" , "R-help"
> Sent: Sunday, 5 July, 2020 13:16:19
> Subject: Re: [R] Can I pass the grouped portions of a dataframe/tibble to a
> function in dplyr
> Hello,
>
> I fo
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
ile.
Chris
[rest snipped]
--
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 the University of Roe
NEW BRAUNFELS", "NEW BRITAIN", "NEW BRUNSWICK",
> "NEW CASTLE", "NEW CUMBERLAND", "NEW HAVEN", "NEW KENSINGTON",
> "NEW LONDON", "NEW ORLEANS", "NEW PRESTON", "NEW PROVIDENCE",
> "
__
> 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 code.
--
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:
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
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
e.
>
> --
> Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
> UCT), Dipl. Phys. (Germany)
>
> Orcid ID: -0002-7490-0066
>
> Department of Evolutionary Biology and Environmental Studies
> University of Zürich
> Office Y34-J-74
>
__
>> 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-containe
.2 10.3 10.4
> 8 12 13 10 17888 158 21 12 208 16 17
> 17 16 15 19
> 10.5 10.6 10.7 10.8 10.9 11 11.1 11.2 11.3 11.4 11.5 11.6 11.7 11.8 11.9
> 12
> 12.1 12.2 12.3 12.4
> 17 21 30 14 24 25 23 34 51 48 51 54 53
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
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
Ah, if I'd had a fortune for every time I invoked the wrath of the IT gods and
the malicious work of their gremlins, I'd be an obscenely wealthy person by now.
More seriously, I can't tell you how much I appreciate the joyous flickers of
humour here, amidst all the pain and suffering (yes, I may
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
I am hitting an odd message "Error in FUN(newX[, i], ...) : all arguments must
have the same length". I can't supply the data as it's a huge data frame but I
think this has enough diagnostic information to show the issue. I am sure I am
missing something obvious. I've put some extra comments
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
>
I have been on a fair old learning curve handling a fairly complex Access
database with my beloved, if sometimes tantaslising, R. I've been using RODBC
to do this and, despite the database not being all that well designed, the
power of R and RODBC has been fantastic (of course). Huge thanks to R
soul and my deeper and wider understanding of R to go right back to the basics.
Thanks again to you both. I am posting here to convey thanks and in case this
is useful to anyone like myself who benefits from a bit more narrative than is
usually offered by R definitions and help entries.
Chris
incompletely, than the tibble documentation does, why all this is good.
Thanks anyway Ista, you certainly hit the issue!
Very best all,
Chris
> From: "Ista Zahn"
> To: "Chris Evans"
> Cc: "r-helpr-project.org"
> Sent: Tuesday, 6 December, 2016 21:40
I hope I am obeying the list rules here. I am using a raw R IDE for this and
running 3.3.2 (2016-10-31) on x86_64-w64-mingw32/x64 (64-bit)
Here is a reproducible example. Code only first
require(tibble)
tmpTibble <- tibble(ID=letters,num=1:26)
min(tmpTibble[,2]) # fine
max(tmpTibble[,2]) # fine
then add the others using
dataframe[['newVariable']] <- nextVector ?
Very best wishes and thanks again: this is an amazing list,
Chris
- Original Message -----
> From: "David Winsemius"
> To: "Chris Evans"
> Cc: r-help@r-project.org
> Sent: Sunda
I am just posting this to the list because someone else may one day waste an
hour or so because s/he has unknowingly hit a partial match failure using "$".
It's my folly that I did but I am surprised that options(warnPartialMatchDollar
= TRUE) isn't the default setting.
Here's a bit of reprodu
tion.
As ever, deeply indebted to the R and R-help communities,
Chris
> From: "Ismail SEZEN"
> To: "Chris Evans"
> Cc: "r-help"
> Sent: Monday, 12 September, 2016 10:36:51
> Subject: Re: [R] Help with strftime error "character string i
I am trying to read activity data created by Garmin. It outputs dates like this:
"Thu, 25 Aug 2016 6:34 PM"
The problem that has stumped me is this:
> strftime("Thu, 25 Aug 2016 6:34 PM",format="%a, %d %b %Y %I:%M %p")
Error in as.POSIXlt.character(x, tz = tz) :
character string is not in a s
As with Milan's answer: perfect explanation and hugely appreciated. A few
follow up questions/comments below.
- Original Message -
> From: "Jeff Newmiller"
> To: "Chris Evans"
> Cc: r-help@r-project.org
> Sent: Saturday, 17 October, 2015 18:28:12
- Original Message -
> From: "Milan Bouchet-Valat"
> To: "Chris Evans" , r-help@r-project.org
> Sent: Saturday, 17 October, 2015 18:13:40
> Subject: Re: [R] No speed up using the parallel package and ncpus > 1 with
> boot() on linux machines
>
I think I am failing to understand how boot() uses the parallel package on
linux machines, using R 3.2.2 on three different machines with 2, 4 and 8 cores
all results in a slow down if I use "multicore" and "ncpus". Here's the code
that creates a very simple reproducible example:
bootReps <- 5
4 FALSE"
[1] "i = 5 FALSE"
[1] "i = 6 FALSE"
[1] "i = 7 FALSE"
[1] "i = 8 FALSE"
[1] "i = 9 FALSE"
[1] "i = 10 FALSE"
[1] "i = 11 FALSE"
[1] "i = 12 FALSE"
[1] "i = 13 FALSE"
[1] "i = 14 FALSE&quo
ven provided tabs for matrices and tables?
I'll pick up more in response to Max Kuhn's message.
Very best,
Chris
--
Chris Evans Skype: chris-psyctc
Consultant Psychiatrist in Psychotherapy, Notts. PDD network;
Trust Research Governance Lead and Clinical Director, Psychological
Th
_
>> 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.
>>
>
> [[alternative
lt.edu/twiki/bin/view/Main/StatReport
>>
>> Frank also has some pointers for converting between various formats:
>>
>>http://biostat.mc.vanderbilt.edu/twiki/bin/view/Main/SweaveConvert
>>
>> HTH,
>>
>> Marc Schwartz
>>
>> ___
Thanks to the R team, yet again, for an amazing product!
Chris
--
Chris Evans Skype: chris-psyctc
Consultant Psychiatrist in Psychotherapy, Notts. PDD network;
Trust Research Governance Lead and Clinical Director, Psychological
Therapies Directorate in Local Services, Nottinghamshire NHS Trust;
I am sure there is an obvious answer to this that I'm missing but I
can't find it. I'm parsing headers of Emails and most have a date like
this:
"Wed, 16 Nov 2005 05:28:00 -0800"
and I can parse that using:
tmp.dat.data <- matrix(unlist(strsplit(headers$Date.line,",")),
ncol = 2, byrow = T
te(mlmfit, ~0)
tmp.man <- anova(mlmfit,mlmfit0,X=~1,test="Wilks")
manova.p <- tmp.man[8][2,1]
Am I right that the above extracts the p value for the nlme test of the
individual slopes of score against occasion and then the MANOVA test ...
of no difference between occasions?
How
, I'm sure there are more specific lists or web resources but I
think the skills are here too and if someone can tell me how to do this
all in R, I'd be fascinated.
Many thanks,
Chris
--
Chris Evans <[EMAIL PROTECTED]> Skype: chris-psyctc
Professor of Psychotherapy, Nottingham Un
usly grateful to those many generous people who created R and
its packages and to the many who do stop and help we less strong climbers!
Sorry Ravi, couldn't resist!
Best wishes and thanks to all,
Chris
--
Chris Evans <[EMAIL PROTECTED]> Skype: chris-psyctc
Professor of Psychother
all amount of SPR money in it too but we're not
exactly flush so I really don't know.
TIA, and, as always when I'm here, thanks for R and this list!
Chris
--
Chris Evans <[EMAIL PROTECTED]> Skype: chris-psyctc
Professor of Psychotherapy, Nottingham University;
Consultant Ps
83 matches
Mail list logo