Skip to content

Commit 6dbfa56

Browse files
author
Flavio
committed
fix to cran
1 parent 3e3cea8 commit 6dbfa56

56 files changed

Lines changed: 75 additions & 104 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
Package: inti
22
Type: Package
3-
Version: 0.4.2
3+
Version: 0.4.3
44
Title: Tools and Statistical Procedures in Plant Science
55
Description: The 'inti' package is part of the 'inkaverse' project for developing
66
different procedures and tools used in plant science and experimental designs.
77
The mean aim of the package is to support researchers during the planning of
88
experiments and data collection (tarpuy()), data analysis and graphics (yupana())
99
, and technical writing.
1010
Learn more about the 'inkaverse' project at <https://inkaverse.com/>.
11-
Date: 2021-09-07
11+
Date: 2021-09-08
1212
Authors@R: person("Flavio", "Lozano-Isla", email = "flavjack@gmail.com",
1313
role = c("aut", "cre"), comment = c(ORCID = "0000-0002-0714-669X"))
1414
URL: https://inkaverse.com/, https://github.com/flavjack/inti

R/plot_raw.R

Lines changed: 9 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -38,26 +38,17 @@
3838
#' \dontrun{
3939
#'
4040
#' library(inti)
41-
#' library(gsheet)
4241
#'
43-
#' url <- paste0("https://docs.google.com/spreadsheets/d/"
44-
#' , "1D1KYc5FMTHow_PpW6ijravmkF_z9zES8Incfroi-Tc4/edit#gid=1336259432")
45-
#' # browseURL(url)
46-
#'
47-
#' fb <- gsheet2tbl(url)
42+
#' fb <- potato
4843
#'
4944
#' fb %>%
50-
#' plot_raw(type = "sca"
51-
#' , x = "elt_test"
52-
#' , y = "tam_test"
53-
#' , group = "testiculo"
45+
#' plot_raw(type = "box"
46+
#' , x = "geno"
47+
#' , y = "twue"
48+
#' , group = "treat"
5449
#' , color = T
55-
#' , ylimits = c(0, 1500, 300)
56-
#' , linetype = 2
57-
#' , glab = "testiculo (cm^3)"
58-
#' ) +
59-
#' ggpmisc::stat_poly_eq(aes(label = paste(stat(eq.label), stat(adj.rr.label), sep = "*\", \"*")))
60-
#'
50+
#' )
51+
#'
6152
#' }
6253
#'
6354

@@ -82,9 +73,7 @@ plot_raw <- function(data
8273

8374
# -------------------------------------------------------------------------
8475

85-
type <- match.arg(type, c(
86-
"boxplot", "scatterplot"
87-
))
76+
type <- match.arg(type, c("boxplot", "scatterplot"))
8877

8978
# -------------------------------------------------------------------------
9079

@@ -161,7 +150,7 @@ if ( !is.null(glab) ) {
161150
if(type == "boxplot") {
162151

163152
plotdt <- data %>%
164-
mutate(across(c({{x}}, {{group}}), as.factor))
153+
mutate(across(c({{x}}, {{group}}), as.factor))
165154

166155
type <- plotdt %>%
167156
ggplot(., aes(x = .data[[x]]

docs/404.html

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/LICENSE-text.html

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/articles/apps.html

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
-14 Bytes
Loading
116 Bytes
Loading
34 Bytes
Loading
694 Bytes
Loading
-37 Bytes
Loading

0 commit comments

Comments
 (0)