R/read_velocities.R

Defines functions read_velocities

Documented in read_velocities

# File read.velocities.R
# Part of the hydroPSO R package, http://www.rforge.net/hydroPSO/ ; 
#                                 http://cran.r-project.org/web/packages/hydroPSO
# Copyright 2011-2012 Mauricio Zambrano-Bigairini & Rodrigo Rojas
# Distributed under GPL 2 or later

################################################################################
#                         'read_velocities'                                    # 
# Author : Mauricio Zambrano-Bigiarini & Rodrigo Rojas                         #  
# Started: 08-Nov-2011,                                                        #
# Updates:                                                                     #        
################################################################################
 
                      
read_velocities <- function(file="Velocities.txt", ... ) {
                         
   out <- read_particles(file=file,...)   
   names(out) <- c("velocities", "gofs", "best.velocity", "best.gof")   
   return(out)
  
}  # 'read_velocities' END

Try the hydroPSO package in your browser

Any scripts or data that you put into this service are public.

hydroPSO documentation built on April 29, 2020, 9:37 a.m.