update Rd file
add example code to Rd file