Note the inconsistency in the names in these two examples. X.Time in
the first case and Time.1 in the second case.
> transform(BOD, X = BOD[1:2] * seq(6))
Time demand X.Time X.demand
118.3 1 8.3
22 10.3 4 20.6
33 19.0 9 57.0
44 1
Dear R contributors,
I suggest adding a new method to `p.adjust` ("Adjust P-values for Multiple
Comparisons",
https://stat.ethz.ch/R-manual/R-devel/library/stats/html/p.adjust.html).
This new method is published in Benjamini, Krieger, Yekutieli 2016 Adaptive
linear step-up procedures that control
Hi all,
Would you generally consider NULL to be a vector? Base R functions are
a little inconsistent:
## In favour
``` r
identical(as.vector(NULL), NULL)
#> [1] TRUE
identical(as(NULL, "vector"), NULL)
#> [1] TRUE
# supports key vector vector generics
length(NULL)
#> [1] 0
NULL[c(3, 4, 5)]
#>
On 23/07/2018 3:03 PM, Hadley Wickham wrote:
Hi all,
Would you generally consider NULL to be a vector?
According to the language definition (in the doc directory), it is not:
"Vectors can be thought of as contiguous cells containing data. Cells
are accessed through indexing operations such
On Mon, Jul 23, 2018 at 2:17 PM, Duncan Murdoch
wrote:
> On 23/07/2018 3:03 PM, Hadley Wickham wrote:
>>
>> Hi all,
>>
>> Would you generally consider NULL to be a vector?
>
>
> According to the language definition (in the doc directory), it is not:
> "Vectors can be thought of as contiguous cells