dspl-methods: Print and summarize dspl objects

Description Usage Arguments Value Author(s) See Also Examples

Description

Methods to print and summarize dspl class objects

Usage

1
2
3
4
5
## S3 method for class 'dspl'
print(x, path = NULL, replace = FALSE, quiet = FALSE, ...)

## S3 method for class 'dspl'
summary(object, ...)

Arguments

x

An object of class dspl to be printed.

path

String. Output path where to save the XML DSPL file.

replace

Logical. If path exists, TRUE would replace the file.

quiet

Whether or not to print information on the screen

...

arguments passed on to cat (print.dspl)

object

An object of class dspl to be summarized.

Value

list("print.dspl")

None (invisible NULL).

list("summary.dspl")

Returns the class attributes and a list containing as defined by dspl function. For more information see its value section.

Author(s)

George G. Vega Yon

See Also

See also dspl

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
  ## Not run: 
    # Parsing some xlsx files at "my stats folder"
    mydspl <- dspl(path="my stats folder/")
    
    # Checking the summary of the data bundle
    summary(mydspl)
    
    # Writing the DSPL XML definition into a file
    outputfile <- tempfile()
    print(mydspl, path=outputfile)
    
  
## End(Not run)

gvegayon/googlePublicData documentation built on June 11, 2021, 11:44 a.m.