Skip to content

Commit 7054588

Browse files
authored
Merge pull request #8 from cjerzak/codex/fix-typos-in-package-documentation
Fix README typos
2 parents 9df0d50 + ec3c36d commit 7054588

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# `lpme`: R Package for Dealing with Latent Predictor Measurement Error Under Identification Restrictions
1+
# `lpme`: R Package for Dealing with Latent Predictor Measurement Error Under Identification Restrictions
22
[**Installation**](#installation)
33
| [**Key Functions**](#keyfxns)
44
| [**References**](#references)
@@ -22,7 +22,7 @@ devtools::install_github("cjerzak/lpme-software/lpme")
2222
```
2323
# Generate data
2424
Yobs <- rnorm(1000)
25-
ObservablesMat <- matrix(sample(c(0,1), 1000*10, replace = T), ncol = 10)
25+
ObservablesMat <- matrix(sample(c(0,1), 1000*10, replace = TRUE), ncol = 10)
2626
2727
# One run of latent error correction method
2828
lpme::lpme_onerun(Y = Yobs,
@@ -34,7 +34,7 @@ lpme::lpme_onerun(Y = Yobs,
3434
```
3535
# Generate data
3636
Yobs <- rnorm(1000)
37-
ObservablesMat <- matrix(sample(c(0,1), 1000*10, replace = T), ncol = 10)
37+
ObservablesMat <- matrix(sample(c(0,1), 1000*10, replace = TRUE), ncol = 10)
3838
3939
# Latent error correction method, with partitioning and bootstrap
4040
results <- lpme::lpme(

0 commit comments

Comments
 (0)