Functions used to visualize the networks make use ggplot2. It would be great to interact with its functionalities when calling the refnet functions.
I could not get these to work, see error messages (and some analysis on them) below.
[x] Error in plot_addresses_country(PeerJ_2018_2_georef, filename_root = "./output/PeerJ_2018_2") :
unused argument (filename_root = "./output/PeerJ_2018_2") args(plot_addresses_country)
function (data, mapRegion = "world") -> so no argument for filename_root as in documentation
[x] Error in rworldmap::joinCountryData2Map(country_name_table, joinCode = "NAME", :
your chosen nameJoinColumn :'country_name' seems not to exist in your data, columns = Freq
[x] plot_addresses_points: also no argument for filename_root as in documentation
[x] Example from plot_net_coauthor() is incorrect:
plot_addresses_points <- plot_addresses_points(data, filename_root="./output/example")
[x] plot_net_coauthor_2 <- plot_net_coauthor(PeerJ_2018_2_georef)
Error in data[!is.na(data$country), ] : incorrect number of dimensions
[x] plot_net_country_2 <- plot_net_country(PeerJ_2018_2_georef)
Error in data[!is.na(data$country), ] : incorrect number of dimensions args(plot_net_country)
function (data, line_resolution = 10, mapRegion = "world")
-> so no argument for filename_root as in documentation
[x] Error in plot_net_addresses(PeerJ_2018_2_georef) : could not find function "plot_net_addresses"
Functions used to visualize the networks make use ggplot2. It would be great to interact with its functionalities when calling the refnet functions.
I could not get these to work, see error messages (and some analysis on them) below.
[x] Error in plot_addresses_country(PeerJ_2018_2_georef, filename_root = "./output/PeerJ_2018_2") : unused argument (filename_root = "./output/PeerJ_2018_2") args(plot_addresses_country) function (data, mapRegion = "world") -> so no argument for filename_root as in documentation
[x] Error in rworldmap::joinCountryData2Map(country_name_table, joinCode = "NAME", : your chosen nameJoinColumn :'country_name' seems not to exist in your data, columns = Freq
[x] plot_addresses_points: also no argument for filename_root as in documentation
[x] Example from plot_net_coauthor() is incorrect: plot_addresses_points <- plot_addresses_points(data, filename_root="./output/example")
[x] plot_net_coauthor_2 <- plot_net_coauthor(PeerJ_2018_2_georef) Error in data[!is.na(data$country), ] : incorrect number of dimensions
[x] Error in plot_net_addresses(PeerJ_2018_2_georef) : could not find function "plot_net_addresses"