dir_contents()
: fixes to level and directory columns. Reorder output columns.dir_contents()
and dir_files
:fs:path
relative path. dir
input (would not have worked with multiple before anyway).dir_files()
now gives modification time instead of just date.latest_file()
now handles ext
arguments starting in ".".factor_to_numeric()
convert logical strings consistent with as.logical()
. Output is
now always numeric.count2()
and vcount()
:pname
argument which defaults to p.countp()
and countv()
as alternative names for count2()
and vcount()
.dir
column to output for dir_files()
which gives directory path for each file. var_summary()
: add str_missing
column to output which counts matches to supplied strings.var_summary()
: remove name attributes from elements in columns of output.var_summary()
now uses dplyr::n_distinct()
instead of length(unique()
to count unique values in columns. This should only change counts for data frame columns. Previously the columns in the data frame column were compared for uniqueness, whereas now the rows are compared. For example,x <- tibble::tibble(a = c(1:3, 1), b = c(1, 1, 1, 1))
length(unique(x))
dplyr::n_distinct(x)
count_string()
to count_pattern()
.prop_ci()
. Replaced by response
package https://github.com/jedwards24/response.glmnet_to_table()
. See jemodel package https://github.com/jedwards24/jemodel.ilogit()
. Moved to jemodel package.count_matches2()
. Absorbed into rewritten count_matches()
.dir_contents()
output.recurse
argument to dir_contents()
and dir_size()
.shorten
argument to dir_contents()
.dir_count_files()
and dir_count_dirs()
.latest_file()
to simplify (breaking). count_matches()
(tidier and faster). Absorb count_matches2()
into count_matches()
.find_similar()
code and add tests.min_n()
and max_n()
. Now length stable due to handling NA
s differently (breaking).vcount()
. Like count()
but for vectors.na_if_string()
and na_if_all()
. Used to convert elements to NA
.Removed all deprecated modelling functions (ones starting rang_
, glmnet_
, or roc_
). All are
available in the jemodel package. A simplified version of glmnet_to_table()
has been kept in the package because I have used this most often out of these functions.
Removed previously deprecated functions: count_at()
, count_nas2()
, and bin_numeric()
. They are replaced respectively by count_over()
, var_summary()
, and bin_integer()
.
I will be moving functions for modelling to a new package jemodel. To start this:
glmnet.R
, ranger.R
, and roc.R
).Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.