r remove row with certain value code example
Example 1: r remove inf values
df <- df[!is.infinite(rowSums(df)),]
Example 2: remove rownumbers r
rownames(data) <- c()
df <- df[!is.infinite(rowSums(df)),]
rownames(data) <- c()