Learn R Programming

StakeholderAnalysis (version 1.2)

Histograms: Histograms

Description

Draws histograms of responses

Usage

Histograms(path, tofile, CountResponses)

Arguments

path

a path of a particular catalogue in which pictures are saved, set path="" when tofile=0

tofile

logical. 1=save-to-file. 0=show-on-screen

CountResponses

the result of the PrelCalc function

Value

Histograms

Histograms of responses

Details

The function draws histograms of responses

Examples

Run this code
# NOT RUN {
# first import DataExp
data(DataExp)
# then execute PrelCalc()
PrelCalcExp=PrelCalc(data=DataExp, NoAtt=c(2,11,13,15),NoPow=c(3,8,14,16),
NoUrg=c(4,6,10,12),NoLeg=c(5,7,9,17),NoBen=18:22,NoCos=23:27)
# Histograms()
Histograms(path="",tofile=0,CountResponses=PrelCalcExp$CountResponses)
# }

Run the code above in your browser using DataLab