Displaying 7 results from an estimated 7 matches for "statology".
2024 Aug 18
2
allequal diff
Dear Ivan
Thanks a lot for this very nice example.
Is it true that all.equal just compares y values?
Based on this help here I think so and the value I got is the difference for the y-values.
https://www.statology.org/all-equal-function-r/
However, here I see x and y testing?
https://www.rdocumentation.org/packages/base/versions/3.6.2/topics/all.equal
I am actually interested in the x values (x-y coordinates). Test if x-y coordinates of both 25-m-pixel rasters are the same. Ther may be a small shift or diff...
2024 Aug 18
2
allequal diff
...?CKLI via R-help
<r-help at r-project.org> wrote:
>
> Dear Ivan
>
> Thanks a lot for this very nice example.
>
> Is it true that all.equal just compares y values?
> Based on this help here I think so and the value I got is the difference for the y-values.
> https://www.statology.org/all-equal-function-r/
>
> However, here I see x and y testing?
> https://www.rdocumentation.org/packages/base/versions/3.6.2/topics/all.equal
> I am actually interested in the x values (x-y coordinates). Test if x-y coordinates of both 25-m-pixel rasters are the same. Ther may be a...
2024 Aug 18
1
allequal diff
...help at r-project.org> wrote:
>> Dear Ivan
>>
>> Thanks a lot for this very nice example.
>>
>> Is it true that all.equal just compares y values?
>> Based on this help here I think so and the value I got is the difference for the y-values.
>> https://www.statology.org/all-equal-function-r/
>>
>> However, here I see x and y testing?
>> https://www.rdocumentation.org/packages/base/versions/3.6.2/topics/all.equal
>> I am actually interested in the x values (x-y coordinates). Test if x-y coordinates of both 25-m-pixel rasters are the same...
2024 Aug 16
1
allequal diff
? Fri, 16 Aug 2024 11:32:58 +0200
<sibylle.stoeckli at gmx.ch> ?????:
> # values and mask r1
> r1 <- getValues(r1)
> mask1 <- is.na(r1)
> # Do the same for r2
> r2 <- getValues(r2_resampled)
> mask2 <- is.na(r2)
>
> # Combine the masks
> all.equal(r1[!(mask1 & mask2)], r2[!(mask1 & mask2)])
Let's consider a more tangible example:
# The
2024 Aug 18
1
allequal diff
...t; >> Dear Ivan
> >>
> >> Thanks a lot for this very nice example.
> >>
> >> Is it true that all.equal just compares y values?
> >> Based on this help here I think so and the value I got is the difference for the y-values.
> >> https://www.statology.org/all-equal-function-r/
> >>
> >> However, here I see x and y testing?
> >> https://www.rdocumentation.org/packages/base/versions/3.6.2/topics/all.equal
> >> I am actually interested in the x values (x-y coordinates). Test if x-y coordinates of both 25-m-pixel...
2023 Jun 28
1
horizontal grouped stacked plots and removing space between bars
I have code like this:
data <- read.csv("test1.csv", stringsAsFactors=FALSE, header=TRUE)
# Graph
myplot=ggplot(data, aes(fill=condition, y=value, x=condition)) +
geom_bar(position="dodge", stat="identity", width=0.5) +
scale_fill_manual(values=c("#7b3294", "#c2a5cf", "#a6dba0", "#008837"))+
2024 Aug 22
2
Linear regression and stand deviation at the Linux command line
R List,
Please excuse this ultra-newbie post.
I looked at this page but it's a bit beyond me.
https://www2.kenyon.edu/Depts/Math/hartlaub/Math305%20Fall2011/R.htm
I'm interested in R construct(s) to be entered at the command
line that would output slope, y-intercept, and r-squared values read
from a csv or other filename entered at the command line, and the same
for standard deviation