statistics - R - cut a vector -
i have 503 datapoints , want cut away last 250 253.
i tried cut ,but these function gives me groups back...
how can in r?
simply do:
# generate values vals <- rnorm(503) # take first 253 result <- vals[1:253] i have 503 datapoints , want cut away last 250 253.
i tried cut ,but these function gives me groups back...
how can in r?
simply do:
# generate values vals <- rnorm(503) # take first 253 result <- vals[1:253]
Comments
Post a Comment