R: Data on Effects of Air Pollution on Interpersonal Attraction
Ex4.4
R Documentation
Data on Effects of Air Pollution on Interpersonal Attraction
Description
The Ex4.4 data frame has 24 rows and 3 columns.
An experiment was conducted to examine the effects of air pollution
on interpersonal attraction. Twenty-four subjects were each placed
with a stranger for a 15-minute period in a room which was either
odor free or contaminated with ammonium sulfide. The stranger came
from a culture which was similar or dissimilar to that of the subject.
At the end of the encounter, each subject was asked to assess his degree
of attraction towards the stranger on a likert scale of 1–10 with
10 indicating strong attraction.
Usage
data(Ex4.4)
Format
This data frame contains the following columns:
Likert
a numeric vector, attraction on a likert scale.
Odor
a factor with levels
FreeOdor, room was contaminated or not.
Culture
a factor with levels
DissimilarSimilar, similar or dissimilar culture.
Source
The full data set is given in Srivastava and Carter (1983).
Examples
data(Ex4.4)
summary(Ex4.4)
plot(Ex4.4)
Results
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(SenSrivastava)
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/SenSrivastava/Ex4.4.Rd_%03d_medium.png", width=480, height=480)
> ### Name: Ex4.4
> ### Title: Data on Effects of Air Pollution on Interpersonal Attraction
> ### Aliases: Ex4.4
> ### Keywords: datasets
>
> ### ** Examples
>
> data(Ex4.4)
> summary(Ex4.4)
Likert Odor Culture
Min. : 1.000 Free:12 Dissimilar:12
1st Qu.: 2.000 Odor:12 Similar :12
Median : 3.500
Mean : 4.833
3rd Qu.: 7.250
Max. :10.000
> plot(Ex4.4)
>
>
>
>
>
> dev.off()
null device
1
>