knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

drawsample

The goal of drawsample is to take sample/s data/s with desired properties.

Installation

You can install the development version of drawsample from GitHub with:

# install.packages("devtools")
devtools::install_github("atalay-k/drawsample")

Example

This is a basic example which shows you how to solve a common problem:

library(drawsample)
data(example_data)
# First 6 rows of the example_data
head(example_data)
# Draw a sample based on Score_1(from negatively skewed to normal)
output1 <- draw_sample(dist=example_data[,c(1,2)],n=200,skew = 0,kurts = 0,
save.output=FALSE) 


atalay-k/drawsample documentation built on Sept. 12, 2022, 11 a.m.