Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Library: xplore
See also: readcsv read write readm readascii

Quantlet: readcsvm
Description: readcsvm reads mixed data from the csv file

Usage: z=readcsvm(filename{,separators})
Input:
filename name of file
separators string that contains the data separator in the file (default=";")
Output:
z.type (p+q) vector types of columns in file
z.double n x p matrix numerical vectors
z.text n x q matrix text vectors

Note:

Example:

library("xplore")

readcsvm("example.csv")

Result:

Contents of out.type

[1,]        1

[2,]        0

[3,]        1

Contents of out.double

[1,]      5.4

[2,]      4.6

[3,]     +NAN

Contents of out.text

[1,] "hallo" "john"

[2,] "" " "

[3,] "hi" "george"


Library: xplore
See also: readcsv read write readm readascii

Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Author: MB 000831
(C) MD*TECH Method and Data Technologies, 21.9.2000