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 |
colClass_as
colClass_as(data, type)
colClass_as(data, type)
data |
data.frame only. The dataset to be modified |
type |
Vector of strings. Only four class are supported c("logical","numeric","factor","character") |
data.frame.
if (interactive()) { # Launch with built-in PK data set: colClass_as(PK,c("character","numeric","factor","character")) }
if (interactive()) { # Launch with built-in PK data set: colClass_as(PK,c("character","numeric","factor","character")) }
guiplot
guiplot(..., out_dir = getwd())
guiplot(..., out_dir = getwd())
... |
Matrix or data frame |
out_dir |
The storage path of the output picture, recommend 'out_dir=getwd()' |
Export files(png and pdf of plot) to a temporary directory, or user-defined folders.
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)
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)