Skip to content
Prev 389180 / 398506 Next

How to remove all rows that have a numeric in the first (or any) column

An atomic column of data by design has exactly one mode, so if _any_ values are non-numeric then the entire column will be non-numeric. What does

str(VPN_Sheet1$HVA)

tell you? It is likely either a factor or character data.
On September 14, 2021 7:01:53 PM PDT, Gregg Powell via R-help <r-help at r-project.org> wrote:
Message-ID: <68A11171-83D4-4EDB-B98A-154BBDDF447D@dcn.davis.ca.us>
In-Reply-To: <BKIgN44too4juT0O9jtdnxR_OTD1Lv28B0FB_2h8hR-ZmvAKtDa_s-U_mjfZeJzfAiQw5Er24aLme_rdK2Vf5xGdEwrXyD7mRrpGT66_okM=@protonmail.com>