Showmost: Showmost

Description Usage Arguments Author(s) References Examples

View source: R/Showinfo.R

Description

dataframe that shows the most people from a certain place

Usage

1

Arguments

data

Author(s)

aaa

References

www.google.it

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (data)
{
    data <- system.file("extdata", "Data.csv", package = "nation")
    x <- read.csv(data)
    y <- c("COUNTRIES", "Number", "cont", "perc")
    names(x) <- y
    res <- subset(x, Number == max(Number))
    return(res)
  }

unimi-dse/a903d60e documentation built on Feb. 3, 2020, 8:11 p.m.