Skip to content

Commit

Permalink
update site
Browse files Browse the repository at this point in the history
  • Loading branch information
spsanderson committed Jan 20, 2022
1 parent 1fe8c77 commit f942470
Show file tree
Hide file tree
Showing 16 changed files with 140 additions and 137 deletions.
5 changes: 4 additions & 1 deletion R/autoplot-density.R
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ tidy_autoplot <- function(.data, .plot_type = "density", .line_size = .5, .point
if(!attributes(.data)$tibble_type %in% c(
"tidy_gaussian", "tidy_poisson","tidy_gamma","tidy_beta","tidy_f",
"tidy_hypergeometric","tidy_lognormal","tidy_cauchy","tidy_chisquare",
"tidy_weibull","tidy_uniform","tidy_logistic","tidy_exponential"
"tidy_weibull","tidy_uniform","tidy_logistic","tidy_exponential",
"tidy_empirical"
)){
rlang::abort("The data passed must come from a `tidy_` distribution function.")
}
Expand Down Expand Up @@ -119,6 +120,8 @@ tidy_autoplot <- function(.data, .plot_type = "density", .line_size = .5, .point
paste0("Location: ", atb$.location, " - Scale: ", atb$.scale)
} else if(atb$tibble_type == "tidy_exponential"){
paste0("Rate: ", atb$.rate)
} else if(atb$tibble_type == "tidy_empirical"){
paste0("Empirical - No params")
}
)

Expand Down
2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ pkgdown: 2.0.2
pkgdown_sha: ~
articles:
getting-started: getting-started.html
last_built: 2022-01-20T12:57Z
last_built: 2022-01-20T14:34Z

Binary file modified docs/reference/tidy_autoplot-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 10 additions & 10 deletions docs/reference/tidy_beta.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 12 additions & 12 deletions docs/reference/tidy_cauchy.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f942470

Please sign in to comment.