knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
library(pulso2)
Para estos ejemplos se utilizara una base aleatoria de un estudio realizado por Pulso PUCP el cual nos permitira mostrar la manera en que se puede utilizar el paquete pulso
#library(pulso2) #importar base de datos data_prueba_ruta <- system.file("data_prueba.sav", package = "pulso2") data_prueba <- haven::read_sav(data_prueba_ruta) #aplicar funcion data_prueba |> barra_simple(gedad, ordenado=FALSE)
my_median(1:12) # Example with your dataset in "inst/" datafile <- system.file("nyc_squirrels_sample.csv", package = "pulso2") nyc_squirrels <- read.csv(datafile) # Apply my function my_median(nyc_squirrels[,"hectare_squirrel_number"])
my_other_median(1:12)
You're one inflate from paper to box.
Build your package from this very Rmd using fusen::inflate()
"DESCRIPTION"
file has been updated"R/"
directory"tests/testthat/"
directory"vignettes/"
directoryAdd the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.