Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

export.variable.definitions

Exports Xpose variable definitions to a file from an Xpose data object.


Description

This function exports variable definitions for a specified Xpose data object to a file.

Usage

export.variable.definitions(object, file = "")

Arguments

object

An xpose.data object.

file

A file name as a string.

Details

This function exports variable definitions (contents of object@Prefs@Xvardef) for a given xpose.data object to a file, typically 'xpose.vardefs.ini'. Note that file format is not the same as used for graphics settings. It is a wrapper for the R function dput.

Value

Null.

Author(s)

Niclas Jonsson & Justin Wilkins

See Also

Examples

od = setwd(tempdir()) # move to a temp directory
(cur.files <- dir()) # current files in temp directory

export.variable.definitions(simpraz.xpdb,file="xpose.vardefs.ini")
(new.files <- dir()[!(dir() %in% cur.files)])  # what files are new here?

file.remove(new.files) # remove this file
setwd(od)  # restore working directory

xpose4

Diagnostics for Nonlinear Mixed-Effect Models

v4.7.1
LGPL (>= 3)
Authors
Andrew C. Hooker [aut, cre, cph], Mats O. Karlsson [aut, cph], Justin J. Wilkins [aut], E. Niclas Jonsson [aut, trl, cph], Ron Keizer [ctb] (functionality for bootstrap of GAM and SCM)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.