get_r_samples_from_population_data: Calculate a number of sample correlations based on a...

View source: R/samplingFunctions_r.R

get_r_samples_from_population_dataR Documentation

Calculate a number of sample correlations based on a specified population correlation

Description

Calculate a number of sample correlations based on a specified population correlation

Usage

get_r_samples_from_population_data(
  data = NA,
  n,
  number.of.samples = 10,
  number.of.decimals = 2
)

Arguments

data

Population data - first two columns used for population correlation rho.

n

Sample size for all samples (range of sample size if two specified)

number.of.samples

Number of samples to obtain

number.of.decimals

Number of decimals to report in returned data frame

Value

Data frame with sample correlations


dstanley4/learnSampling documentation built on Aug. 30, 2023, 12:59 a.m.