Learn R Programming

DataViz (version 0.2.8)

forcelayout: ~ Main function: forcelayout ~

Description

forcelayout method is a dynamic method showing longitudinal data set evolution.

Usage

forcelayout(schedule, webinteract, ttime)

Arguments

schedule

[numeric] or [integer]: A (non-empty) vector of data values.

webinteract

[bool]: Is the function used in interactive mode?

ttime

[string]: A (non-empty) time-unit value to fetch data from data.frame.

Examples

Run this code
# NOT RUN {
  if(interactive()){
    forcelayout(weekschedule)
  }
  if(!interactive()){
    forcelayout(weekschedule, webinteract = FALSE, ttime = "Monday")
  }
# }

Run the code above in your browser using DataLab