-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME.Rmd
More file actions
89 lines (60 loc) · 2.4 KB
/
Copy pathREADME.Rmd
File metadata and controls
89 lines (60 loc) · 2.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
---
title: "Paketas **_pi_**"
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
<!-- # Package **_bio_** -->
```{r README-0, include=FALSE}
options(bio.local_list = TRUE)
options(
repos = "https://cran.rstudio.com/",
pkgType = "both",
install.packages.check.source = "yes",
install.packages.compile.from.source = "always"
)
Sys.setenv(R_REMOTES_NO_ERRORS_FROM_WARNINGS = "true")
```
<!-- badges: start -->
[`-brightgreen.svg)](https://github.com/mokymai/pi)
[](https://github.com/mokymai/pi/actions)
[)`-yellowgreen.svg)](/commits/master)
[](https://www.tidyverse.org/lifecycle/#experimental)
<!-- [](https://github.com/mokymai/pi/actions/workflows/R-CMD-check.yaml) -->
<!-- badges: end -->
<!-- [](https://github.com/mokymai/pi) -->
Patogumo funkcijos pasikliautiniesiems intervalams (PI) skaičiuoti.
Apie klaidas, stringtis bei pageidaujamus tobulinimus praneškite svetainėje https://github.com/mokymai/pi/issues.
Nurodykite jūsų naudojamą operacinę sistemą.
# Diegimas
Diegimas iš saugyklos, panašios į CRAN (rekomenduojama):
```{r README-1, eval=FALSE}
repos <- c("https://mokymai.github.io/download/", getOption("repos"))
install.packages("pi", repos = repos)
```
<details>
<summary>Diegti iš „GitHub“</summary>
Diegti iš „GitHub“:
```{r README-2, eval=FALSE}
if (!require(remotes)) install.packages("remotes")
remotes::install_github("mokymai/pi", dependencies = TRUE)
```
Pastaba! Norint įsidiegti iš „*GitHub*“ sistemai „*Windows*“ reikia įrankių „*RTools*“.
</details>
# Pavyzdžiai
```{r README-5, paged.print=FALSE, eval=FALSE}
pi::ci_binom(x = 20, n = 101)
```
Arba:
```{r README-6, paged.print=FALSE, eval=FALSE}
library(pi)
ci_binom(x = 20, n = 101)
```
```{r README-7, paged.print=FALSE, eval=FALSE}
library(tidyverse)
library(pi)
data(npk, package = "datasets")
head(npk)
npk |>
group_by(N, P, K) |>
ci_mean_t(yield)
```