I was moving the following script:
library(tidyverse)
library(dplyr)
library(readxl)
cirurgia <- read_excel("C:/Users/Agnes/Desktop/Coisas com R/R/2_MIOMECTOMIA_HISTERECTOMIA-MAR_SET-2017.xlsx",
sheet = "Plan1",
col_types = c("text", "text", "numeric", "numeric", "numeric", "numeric", "numeric", "numeric", "numeric"))
View(cirurgia)
pretas <- cirurgia %>%
select(estado, PROCEDIMENTO, PRETA, PARDA, TOTAL) %>%
filter(PROCEDIMENTO == "HISTERECTOMIA TOTAL") %>%
View(pretas)
Error in View: invalid caption argument
What does this mean?