Displaying 7 results from an estimated 7 matches for "d45".
Did you mean:
45
2024 Aug 15
1
allequal diff
Dear community
Similar to the example of the rdocumentation, my idea is to use all.equal
and to print the difference.
https://www.rdocumentation.org/packages/base/versions/3.6.2/topics/all.equal
> d45 <- pi*(1/4 + 1:10)
> stopifnot(
+ all.equal(tan(d45), rep(1, 10))) # TRUE, but
> all (tan(d45) == rep(1, 10)) # FALSE, since not exactly
[1] FALSE
> all.equal(tan(d45), rep(1, 10), tolerance = 0) # to see difference
[1] "Mean relative difference: 1....
2024 Aug 15
1
allequal diff
...SIBYLLE ST?CKLI via R-help wrote:
> Dear community
>
>
>
> Similar to the example of the rdocumentation, my idea is to use all.equal
> and to print the difference.
>
> https://www.rdocumentation.org/packages/base/versions/3.6.2/topics/all.equal
>
>
>
>> d45 <- pi*(1/4 + 1:10)
>
>> stopifnot(
>
> + all.equal(tan(d45), rep(1, 10))) # TRUE, but
>
>> all (tan(d45) == rep(1, 10)) # FALSE, since not exactly
>
> [1] FALSE
>
>> all.equal(tan(d45), rep(1, 10), tolerance = 0) # to see dif...
2024 Aug 16
1
allequal diff
...mple of the rdocumentation, my idea is to use
> all.equal and to print the difference.
>
> <https://www.rdocumentation.org/packages/base/versions/3.6.2/topics/all> https://www.rdocumentation.org/packages/base/versions/3.6.2/topics/all
> .equal
>
>
>
>> d45 <- pi*(1/4 + 1:10)
>
>> stopifnot(
>
> + all.equal(tan(d45), rep(1, 10))) # TRUE, but
>
>> all (tan(d45) == rep(1, 10)) # FALSE, since not exactly
>
> [1] FALSE
>
>> all.equal(tan(d45), rep(1, 10), tolerance = 0) #...
2011 Jun 09
1
Error: missing values where TRUE/FALSE needed
...suffix2)
d37 = mytwo(cityst, roots, suffix2)
d38 = mytwo(inscompany, roots, suffix2)
d39 = mytwo(state, roots, suffix3)
d40 = mytwo(city, roots, suffix3)
d41 = mytwo(cityst, roots, suffix3)
d42 = mytwo(inscompany, roots, suffix3)
d43 = mytwo(state, roots2, suffix)
d44 = mytwo(city, roots2, suffix)
d45 = mytwo(cityst, roots2, suffix)
d46 = mytwo(inscompany, roots2, suffix)
d47 = mytwo(state, roots2, suffix2)
d48 = mytwo(city, roots2, suffix2)
d49 = mytwo(cityst, roots2, suffix2)
d50 = mytwo(inscompany, roots2, suffix2)
d51 = mytwo(state, roots2, suffix3)
d52 = mytwo(city, roots2, suffix3)
d53 = m...
2011 Jun 09
2
Problem with a if statement inside a function
...quot;cityst", "roots", "suffix3")
d42 = mytwo("inscompany", "roots", "suffix3")
d43 = mytwo("state", "roots2", "suffix")
d44 = mytwo("city", "roots2", "suffix")
d45 = mytwo("cityst", "roots2", "suffix")
d46 = mytwo("inscompany", "roots2", "suffix")
d47 = mytwo("state", "roots2", "suffix2")
d48 = mytwo("city", "roots2", "suffix2&q...
2011 Jun 09
1
Trying to make code more efficient
...quot;cityst", "roots", "suffix3")
d42 = mytwo("inscompany", "roots", "suffix3")
d43 = mytwo("state", "roots2", "suffix")
d44 = mytwo("city", "roots2", "suffix")
d45 = mytwo("cityst", "roots2", "suffix")
d46 = mytwo("inscompany", "roots2", "suffix")
d47 = mytwo("state", "roots2", "suffix2")
d48 = mytwo("city", "roots2", "suffix2&q...
2009 Mar 09
5
Help
...) d21(N1) d22(N1) d23(N1) d24(N1) d25(N1)
> > d26(N1) d27(N1) d28(N1) d29(N1) d30(N1) d31(N1) d32(N1) d33(N1)
> > d34(N1) d35(N1) d36(N1) d37(N1) d38(A37) d39(N1) d40(N1) .
> >
> > - RECORD TYPE 'C'.
> > - DATA LIST LIST / i2(A1) d41(N1) d42(N1) d43(N1) d44(N1) d45(N1)
> > d46(N1) d47(N1) d48(N1) d49(N1) d50(N1) d51(N1) d52(N1) d53(N1)
> > d54(N1) d55(N1) d56(N1) d57(N1) d58(N1) d59(N1) d60(N1) .
> >
> > - RECORD TYPE 'D'.
> > - DATA LIST LIST / i3(A1) d61(N1) d62(N1) d63(N1) d64(N1) d65(N1)
> > d66(N1) d67(N1) d68(...