Skip to content

Commit db209af

Browse files
mo2-amodumo2-amodu
mo2-amodu
authored and
mo2-amodu
committed
modified the readme file
1 parent 7d1eabb commit db209af

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

README.Rmd

+2
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,8 @@ df <- tibble(
186186
)
187187
)
188188
189+
df
190+
189191
# Using mean to fill missing values for numeric variables
190192
191193
result_df_mean <- fill_missing_values(df, use_mean = TRUE)

README.md

+11
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,17 @@ df <- tibble(
238238
)
239239
)
240240

241+
df
242+
#> # A tibble: 7 × 5
243+
#> Sepal_Length Sepal.Width Petal_Length Petal_Width Species
244+
#> <dbl> <dbl> <dbl> <dbl> <chr>
245+
#> 1 5.2 4.1 1.5 NA setosa
246+
#> 2 5 3.6 1.4 0.2 <NA>
247+
#> 3 5.7 3 4.2 1.2 versicolor
248+
#> 4 NA 3 1.4 0.2 setosa
249+
#> 5 6.2 2.9 NA 1.3 <NA>
250+
#> # ℹ 2 more rows
251+
241252
# Using mean to fill missing values for numeric variables
242253

243254
result_df_mean <- fill_missing_values(df, use_mean = TRUE)

0 commit comments

Comments
 (0)