Learn R Programming

ProfessR (version 2.1)

ridNA: Replace NA with somehting else

Description

Replace NA with somehting else

Usage

ridNA(z, temp)

Arguments

z
vector
temp
replacement

Value

  • vector with NA's replaces

Examples

Run this code
z = 1:10
z[z>8] = NA

ridNA(z, 0)

Run the code above in your browser using DataLab