# Convert vp object to a data.frame
vp_df <- as.data.frame(example_vp)
# Print data.frame
vp_df
# Convert vpts object to a data.frame
vpts_df <- as.data.frame(example_vpts)
# Print the first 5 rows of the data.frame
vpts_df[1:5, ]
# Do not add lat/lon/height_antenna information
vpts_df <- as.data.frame(example_vpts, geo = FALSE)
# Do not add day/sunrise/sunset information
vpts_df <- as.data.frame(example_vpts, suntime = FALSE)
# Override the latitude/longitude information stored in the object when
# calculating sunrise/sunset information
vpts_df <- as.data.frame(example_vpts, lat = 50, lon = 4)
Run the code above in your browser using DataLab