How do a cut a vector in R? Say I want to split a vector to two parts. One for everything less than 150 and other for everything greater than 150. I tried the cut function but it seems confusing.(adsbygoogle = window.adsbygoogle || []).push({});

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# How to cut a vector in R

Have something to add?

Draft saved
Draft deleted

Loading...

Similar Threads - vector | Date |
---|---|

Is it all in the angle? | Jan 3, 2018 |

Perceptron algorithm initial vector | Dec 28, 2017 |

Matrix times vector in Fortran | Jul 28, 2017 |

C/++/# Arrays/vectors without knowing type | Jun 19, 2017 |

C/++/# Error in inner product of vectors and index | May 12, 2016 |

**Physics Forums - The Fusion of Science and Community**