Learn R Programming

LMest (version 4.0.1)

data_heart_sim: Health dataset

Description

Simulated longitudinal dataset coming from a medical study to assess the health state progression of patients after a certain treatment.

Usage

data(data_heart_sim)

Arguments

Format

A data frame referred to 125 units observed at 6 time occasions on the following variables:

id

subject id

time

occasion of observation

sap

systolic arterial pressure in mmHg

dap

diastolic arterial pressure in mmHg

hr

heart rate in bpm

fluid

fluid administration in ml/kg/h

gender

1 for male, 2 for female patients

age

age in years

References

Pennoni, F., Pandolfi, S. and Bartolucci, F. (2025). LMest: An R Package for Estimating Generalized Latent Markov Models, The R Journal, 16(4) 74-101.

Examples

Run this code
data(data_heart_sim)

Run the code above in your browser using DataLab