Git Product home page Git Product logo

traitmatch's Introduction

I am a researcher working at EBD-CSIC (Doñana Biological Station), Seville. I am a community ecologist broadly interested in understanding how global change drivers impact community structure and composition, and how those impacts translate to the ecosystem functioning. I am increasingly interested in ecological theory and how to apply it to conservation problems. I like to work with plant-pollinator communities because they show complex responses to land use change, climate warming or biological invasions, and encapsulate a critical ecosystem function, pollination.

traitmatch's People

Contributors

dominiquegravel avatar ibartomeus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

traitmatch's Issues

Installation Error

Hello!

Your installation devtools is outdated, looks like version 1.6, the username parameter is deprecated. Its now:

devtools::install_github("ibartomeus/traitmatch")

I'm getting an installation error

devtools::install_github("ibartomeus/traitmatch")
Downloading GitHub repo ibartomeus/traitmatch@master
Installing traitmatch
Skipping 1 packages not available: knitr
GenSA
"C:/PROGRA~1/R/R-32~1.3/bin/x64/R" --no-site-file --no-environ --no-save --no-restore CMD INSTALL  \
  "C:/Users/Ben/AppData/Local/Temp/RtmpW6LVf0/devtools35a8135648c6/ibartomeus-traitmatch-6c593fb"  \
  --library="C:/Users/Ben/Documents/R/win-library/3.2" --install-tests 

* installing *source* package 'traitmatch' ...
Error : Invalid DESCRIPTION file

Malformed Depends or Suggests or Imports or Enhances field.
Offending entries:
  knitr
GenSA
Entries must be names of packages optionally followed by '<=' or '>=',
white space, and a valid version number in parentheses.

See section 'The DESCRIPTION file' in the 'Writing R Extensions'
manual.

ERROR: installing package DESCRIPTION failed for package 'traitmatch'
* removing 'C:/Users/Ben/Documents/R/win-library/3.2/traitmatch'
Error: Command failed (1)

I believe you are missing a comma, between knitr and GenSA packages, such that its looking for a package "Knitr GenSA"

Please correct this so I am able to download the package.

Neutral model error

Your par defaults are offset in your readme.Rmd

lh_neutral <- -neutral_model(MPrey, MPred, mean(MPrey), sd(MPrey))
Error in dnorm(x = Tlevel1, mean = mean_Tlevel1, sd = sd_Tlevel1) : 
  argument "sd_Tlevel1" is missing, with no default
In addition: Warning message:
In neutral_model(MPrey, MPred, mean(MPrey), sd(MPrey)) :
  The neutral_model function does not use the content of the argument pars

I believe you have misordered your arguments. Labeling them explictely works.

> lh_neutral <- -neutral_model( Tlevel1=MPrey, Tlevel2=MPred, mean_Tlevel1=mean(MPrey), sd_Tlevel1=sd(MPrey))
> lh_neutral
[1] -40884.19

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.