uemFormatC: uemFormatC

uemFormatCR Documentation

uemFormatC

Description

Computes export-ready format for a character vector of frecuencies, p-values and Odds Ratios.

Usage

uemFormatC(x)

Arguments

x

input data can be a character vector of integers, p-values or an Odds Ratio point estimation.

estimate

Use in case x is an Odds Ratio.

...

further arguments passed to or from other methods.

Value

A character vector.

Examples


## p-values

p.values <- c(.1,.5,.99,1)
uemFormatC(p.values)

## Frequency

uemFormatC(1:5, digits=3)

## Odds Ratio

OR <- 2
lower.limit <- 1.5
upper.limit <- 3.8

uemFormatC(OR, lower = lower.limit, upper = upper.limit, estimate = T)


douve/UEMR documentation built on Aug. 28, 2023, 2:30 p.m.