write.sav: write.sav

Description Usage Arguments Details Value

View source: R/writesav.R

Description

Function to write an SPSS sav file from a data.frame().

Usage

1
2
write.sav(dat, filepath, label, add.rownames = FALSE, compress = FALSE,
  convert.dates = TRUE, tz = "GMT")

Arguments

dat

data.frame a dat.aframe to strore as sav-file.

filepath

string full path where and how this file should be stored

label

character if any provided this must be a vector of labels. It must be of size 'ncol(dat)'

add.rownames

logical. If TRUE, a new variable rownames will be added to the por-file.

compress

logical should compression be used. If TRUE some integers will be stored more efficiently. Everything will be stored in chunks of 8 chars. Reduces memory size of sav-file.

convert.dates

logical should dates be converted to SPSS format

tz

character. The name of the timezone convert.dates will use.

Details

Strings longer than 255 chars are not provided.

Value

readspss returns nothing


JanMarvin/readspss documentation built on Dec. 7, 2018, 9:11 p.m.