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] 

Comments

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

Pull out data related to my apps from Android Play Store and iOS App Store -

How can I fetch data from a web server in an android application? -