Package 'guiplot'

Title: User-Friendly GUI Plotting Tools
Description: Create a user-friendly plotting GUI for 'R'. In addition, one purpose of creating the 'R' package is to facilitate third-party software to call 'R' for drawing, for example, 'Phoenix WinNonlin' software calls 'R' to draw the drug concentration versus time curve.
Authors: Fu Yongchao [aut, cre, cph]
Maintainer: Fu Yongchao <[email protected]>
License: MIT + file LICENSE
Version: 0.5.1
Built: 2024-11-09 04:53:36 UTC
Source: https://github.com/s0521/guiplot

Help Index


colClass_as

Description

colClass_as

Usage

colClass_as(data, type)

Arguments

data

data.frame only. The dataset to be modified

type

Vector of strings. Only four class are supported c("logical","numeric","factor","character")

Value

data.frame.

Examples

if (interactive()) {
# Launch with built-in PK data set:
colClass_as(PK,c("character","numeric","factor","character"))
}

guiplot

Description

guiplot

Usage

guiplot(..., out_dir = getwd())

Arguments

...

Matrix or data frame

out_dir

The storage path of the output picture, recommend 'out_dir=getwd()'

Value

Export files(png and pdf of plot) to a temporary directory, or user-defined folders.

Examples

if (interactive()) {
# Launch with built-in PK data set:
guiplot(PK)
}

## Not run: 
# Launch with memory-in data set:
guiplot()

# Launch with memory-in data set, and output plot to user-defined folders:
guiplot(PK,out_dir= Any_directory_you_want_to_export)


## End(Not run)

somedata

Description

used to demo of this package