Commit 7ed011eb authored by khornik's avatar khornik
Browse files

last problem with example

parent e46e0e49
......@@ -177,7 +177,7 @@ air <- airquality[(!is.na(airquality$Temp) &
!is.na(airquality$Ozone) &
!is.na(airquality$Solar.R)),]
# gives an error:
air.ip <- interp(air$Temp,air$Solar.R,air$Ozone)
\dontrun{air.ip <- interp(air$Temp,air$Solar.R,air$Ozone)}
# use mean of duplicate points:
air.ip <- interp(air$Temp,air$Solar.R,air$Ozone,duplicate="mean")
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment