Thanks Jeff. And for future readers head here:
https://github.com/eddelbuettel/digest/issues/49
and here:
https://github.com/eddelbuettel/digest/issues/13
Sam
On Fri, Feb 28, 2020 at 3:40 PM Jeff Newmiller wrote:
>
> Read the closed issues in his digest Github repo first... this discussion h
Read the closed issues in his digest Github repo first... this discussion has
already occurred there.
On February 28, 2020 3:35:09 PM PST, Sam Albers
wrote:
>Great question Will. If it were my code I would definitely do this.
>However the problem is manifesting itself for my work with Dirk's
>g
Great question Will. If it were my code I would definitely do this.
However the problem is manifesting itself for my work with Dirk's
great digest package here:
https://github.com/eddelbuettel/digest/blob/947b77e82b97024a874a808a4644be21fc329275/R/digest.R#L170-L173
So because file.access is sayi
If file.access() says the file is unreadable but file() says it can be
opened, why don't you
just open the file and read it? You can use tryCatch to deal with problems
opening or
reading the file.
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Fri, Feb 28, 2020 at 2:54 PM Sam Albers
wrote:
>
I don't know.
Windows uses Access Control Lists, while POSIX (e.g. Linux) uses
user/group/other classification. These two world views do not have a simple 1:1
correspondence, so you might see some difference between your file security
configuration in the file properties.
Then again there are
Hi Sam,
Just a guess, but your "*.R" files should be text, not binary. Windows
doesn't distinguish between the two locally if I remember correctly,
but may have to when accessing things outside the Windowsphere.
Jim
On Sat, Feb 29, 2020 at 9:07 AM Sam Albers wrote:
>
> Some additional follow-up:
Hi Ana,
I should clarify what I wrote in the previous email. You are expecting
an approximately square plot with a line running at about an angle of
45 degrees from lower left to upper right. However, the range of x and
y values that you are plotting are not approximately equal. This means
that lin
Hi Ana,
I'll do my best. In the attached image, I have placed two green disks
at (0,0) and (1,1). These points are on a line with intercept 0 and
slope 1 as are all the other points on that line. When you ask for an
abline with two unnamed arguments, the first is the intercept and the
second is the
Thanks Jeff. I am probably not explaining myself very well but my
question under what circumstances would
summary(file(remote_file, "rb"))$`can read`
be different from:
file.access(remote_file, 4)
If my permissions were different across remote and local should that
not be reflected in both of t
Dunno. They agree for me. Maybe look closer at all permissions via Windows File
Manager?
On February 28, 2020 2:06:34 PM PST, Sam Albers
wrote:
>Some additional follow-up:
>
>> summary(file(remote_file, "rb"))$`can read`
>[1] "yes"
>
>> summary(file(local_file, "rb"))$`can read`
>[1] "yes"
>
>c
On 29/02/20 8:11 am, Abby Spurdle wrote:
There was clearly a non-linear growth pattern such that an additive
mixed effects model was proposed to model the behavior of biomass
as a function of time and treatments.
The presence of non-linearity (in x) does not necessarily mean that
you can't
Some additional follow-up:
> summary(file(remote_file, "rb"))$`can read`
[1] "yes"
> summary(file(local_file, "rb"))$`can read`
[1] "yes"
compared to:
> file.access(local_file, 4)
local.R
0
> file.access(remote_file, 4)
remote.R
-1
Can anyone think why file.access and fil
Hi Jim,
I have in my code:
abline(0,1,col='red')
can you please tell me how to change my code to have it indeed running
from 0 to 1?
Thanks
Ana
On Fri, Feb 28, 2020 at 3:34 PM Jim Lemon wrote:
>
> Hi Ana,
> Look carefully at that red line. It goes through (0,0) and scoots off
> the plot at (2.
Hi Ana,
Look carefully at that red line. It goes through (0,0) and scoots off
the plot at (2.5,2.5). As you have specified that intercept and slope
in your code, poor abline is doing the best it can. Do not punish it
for doing what you request.
Jim
On Sat, Feb 29, 2020 at 6:10 AM Ana Marija wrot
Hello Rui, this is it, thank you very much, sorry if my request was confusing.
WHP
From: Rui Barradas
Sent: Friday, February 28, 2020 2:15 PM
To: Bill Poling ; r-help (r-help@r-project.org)
Subject: Re: [R] Help with ggplot plot
[External Email]
Hello,
Now I'm not understanding, you want th
Hello,
Now I'm not understanding, you want the values in the bars? The numbers?
ggplot(tmp, aes(x = Region, y = ProductLineID, fill = ProductLineFlag)) +
geom_col() +
geom_text(aes(label = ProductLineID),
position = position_stack(vjust = 0.5), size = 3) +
facet_grid(~InOutFla
> There was clearly a non-linear growth pattern such that an additive mixed
> effects model was proposed to model the behavior of biomass as a function of
> time and treatments.
The presence of non-linearity (in x) does not necessarily mean that
you can't use a "linear model".
In general, linear
Hello,
I made the plot in attach with this function:
qqunif = function(p, BH=T, MAIN = " ", SUB=" ")
{
nn = length(p)
xx = -log10((1:nn)/(nn+1))
plot( xx, -sort(log10(p)),
main = MAIN, sub= SUB, cex.sub=1.3,
xlab=expression(Expected~~-log[10](italic(p))),
ylab=expr
Hi there,
Looking for some help in diagnosing or developing a work around to a
problem I am having on a Windows machine. I am running R 3.6.2.
I have two identical files, one stored locally and the other stored on
a network drive.
For access:
> file.access(local_file, 4)
local.R
0
> f
Ups... Thank you both. Indeed I must repeat lessons on regular
expression... obviously forgotten...
Le 28/02/2020 à 18:32, Jeremie Juste a écrit :
Hello,
you need
dir(pattern="\\.r$",ignore.case=TRUE)
remember that the pattern is a regular expression.
so ".r" is [any single character]r. So
You _need_ to learn how regular expressions work. There are many dozens of ways
to learn this topic... web tutorials, YouTube videos, reading the ?regex help
page in R. Start at the beginning, and look for special characters like ".",
"$", and "\." (which has to be "\\." in R). It shouldn't take
Hi Rui, thank you this is helpful, however, I would like the values in the or
above the bars.
I have tried 'dodge' but not working correctly.
ggplot(tmp, aes(x=Region, y=ProductLineID, fill=ProductLineFlag)) + #Getting
worse again
geom_bar(stat ="identity") +
geom_col(position = 'dodge
Hello,
you need
> dir(pattern="\\.r$",ignore.case=TRUE)
remember that the pattern is a regular expression.
so ".r" is [any single character]r. So basically it will give you any
file that contains r (but not that starts with r)
so you got what you expected with
> dir(pattern=".txt")
just by ch
I have this directory contain listed at the page bottom
Can somebody tell me why with
dir(pattern = ".txt")
dir(pattern = ".dbf")
etc.
I get exactly what I want (a vector with the file names correctly
suffixed), but with
dir(pattern = ".r")
I get this:
> dir(pattern=".r") [1] "Article Pred
Hello,
If you want faceting, a square grid can do it.
ggplot(tmp, aes(x=Region, y=ProductLineID, fill=Region)) +
geom_bar(stat = "identity") +
facet_grid(InOutFlagAlpha ~ ProductLineFlag)
Hope this helps,
Rui Barradas
Às 16:50 de 28/02/20, Bill Poling escreveu:
#RStudio Version 1.2.501
#RStudio Version 1.2.5019
sessionInfo()
# R version 3.6.2 (2019-12-12)
#Platform: x86_64-w64-mingw32/x64 (64-bit)
#Running under: Windows 10 x64 (build 17134)
Hello, I am sure I am missing something simple.
Here is my data, its aggregated and if need be I can unaggregate I guess:
dput(tmp)
struc
Wrong list.
Post here:
https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
in **plain text** not html.
Bert Gunter
"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 Fr
You need weights=Holders to make the 2nd form equivalent to the first (with a
bunch of somewhat annoying and largely irrelevant warnings). This is because
300 claims from 1000 holders is more informative than 3 out of 10 even though
the rate is the same.
-pd
> On 27 Feb 2020, at 19:15 , John
I conducted an experiment where earthworms were subjected to two treatments,
with and without herbicide in the soil. Biomass measurements were taken every
12 days for 398 days and the biomass growth curves as a function of time were
plotted.
There was clearly a non-linear growth pattern such th
29 matches
Mail list logo