File: utils-split.Rd

package info (click to toggle)
fimport 3042.85-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 996 kB
  • sloc: makefile: 2
file content (55 lines) | stat: -rw-r--r-- 933 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
\name{utils-split}


\alias{charvecSplit}
\alias{dataSplit}
\alias{stringSplit}


\title{Splitting Downloaded Data Sets}


\description{

    Helpful data set and charvec splitting utilities. 
    
}


\usage{
dataSplit(x, split=" ", col=-1)
charvecSplit(x, split=" ", col=1, format="\%F")
stringSplit(x, split=" ", col=NULL) 
}


\arguments{

    \item{x}{
        character vector to be splitted. 
    }
    \item{split}{
        the split character, by default a blank.
    }
    \item{col}{
        an integer value or vector, the columns to be selected.
    }
    \item{format}{
        the date format of the character vector, by default
        the ISO-8601 date format.
    }
}


\references{

Diethelm Wuertz, Yohan Chalabi, and Andrew Ellis, (2010);
    \emph{Financial Market Data for R/Rmetrics}, 
    Rmetrics eBook, Rmetrics Association and Finance Online, Zurich,
    www.rmetrics.org.
    
}


\keyword{programming}