Skip to content

Commit

Permalink
colorize
Browse files Browse the repository at this point in the history
  • Loading branch information
SeewooLi committed Jul 10, 2023
1 parent 0f09441 commit fcab395
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
7 changes: 1 addition & 6 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,7 @@ knitr::opts_chunk$set(
library(ggplot2)
colorize <- function(x, color) {
if (knitr::is_latex_output()) {
sprintf("\\textcolor{%s}{%s}", color, x)
} else if (knitr::is_html_output()) {
sprintf("<span style='color: %s;'>%s</span>", color,
x)
} else x
sprintf("\\textcolor{%s}{%s}", color, x)
}
```

Expand Down
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@ potential improvements.*
status](https://www.r-pkg.org/badges/version/IRTest)](https://CRAN.R-project.org/package=IRTest)
<!-- badges: end -->

**IRTest** is a useful tool for <span style="color: red;">IRT</span>
(item response theory) parameter <span
style="color: red;">est</span>imation, especially when the violation of
normality assumption on latent distribution is suspected.
**IRTest** is a useful tool for (item response theory) parameter
imation, especially when the violation of normality assumption on latent
distribution is suspected.
**IRTest** deals with uni-dimensional latent variable.
In **IRTest**, including the conventional assumption of normality on
latent distribution, several methods can be applied for estimation of
Expand Down

0 comments on commit fcab395

Please sign in to comment.