WebMay 14, 2024 · 3 Answers. Sorted by: 5. We can do a group by summarise into a list and then unnest the list components into separate columns. library (tidyverse) df %>% group_by (time,age, ethnic, gender) %>% summarise (age_adjust = list (ageadjust.direct (count = count, pop = pop, rate = rate, stdpop = weight))) %>% mutate (age_adjust = map … WebThe design effect is used to adjust the confidence interval around a prevalence or incidence risk estimate in the presence of clustering. The design effect is a measure of the variability between clusters and is calculated as the ratio of the variance calculated assuming a complex sample design divided by the variance calculated assuming simple ...
incidence2 source: R/incidence.R - rdrr.io
WebNov 3, 2024 · incidence implements functions and classes to compute, handle, visualise and model incidences from dates data. This vignette provides an overview of current features. It largely reproduces the content of REAME.md. Installing the package To install the current stable, CRAN version of the package, type: install.packages("incidence") Webincidence2-defunct: Functions now defunct in package incidence2; incidence2-package: incidence2: Compute, Handle and Plot Incidence of Dated... keep: Keep first, last and peak occurences; palettes: Color palettes used in incidence; plot.incidence2: Plot an incidence object; print.incidence2: Print an incidence object. regroup: Regroup ... townsend realty clinton mo
10 Popular & Best R Packages for Data Science & Analysis
WebViewed 4k times. Part of R Language Collective. 4. I would like to create a incidence matrix using R. I have a file with 3 column, like: # id x y # 1 A 22 2 # 2 B 4 21 # 3 C 21 360 # 4 D 26 2 # 5 E 22 58 # 6 F 2 347. And I want a matrix like (without col and row names): WebNov 4, 2016 · incidence package - RDocumentation incidence (version 1.7.3) Compute, Handle, Plot and Model Incidence of Dated Events Description Provides functions and classes to compute, handle and visualise incidence from dated events for a defined time interval. Dates can be provided in various standard formats. WebIncidence data, excluding zeros, can be modelled using log-linear regression of the form: log(y) = r x t + b. where y is the incidence, r is the growth rate, t is the number of days since a specific point in time (typically the start of the outbreak), and b is the intercept. Such model can be fitted to any incidence object using fit. Of course ... townsend real estate