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 R package survival fits and plots survival curves using R base graphs. There are also several R packages/functions for drawing survival curves using ggplot2 system: ggsurv () function in GGally R package autoplot () function ggfortify R package These packages/functions are limited:
popEpi source: R/incidence_rates.R - R Package Documentation
WebMarginal E ects for Generalized Linear Models: The mfx Package for R Alan Fernihough Queen’s University Belfast Abstract mfx is an R package which provides functions that estimate a number of popular gen- 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 … phms track 4
10 Popular & Best R Packages for Data Science & Analysis
Webincidence2 {incidence2} is an R package that implements functions and classes to compute, handle and visualise incidence from linelist data. It refocusses the scope of the original package. Unlike the original package, {incidence2} concentrates only on the initial calculation, manipulation and plotting of the resultant incidence objects. Installing the … WebMar 31, 2024 · incidence () calculates event the incidence of different events across specified time periods and groupings. Usage incidence ( x, date_index, groups = NULL, counts = NULL, count_names_to = "count_variable", count_values_to = "count", date_names_to = "date_index", rm_na_dates = TRUE, interval = NULL, offset = NULL, ... ) … WebNov 15, 2024 · Packages for time series analysis: For analyzing time series data – i.e., where the data has been collected over a period of time, e.g., the hourly temperature and … tsunyane primary school