Skip to content

OneTwoSamples

Deal with One and Two (Normal) Samples

v1.3-0 · Jun 6, 2026 · GPL (>= 2)

Description

We introduce an R function one_two_sample() which can deal with one and two (normal) samples, Ying-Ying Zhang, Yi Wei (2012) <doi:10.2991/asshm-13.2013.29>. For one normal sample x, the function reports descriptive statistics, plot, interval estimation and test of hypothesis of x. For two normal samples x and y, the function reports descriptive statistics, plot, interval estimation and test of hypothesis of x and y, respectively. It also reports interval estimation and test of hypothesis of mu1-mu2 (the difference of the means of x and y) and sigma1^2 / sigma2^2 (the ratio of the variances of x and y), tests whether x and y are from the same population, finds the correlation coefficient of x and y if x and y have the same length.

Downloads

620

Last 30 days

5178th

2.2K

Last 90 days

8.5K

Last year

Trend: -12.6% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 7, 2026
WARNING 12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Jun 4, 2026
WARNING r-devel-linux-x86_64-fedora-gcc

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building ‘OneTwoSamples.Rnw’ using Sweave
data_outline           package:OneTwoSamples           R Documentation

_C_o_m_p_u_t_e _v_a_r_i_o_u_s _d_e_s_c_r_i_p_t_i_v_e _s_t_a_t_i_
...[truncated]...
nd{tabu}
                
!  ==> Fatal error occurred, no output PDF file produced!
--- failed re-building ‘OneTwoSamples.Rnw’

SUMMARY: processing the following file failed:
  ‘OneTwoSamples.Rnw’

Error: Vignette re-building failed.
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (1)

suggests

Dependency Network

Dependencies Reverse dependencies BioStatR OneTwoSamples

Version History

updated 1.3-0 ← 1.2-0 diff Jun 6, 2026
new 1.2-0 Mar 10, 2026
updated 1.2-0 ← 1.1-0 diff Sep 15, 2025
updated 1.1-0 ← 1.0-3 diff Mar 27, 2023
updated 1.0-3 ← 1.0-2 diff May 28, 2013
updated 1.0-2 ← 1.0-1 diff May 12, 2013
new 1.0-1 Apr 27, 2013