Learn R Programming

ProfessR (version 2.3)

ridNA: Replace NA with somehting else

Description

Replace NA with somehting else

Usage

ridNA(z, temp)

Arguments

z
vector
temp
replacement

Value

Examples

Run this code

z = 1:10
z[z>8] = NA

ridNA(z, 0)



Run the code above in your browser using DataLab