2024-11-18 14:40:32 +01:00
|
|
|
% Generated by roxygen2: do not edit by hand
|
|
|
|
% Please edit documentation in R/ds2dd_detailed.R
|
|
|
|
\name{numchar2fct}
|
|
|
|
\alias{numchar2fct}
|
|
|
|
\title{Applying var2fct across data set}
|
|
|
|
\usage{
|
|
|
|
numchar2fct(data, numeric.threshold = 6, character.throshold = 6)
|
|
|
|
}
|
|
|
|
\arguments{
|
|
|
|
\item{data}{dataset. data.frame or tibble}
|
|
|
|
|
|
|
|
\item{numeric.threshold}{threshold for var2fct for numeric columns. Default
|
|
|
|
is 6.}
|
|
|
|
|
|
|
|
\item{character.throshold}{threshold for var2fct for character columns.
|
|
|
|
Default is 6.}
|
|
|
|
}
|
|
|
|
\value{
|
|
|
|
data.frame or tibble
|
|
|
|
}
|
|
|
|
\description{
|
|
|
|
Individual thresholds for character and numeric columns
|
|
|
|
}
|
|
|
|
\examples{
|
|
|
|
mtcars |> str()
|
2024-11-20 12:40:29 +01:00
|
|
|
\dontrun{
|
2024-11-18 14:40:32 +01:00
|
|
|
mtcars |>
|
|
|
|
numchar2fct(numeric.threshold = 6) |>
|
|
|
|
str()
|
|
|
|
}
|
2024-11-20 12:40:29 +01:00
|
|
|
}
|