Trees dataSet: A font exploration in R language

EDA of trees dataSet df [31 x 3], a POC test bed for R font study

## Rows: 31 Columns: 3
## ── Column specification ────────────────────────────────────────────────────────
## Delimiter: ","
## dbl (3): Girth, Height, Volume
## 
## ℹ Use `spec()` to retrieve the full column specification for this data.
## ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.
## [1] "Girth"  "Height" "Volume"
## spec_tbl_df [31 × 3] (S3: spec_tbl_df/tbl_df/tbl/data.frame)
##  $ Girth : num [1:31] 8.3 8.6 8.8 10.5 10.7 10.8 11 11 11.1 11.2 ...
##  $ Height: num [1:31] 70 65 63 72 81 83 66 75 80 75 ...
##  $ Volume: num [1:31] 10.3 10.3 10.2 16.4 18.8 19.7 15.6 18.2 22.6 19.9 ...
##  - attr(*, "spec")=
##   .. cols(
##   ..   Girth = col_double(),
##   ..   Height = col_double(),
##   ..   Volume = col_double()
##   .. )
##  - attr(*, "problems")=<externalptr>
##      Girth           Height       Volume     
##  Min.   : 8.30   Min.   :63   Min.   :10.20  
##  1st Qu.:11.05   1st Qu.:72   1st Qu.:19.40  
##  Median :12.90   Median :76   Median :24.20  
##  Mean   :13.25   Mean   :76   Mean   :30.17  
##  3rd Qu.:15.25   3rd Qu.:80   3rd Qu.:37.30  
##  Max.   :20.60   Max.   :87   Max.   :77.00

Format

Description

This data set provides measurements of the diameter, height and volume of timber in 31 felled black cherry trees. Note that the diameter (in inches) is erroneously labelled Girth in the data. It is measured at 4 ft 6 in above the ground.

Trees dataSet

A data frame with 31 observations on 3 variables.

[,1] Girth numeric Tree diameter (rather than girth, actually) in inches [,2] Height numeric Height in ft [,3] Volume numeric Volume of timber in cubic ft

## 
## Call:
## lm(formula = log(Volume) ~ log(Girth), data = trees)
## 
## Residuals:
##       Min        1Q    Median        3Q       Max 
## -0.205999 -0.068702  0.001011  0.072585  0.247963 
## 
## Coefficients:
##             Estimate Std. Error t value Pr(>|t|)    
## (Intercept) -2.35332    0.23066  -10.20 4.18e-11 ***
## log(Girth)   2.19997    0.08983   24.49  < 2e-16 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 0.115 on 29 degrees of freedom
## Multiple R-squared:  0.9539, Adjusted R-squared:  0.9523 
## F-statistic: 599.7 on 1 and 29 DF,  p-value: < 2.2e-16
## 
## Call:
## lm(formula = log(Volume) ~ log(Girth) + log(Height), data = trees)
## 
## Residuals:
##       Min        1Q    Median        3Q       Max 
## -0.168561 -0.048488  0.002431  0.063637  0.129223 
## 
## Coefficients:
##             Estimate Std. Error t value Pr(>|t|)    
## (Intercept) -6.63162    0.79979  -8.292 5.06e-09 ***
## log(Girth)   1.98265    0.07501  26.432  < 2e-16 ***
## log(Height)  1.11712    0.20444   5.464 7.81e-06 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 0.08139 on 28 degrees of freedom
## Multiple R-squared:  0.9777, Adjusted R-squared:  0.9761 
## F-statistic: 613.2 on 2 and 28 DF,  p-value: < 2.2e-16
## Start:  AIC=-152.69
## log(Volume) ~ log(Girth) + log(Height)
## 
##               Df Sum of Sq    RSS      AIC
## <none>                     0.1855 -152.685
## - log(Height)  1    0.1978 0.3832 -132.185
## - log(Girth)   1    4.6275 4.8130  -53.743
## 
## Call:
## lm(formula = log(Volume) ~ log(Girth) + log(Height), data = trees)
## 
## Coefficients:
## (Intercept)   log(Girth)  log(Height)  
##      -6.632        1.983        1.117

Specify the font family with the name displayed on PLOT the fonts() output

Specify the font family with the name displayed on GGPLOT the fonts() output

Specify the font family with the name displayed on Histogram + title the fonts() output

Specify the font family with the name displayed on Histogram the fonts() output

Specify the font family with the name displayed on the fonts() output

## Loading required package: sysfonts
## Loading required package: showtextdb
## [1] "C:\\Windows\\Fonts"

This is a Boxplot Outliers Shown

Boxplot showing outliers

A plot Trees volumen

Year 2022 Calendar font:Magneto

## ~~ Package calendR
## Visit https://r-coder.com/ for R tutorials ~~

## R version 4.2.1 (2022-06-23 ucrt)
## Platform: x86_64-w64-mingw32/x64 (64-bit)
## Running under: Windows 10 x64 (build 22000)
## 
## Matrix products: default
## 
## locale:
## [1] LC_COLLATE=English_United States.utf8 
## [2] LC_CTYPE=English_United States.utf8   
## [3] LC_MONETARY=English_United States.utf8
## [4] LC_NUMERIC=C                          
## [5] LC_TIME=English_United States.utf8    
## 
## attached base packages:
## [1] stats     graphics  grDevices utils     datasets  methods   base     
## 
## other attached packages:
## [1] calendR_1.1    showtext_0.9-5 showtextdb_3.0 sysfonts_0.8.8 ggplot2_3.3.6 
## [6] readr_2.1.2   
## 
## loaded via a namespace (and not attached):
##  [1] Rcpp_1.0.9         lubridate_1.8.0    assertthat_0.2.1   digest_0.6.29     
##  [5] utf8_1.2.2         R6_2.5.1           evaluate_0.15      highr_0.9         
##  [9] pillar_1.8.0       ggfun_0.0.6        yulab.utils_0.0.5  rlang_1.0.4       
## [13] data.table_1.14.2  rstudioapi_0.13    jquerylib_0.1.4    magick_2.7.3      
## [17] rmarkdown_2.14     labeling_0.4.2     stringr_1.4.0      bit_4.0.4         
## [21] munsell_0.5.0      compiler_4.2.1     xfun_0.31          pkgconfig_2.0.3   
## [25] gridGraphics_0.5-1 htmltools_0.5.3    tidyselect_1.1.2   tibble_3.1.8      
## [29] bookdown_0.28      codetools_0.2-18   fansi_1.0.3        crayon_1.5.1      
## [33] dplyr_1.0.9        tzdb_0.3.0         withr_2.5.0        grid_4.2.1        
## [37] jsonlite_1.8.0     gtable_0.3.0       lifecycle_1.0.1    DBI_1.1.3         
## [41] magrittr_2.0.3     scales_1.2.0       rmdformats_1.0.4   cli_3.3.0         
## [45] stringi_1.7.8      vroom_1.5.7        cachem_1.0.6       farver_2.1.1      
## [49] bslib_0.4.0        ellipsis_0.3.2     generics_0.1.3     vctrs_0.4.1       
## [53] tools_4.2.1        forcats_0.5.1      gggibbous_0.1.1    bit64_4.0.5       
## [57] ggplotify_0.1.0    glue_1.6.2         purrr_0.3.4        hms_1.1.1         
## [61] parallel_4.2.1     fastmap_1.1.0      yaml_2.3.5         colorspace_2.0-3  
## [65] ggimage_0.3.1      knitr_1.39         suncalc_0.5.0      sass_0.4.2