create.quadrant: Create categories according to the quadrant position of each...

View source: R/functions_analysis.r

create.quadrantR Documentation

Create categories according to the quadrant position of each individual

Description

Creates a vector from two dimensions from a soc.ca object. Labels are the cardinal directions with the first designated dimension running East - West. The center category is a circle defined by cut.radius.

Usage

create.quadrant(
  object,
  dim = c(1, 2),
  cut.min = -0.125,
  cut.max = 0.125,
  cut.radius = 0.25
)

Arguments

object

a soc.ca class object

dim

the dimensions

cut.min

Minimum cut value

cut.max

Maximum cut value

cut.radius

Radius of the center category

Value

Returns a character vector with category memberships

See Also

soc.mca

Examples

example(soc.ca)
create.quadrant(result, dim = c(2, 1))
table(create.quadrant(result, dim = c(1, 3), cut.radius = 0.5))


Rsoc/soc.ca documentation built on March 7, 2024, 8:59 p.m.