View source: R/preprocess-and-validate-data.R
check_enough_unique_temperatures_values | R Documentation |
Check if the dataset contains enough unique temperature values
check_enough_unique_temperatures_values(dataset)
dataset |
The input dataset containing the 'Temperature' column to be analyzed. The 'Temperature' column should be numeric representing temperature values. |
Logical value (TRUE or FALSE) indicating whether there are enough unique temperature values (at least 4) in the dataset.
data <- data.frame(Temperature = c(25, 30, 25, 35, 28, 28))
check_enough_unique_temperatures_values(data)
# Output: TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.