Re: [R] error: Error in if (any(DF[A, ] != DF[B, ])) { : missing value where TRUE/FALSE needed

2020-04-04 Thread Eric Berger
Hi Orlando, This is not a reproducible example because of the line MyGraphData <- read.graph ( file = "0.edges" , directed = FALSE ) We don't have the file "0.edges" . But here's an example that reproduces the error message. Maybe it will help you find your problem. DF <- data.frame( x=NA, y=5

Re: [R] a simple reshape

2020-04-04 Thread Yuan Chun Ding
Hi Deepayan, Thank you very much!! Yes, your method also works very well, I thought about creating an extra time variable, but did not know how to do it. Ding From: Deepayan Sarkar [deepayan.sar...@gmail.com] Sent: Saturday, April 4, 2020 3:10 AM To:

Re: [R] MAP HELP

2020-04-04 Thread Jim Lemon
Hi Anjaly, Here is a very simple way to plot something like this. There are many ways to do this and of course easier ways to automate the placement of the points and labels. library(maps) library(plotrix) map("world",xlim=c(13.548932,53.407331),ylim=c(70.824046,78.764113)) box()

Re: [R] MAP HELP

2020-04-04 Thread Erin Hodgess
Hi! What kind of a map are you looking for? Google Earth, Open Street map or something else, please? Is your data in a data frame? Thanks, Erin On Sat, Apr 4, 2020 at 2:10 PM anjaly menon wrote: > Hello, > > I have a dataset with latitude, longitude, station serial numbers of my > fish

[R] [R-pkgs] simhelpers: Helper Functions for Simulation Studies

2020-04-04 Thread Megha Joshi
Hi :) Hope you are doing well! I have been working on an R package that has helper functions for simulation studies. First version of the package is on CRAN now 邏 Here is the website for the package: https://meghapsimatrix.github.io/simhelpers/index.html Hope it is useful to you for running

[R] MAP HELP

2020-04-04 Thread anjaly menon
Hello, I have a dataset with latitude, longitude, station serial numbers of my fish samples collected from the Barents Sea. I need to plot out from where the samples are coming from using the latitude and longitude and the range of body sizes (length of fishes) using R. I installed packages like

[R] error: Error in if (any(DF[A, ] != DF[B, ])) { : missing value where TRUE/FALSE needed

2020-04-04 Thread Orlando Ramirez via R-help
Hello this is my code and then i show you the result...please how i reapir this error...thanks lot off library(igraph) # # Lecture du fichier 0. edges MyGraphData <- read.graph ( file = "0.edges" , directed = FALSE ) # Nombre de noeuds dans le

Re: [R] a simple reshape

2020-04-04 Thread Deepayan Sarkar
Hi, [For a non-tidyverse solution:] Your problem is ambiguous without a 'time' variable; e.g., why should the answer not be test2 <- data.frame(vntr1=c("v1","v2"), a1 =c(NA, 0.5693), a2 = c(0.02, 0.12), a3 =c(NA, 0.11),