Skip to content

Copenhagen: Improve documentation for median() #18

@JoaodcPires

Description

@JoaodcPires

For the section:
# Median incubation time: med_incubation <- median(linelist$incubation, na.rm = TRUE)

Add documentation on ?median. Explain that my default, the function median does not remove missing values na.rm = FALSE. This would result that the median would return a NA value. Thus we need to specify na.rm = TRUE

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions