R/pad.spaces.R

Defines functions pad.spaces

################################################################################
# pad.spaces returns a string containing the number of spaces given as an 
# argument.
# Author: Alexis Dinno
# Date: May 20, 2026
# Takes: A single positive integer
pad.spaces <- function(n) {
  n <- max(0, n)
  return(paste0(rep(" ",n),collapse=""))
  }

Try the conover.test package in your browser

Any scripts or data that you put into this service are public.

conover.test documentation built on Oct. 5, 2026, 1:06 a.m.