gillnets/gillnetfit error: Non-numeric argument… invalid type (list) for variable…





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















When I run the code I get the error:




Error in lens * msizes : non-numeric argument to binary operator.




Here are links to an overview of the code package I am using and the actual code (Function for gillnet data analyses code only): https://www.stat.auckland.ac.nz/~millar/selectware/R/gillnets/gillnetfunctions.pdf (overview), https://www.stat.auckland.ac.nz/~millar/selectware/R/gillnets/gillnetfunctions.R (code I am using).



Below is the data set, The first column must contain the length classes. The second and subsequent columns contain the numbers caught in the different sized meshes used. These columns are in order of increasing mesh size. Next comes the code for vector data for the mesh sizes. Then my actual code for the function. Packages active while running are magrittr, dplyr, tidyr, plotrix, lattice, FSA, tidyverse, glm2, and msm. After completing the gillnetfit function I run the equation below and it returns this error:




Error in lens * msizes : non-numeric argument to binary operator.




I have used multiple equations from the overview page, it returns the same error



Data set (AKA svcp2 in the input code):



svcp2 <- structure(list(Length_bin = c(450L, 575L, 600L, 625L, 650L, 675L, 
700L, 725L, 750L, 775L, 800L, 825L, 850L, 875L, 900L, 925L, 950L,
975L, 1000L, 1025L, 1050L, 1150L), X3.00 = c(0L, 8L, 11L, 13L,
1L, 1L, 0L, 0L, 0L, 0L, 1L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L,
0L, 0L), X4.00 = c(1L, 0L, 0L, 1L, 0L, 1L, 1L, 6L, 10L, 19L,
35L, 42L, 45L, 40L, 27L, 24L, 10L, 3L, 3L, 2L, 0L, 0L), X4.25 = c(0L,
0L, 0L, 3L, 1L, 1L, 2L, 5L, 11L, 28L, 46L, 52L, 53L, 39L, 31L,
23L, 9L, 8L, 1L, 0L, 0L, 1L), X4.50 = c(0L, 0L, 0L, 0L, 0L, 0L,
0L, 0L, 0L, 0L, 1L, 0L, 3L, 1L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L
), X5.00 = c(0L, 0L, 1L, 0L, 0L, 0L, 1L, 0L, 0L, 1L, 4L, 11L,
15L, 23L, 27L, 28L, 21L, 19L, 10L, 2L, 1L, 0L)), class = "data.frame",
row.names = c(NA, -22L))


Mesh size vector



meshsizes <- c(3, 4, 4.25, 4.5, 5)


Functions must be sourced from here. Do eg.



source("https://www.stat.auckland.ac.nz/~millar/selectware/R/gillnets/gillnetfunctions.R")


Final equation used that returns error



gillnetfit(svcp2, meshsizes) 









share|improve this question

























  • there's nothing inherently wrong with this question, but digging through a wall of code is likely to deter a lot of potential answerers ... is there any chance you can boil this down to a more compact question?

    – Ben Bolker
    Nov 25 '18 at 17:20











  • Voting to close. Seems pretty clear from inspection that you have not provided enough data and code to construct a Minimal, Complete, and Verifiable example

    – 42-
    Nov 25 '18 at 18:57








  • 1





    I can't reproduce your error with the data you supplied. Post the result of dput(holt.dat), so that we get an exact representation of your data. My hunch is that one or more of the columns in holt.dat isn't numeric, but that's about all I can say.

    – AkselA
    Nov 25 '18 at 19:37











  • thanks, I re-entered my data and I am not getting that error code anymore

    – fishy_stats
    Nov 26 '18 at 2:05











  • this is the final step of the code I used instead of the other gillnetfit(svcp2,meshsizes)

    – fishy_stats
    Nov 26 '18 at 2:06




















0















When I run the code I get the error:




Error in lens * msizes : non-numeric argument to binary operator.




Here are links to an overview of the code package I am using and the actual code (Function for gillnet data analyses code only): https://www.stat.auckland.ac.nz/~millar/selectware/R/gillnets/gillnetfunctions.pdf (overview), https://www.stat.auckland.ac.nz/~millar/selectware/R/gillnets/gillnetfunctions.R (code I am using).



Below is the data set, The first column must contain the length classes. The second and subsequent columns contain the numbers caught in the different sized meshes used. These columns are in order of increasing mesh size. Next comes the code for vector data for the mesh sizes. Then my actual code for the function. Packages active while running are magrittr, dplyr, tidyr, plotrix, lattice, FSA, tidyverse, glm2, and msm. After completing the gillnetfit function I run the equation below and it returns this error:




Error in lens * msizes : non-numeric argument to binary operator.




I have used multiple equations from the overview page, it returns the same error



Data set (AKA svcp2 in the input code):



svcp2 <- structure(list(Length_bin = c(450L, 575L, 600L, 625L, 650L, 675L, 
700L, 725L, 750L, 775L, 800L, 825L, 850L, 875L, 900L, 925L, 950L,
975L, 1000L, 1025L, 1050L, 1150L), X3.00 = c(0L, 8L, 11L, 13L,
1L, 1L, 0L, 0L, 0L, 0L, 1L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L,
0L, 0L), X4.00 = c(1L, 0L, 0L, 1L, 0L, 1L, 1L, 6L, 10L, 19L,
35L, 42L, 45L, 40L, 27L, 24L, 10L, 3L, 3L, 2L, 0L, 0L), X4.25 = c(0L,
0L, 0L, 3L, 1L, 1L, 2L, 5L, 11L, 28L, 46L, 52L, 53L, 39L, 31L,
23L, 9L, 8L, 1L, 0L, 0L, 1L), X4.50 = c(0L, 0L, 0L, 0L, 0L, 0L,
0L, 0L, 0L, 0L, 1L, 0L, 3L, 1L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L
), X5.00 = c(0L, 0L, 1L, 0L, 0L, 0L, 1L, 0L, 0L, 1L, 4L, 11L,
15L, 23L, 27L, 28L, 21L, 19L, 10L, 2L, 1L, 0L)), class = "data.frame",
row.names = c(NA, -22L))


Mesh size vector



meshsizes <- c(3, 4, 4.25, 4.5, 5)


Functions must be sourced from here. Do eg.



source("https://www.stat.auckland.ac.nz/~millar/selectware/R/gillnets/gillnetfunctions.R")


Final equation used that returns error



gillnetfit(svcp2, meshsizes) 









share|improve this question

























  • there's nothing inherently wrong with this question, but digging through a wall of code is likely to deter a lot of potential answerers ... is there any chance you can boil this down to a more compact question?

    – Ben Bolker
    Nov 25 '18 at 17:20











  • Voting to close. Seems pretty clear from inspection that you have not provided enough data and code to construct a Minimal, Complete, and Verifiable example

    – 42-
    Nov 25 '18 at 18:57








  • 1





    I can't reproduce your error with the data you supplied. Post the result of dput(holt.dat), so that we get an exact representation of your data. My hunch is that one or more of the columns in holt.dat isn't numeric, but that's about all I can say.

    – AkselA
    Nov 25 '18 at 19:37











  • thanks, I re-entered my data and I am not getting that error code anymore

    – fishy_stats
    Nov 26 '18 at 2:05











  • this is the final step of the code I used instead of the other gillnetfit(svcp2,meshsizes)

    – fishy_stats
    Nov 26 '18 at 2:06
















0












0








0








When I run the code I get the error:




Error in lens * msizes : non-numeric argument to binary operator.




Here are links to an overview of the code package I am using and the actual code (Function for gillnet data analyses code only): https://www.stat.auckland.ac.nz/~millar/selectware/R/gillnets/gillnetfunctions.pdf (overview), https://www.stat.auckland.ac.nz/~millar/selectware/R/gillnets/gillnetfunctions.R (code I am using).



Below is the data set, The first column must contain the length classes. The second and subsequent columns contain the numbers caught in the different sized meshes used. These columns are in order of increasing mesh size. Next comes the code for vector data for the mesh sizes. Then my actual code for the function. Packages active while running are magrittr, dplyr, tidyr, plotrix, lattice, FSA, tidyverse, glm2, and msm. After completing the gillnetfit function I run the equation below and it returns this error:




Error in lens * msizes : non-numeric argument to binary operator.




I have used multiple equations from the overview page, it returns the same error



Data set (AKA svcp2 in the input code):



svcp2 <- structure(list(Length_bin = c(450L, 575L, 600L, 625L, 650L, 675L, 
700L, 725L, 750L, 775L, 800L, 825L, 850L, 875L, 900L, 925L, 950L,
975L, 1000L, 1025L, 1050L, 1150L), X3.00 = c(0L, 8L, 11L, 13L,
1L, 1L, 0L, 0L, 0L, 0L, 1L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L,
0L, 0L), X4.00 = c(1L, 0L, 0L, 1L, 0L, 1L, 1L, 6L, 10L, 19L,
35L, 42L, 45L, 40L, 27L, 24L, 10L, 3L, 3L, 2L, 0L, 0L), X4.25 = c(0L,
0L, 0L, 3L, 1L, 1L, 2L, 5L, 11L, 28L, 46L, 52L, 53L, 39L, 31L,
23L, 9L, 8L, 1L, 0L, 0L, 1L), X4.50 = c(0L, 0L, 0L, 0L, 0L, 0L,
0L, 0L, 0L, 0L, 1L, 0L, 3L, 1L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L
), X5.00 = c(0L, 0L, 1L, 0L, 0L, 0L, 1L, 0L, 0L, 1L, 4L, 11L,
15L, 23L, 27L, 28L, 21L, 19L, 10L, 2L, 1L, 0L)), class = "data.frame",
row.names = c(NA, -22L))


Mesh size vector



meshsizes <- c(3, 4, 4.25, 4.5, 5)


Functions must be sourced from here. Do eg.



source("https://www.stat.auckland.ac.nz/~millar/selectware/R/gillnets/gillnetfunctions.R")


Final equation used that returns error



gillnetfit(svcp2, meshsizes) 









share|improve this question
















When I run the code I get the error:




Error in lens * msizes : non-numeric argument to binary operator.




Here are links to an overview of the code package I am using and the actual code (Function for gillnet data analyses code only): https://www.stat.auckland.ac.nz/~millar/selectware/R/gillnets/gillnetfunctions.pdf (overview), https://www.stat.auckland.ac.nz/~millar/selectware/R/gillnets/gillnetfunctions.R (code I am using).



Below is the data set, The first column must contain the length classes. The second and subsequent columns contain the numbers caught in the different sized meshes used. These columns are in order of increasing mesh size. Next comes the code for vector data for the mesh sizes. Then my actual code for the function. Packages active while running are magrittr, dplyr, tidyr, plotrix, lattice, FSA, tidyverse, glm2, and msm. After completing the gillnetfit function I run the equation below and it returns this error:




Error in lens * msizes : non-numeric argument to binary operator.




I have used multiple equations from the overview page, it returns the same error



Data set (AKA svcp2 in the input code):



svcp2 <- structure(list(Length_bin = c(450L, 575L, 600L, 625L, 650L, 675L, 
700L, 725L, 750L, 775L, 800L, 825L, 850L, 875L, 900L, 925L, 950L,
975L, 1000L, 1025L, 1050L, 1150L), X3.00 = c(0L, 8L, 11L, 13L,
1L, 1L, 0L, 0L, 0L, 0L, 1L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L,
0L, 0L), X4.00 = c(1L, 0L, 0L, 1L, 0L, 1L, 1L, 6L, 10L, 19L,
35L, 42L, 45L, 40L, 27L, 24L, 10L, 3L, 3L, 2L, 0L, 0L), X4.25 = c(0L,
0L, 0L, 3L, 1L, 1L, 2L, 5L, 11L, 28L, 46L, 52L, 53L, 39L, 31L,
23L, 9L, 8L, 1L, 0L, 0L, 1L), X4.50 = c(0L, 0L, 0L, 0L, 0L, 0L,
0L, 0L, 0L, 0L, 1L, 0L, 3L, 1L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L
), X5.00 = c(0L, 0L, 1L, 0L, 0L, 0L, 1L, 0L, 0L, 1L, 4L, 11L,
15L, 23L, 27L, 28L, 21L, 19L, 10L, 2L, 1L, 0L)), class = "data.frame",
row.names = c(NA, -22L))


Mesh size vector



meshsizes <- c(3, 4, 4.25, 4.5, 5)


Functions must be sourced from here. Do eg.



source("https://www.stat.auckland.ac.nz/~millar/selectware/R/gillnets/gillnetfunctions.R")


Final equation used that returns error



gillnetfit(svcp2, meshsizes) 






r






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 27 '18 at 15:46









AkselA

4,86321326




4,86321326










asked Nov 25 '18 at 3:46









fishy_statsfishy_stats

53




53













  • there's nothing inherently wrong with this question, but digging through a wall of code is likely to deter a lot of potential answerers ... is there any chance you can boil this down to a more compact question?

    – Ben Bolker
    Nov 25 '18 at 17:20











  • Voting to close. Seems pretty clear from inspection that you have not provided enough data and code to construct a Minimal, Complete, and Verifiable example

    – 42-
    Nov 25 '18 at 18:57








  • 1





    I can't reproduce your error with the data you supplied. Post the result of dput(holt.dat), so that we get an exact representation of your data. My hunch is that one or more of the columns in holt.dat isn't numeric, but that's about all I can say.

    – AkselA
    Nov 25 '18 at 19:37











  • thanks, I re-entered my data and I am not getting that error code anymore

    – fishy_stats
    Nov 26 '18 at 2:05











  • this is the final step of the code I used instead of the other gillnetfit(svcp2,meshsizes)

    – fishy_stats
    Nov 26 '18 at 2:06





















  • there's nothing inherently wrong with this question, but digging through a wall of code is likely to deter a lot of potential answerers ... is there any chance you can boil this down to a more compact question?

    – Ben Bolker
    Nov 25 '18 at 17:20











  • Voting to close. Seems pretty clear from inspection that you have not provided enough data and code to construct a Minimal, Complete, and Verifiable example

    – 42-
    Nov 25 '18 at 18:57








  • 1





    I can't reproduce your error with the data you supplied. Post the result of dput(holt.dat), so that we get an exact representation of your data. My hunch is that one or more of the columns in holt.dat isn't numeric, but that's about all I can say.

    – AkselA
    Nov 25 '18 at 19:37











  • thanks, I re-entered my data and I am not getting that error code anymore

    – fishy_stats
    Nov 26 '18 at 2:05











  • this is the final step of the code I used instead of the other gillnetfit(svcp2,meshsizes)

    – fishy_stats
    Nov 26 '18 at 2:06



















there's nothing inherently wrong with this question, but digging through a wall of code is likely to deter a lot of potential answerers ... is there any chance you can boil this down to a more compact question?

– Ben Bolker
Nov 25 '18 at 17:20





there's nothing inherently wrong with this question, but digging through a wall of code is likely to deter a lot of potential answerers ... is there any chance you can boil this down to a more compact question?

– Ben Bolker
Nov 25 '18 at 17:20













Voting to close. Seems pretty clear from inspection that you have not provided enough data and code to construct a Minimal, Complete, and Verifiable example

– 42-
Nov 25 '18 at 18:57







Voting to close. Seems pretty clear from inspection that you have not provided enough data and code to construct a Minimal, Complete, and Verifiable example

– 42-
Nov 25 '18 at 18:57






1




1





I can't reproduce your error with the data you supplied. Post the result of dput(holt.dat), so that we get an exact representation of your data. My hunch is that one or more of the columns in holt.dat isn't numeric, but that's about all I can say.

– AkselA
Nov 25 '18 at 19:37





I can't reproduce your error with the data you supplied. Post the result of dput(holt.dat), so that we get an exact representation of your data. My hunch is that one or more of the columns in holt.dat isn't numeric, but that's about all I can say.

– AkselA
Nov 25 '18 at 19:37













thanks, I re-entered my data and I am not getting that error code anymore

– fishy_stats
Nov 26 '18 at 2:05





thanks, I re-entered my data and I am not getting that error code anymore

– fishy_stats
Nov 26 '18 at 2:05













this is the final step of the code I used instead of the other gillnetfit(svcp2,meshsizes)

– fishy_stats
Nov 26 '18 at 2:06







this is the final step of the code I used instead of the other gillnetfit(svcp2,meshsizes)

– fishy_stats
Nov 26 '18 at 2:06














1 Answer
1






active

oldest

votes


















0














Your svcp2 is a data.frame.

As per the documentation you linked to it needs to be a matrix, although the docs and the code doesn't appear to be in complete sync. In the code the first argument is called svcp2 while in the docs it's called data, but the meaning is still clear.




data — Matrix containing the catch data…
https://www.stat.auckland.ac.nz/~millar/selectware/R/gillnets/gillnetfunctions.pdf




The solution is thus simply



gillnetfit(as.matrix(svcp2), meshsizes)





share|improve this answer


























  • I would like to say thank you very much for helping me with this. I really appreciate it. That being said it is now throwing a new error code:Error in rcurves(type, meshsizes, rel, pars, plotlens) : could not find function "rcurves" This code was last updated in 2009, so I am wondering if it is part of an old package

    – fishy_stats
    Nov 27 '18 at 2:56













  • @fishy_stats: You need all the functions in stat.auckland.ac.nz/~millar/selectware/R/gillnets/…. Either load them as you did with gillfits(), or use source() as I edited into your question.

    – AkselA
    Nov 27 '18 at 10:14











  • Oh my god it works. It really works! Thank you so much, you have no idea how happy I am. I am so incredibly grateful for your help. I've only been coding for about a month, thank you so much for your patience and help.

    – fishy_stats
    Nov 27 '18 at 15:33












Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53464484%2fgillnets-gillnetfit-error-non-numeric-argument-invalid-type-list-for-variabl%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














Your svcp2 is a data.frame.

As per the documentation you linked to it needs to be a matrix, although the docs and the code doesn't appear to be in complete sync. In the code the first argument is called svcp2 while in the docs it's called data, but the meaning is still clear.




data — Matrix containing the catch data…
https://www.stat.auckland.ac.nz/~millar/selectware/R/gillnets/gillnetfunctions.pdf




The solution is thus simply



gillnetfit(as.matrix(svcp2), meshsizes)





share|improve this answer


























  • I would like to say thank you very much for helping me with this. I really appreciate it. That being said it is now throwing a new error code:Error in rcurves(type, meshsizes, rel, pars, plotlens) : could not find function "rcurves" This code was last updated in 2009, so I am wondering if it is part of an old package

    – fishy_stats
    Nov 27 '18 at 2:56













  • @fishy_stats: You need all the functions in stat.auckland.ac.nz/~millar/selectware/R/gillnets/…. Either load them as you did with gillfits(), or use source() as I edited into your question.

    – AkselA
    Nov 27 '18 at 10:14











  • Oh my god it works. It really works! Thank you so much, you have no idea how happy I am. I am so incredibly grateful for your help. I've only been coding for about a month, thank you so much for your patience and help.

    – fishy_stats
    Nov 27 '18 at 15:33
















0














Your svcp2 is a data.frame.

As per the documentation you linked to it needs to be a matrix, although the docs and the code doesn't appear to be in complete sync. In the code the first argument is called svcp2 while in the docs it's called data, but the meaning is still clear.




data — Matrix containing the catch data…
https://www.stat.auckland.ac.nz/~millar/selectware/R/gillnets/gillnetfunctions.pdf




The solution is thus simply



gillnetfit(as.matrix(svcp2), meshsizes)





share|improve this answer


























  • I would like to say thank you very much for helping me with this. I really appreciate it. That being said it is now throwing a new error code:Error in rcurves(type, meshsizes, rel, pars, plotlens) : could not find function "rcurves" This code was last updated in 2009, so I am wondering if it is part of an old package

    – fishy_stats
    Nov 27 '18 at 2:56













  • @fishy_stats: You need all the functions in stat.auckland.ac.nz/~millar/selectware/R/gillnets/…. Either load them as you did with gillfits(), or use source() as I edited into your question.

    – AkselA
    Nov 27 '18 at 10:14











  • Oh my god it works. It really works! Thank you so much, you have no idea how happy I am. I am so incredibly grateful for your help. I've only been coding for about a month, thank you so much for your patience and help.

    – fishy_stats
    Nov 27 '18 at 15:33














0












0








0







Your svcp2 is a data.frame.

As per the documentation you linked to it needs to be a matrix, although the docs and the code doesn't appear to be in complete sync. In the code the first argument is called svcp2 while in the docs it's called data, but the meaning is still clear.




data — Matrix containing the catch data…
https://www.stat.auckland.ac.nz/~millar/selectware/R/gillnets/gillnetfunctions.pdf




The solution is thus simply



gillnetfit(as.matrix(svcp2), meshsizes)





share|improve this answer















Your svcp2 is a data.frame.

As per the documentation you linked to it needs to be a matrix, although the docs and the code doesn't appear to be in complete sync. In the code the first argument is called svcp2 while in the docs it's called data, but the meaning is still clear.




data — Matrix containing the catch data…
https://www.stat.auckland.ac.nz/~millar/selectware/R/gillnets/gillnetfunctions.pdf




The solution is thus simply



gillnetfit(as.matrix(svcp2), meshsizes)






share|improve this answer














share|improve this answer



share|improve this answer








edited Nov 27 '18 at 15:47

























answered Nov 27 '18 at 0:04









AkselAAkselA

4,86321326




4,86321326













  • I would like to say thank you very much for helping me with this. I really appreciate it. That being said it is now throwing a new error code:Error in rcurves(type, meshsizes, rel, pars, plotlens) : could not find function "rcurves" This code was last updated in 2009, so I am wondering if it is part of an old package

    – fishy_stats
    Nov 27 '18 at 2:56













  • @fishy_stats: You need all the functions in stat.auckland.ac.nz/~millar/selectware/R/gillnets/…. Either load them as you did with gillfits(), or use source() as I edited into your question.

    – AkselA
    Nov 27 '18 at 10:14











  • Oh my god it works. It really works! Thank you so much, you have no idea how happy I am. I am so incredibly grateful for your help. I've only been coding for about a month, thank you so much for your patience and help.

    – fishy_stats
    Nov 27 '18 at 15:33



















  • I would like to say thank you very much for helping me with this. I really appreciate it. That being said it is now throwing a new error code:Error in rcurves(type, meshsizes, rel, pars, plotlens) : could not find function "rcurves" This code was last updated in 2009, so I am wondering if it is part of an old package

    – fishy_stats
    Nov 27 '18 at 2:56













  • @fishy_stats: You need all the functions in stat.auckland.ac.nz/~millar/selectware/R/gillnets/…. Either load them as you did with gillfits(), or use source() as I edited into your question.

    – AkselA
    Nov 27 '18 at 10:14











  • Oh my god it works. It really works! Thank you so much, you have no idea how happy I am. I am so incredibly grateful for your help. I've only been coding for about a month, thank you so much for your patience and help.

    – fishy_stats
    Nov 27 '18 at 15:33

















I would like to say thank you very much for helping me with this. I really appreciate it. That being said it is now throwing a new error code:Error in rcurves(type, meshsizes, rel, pars, plotlens) : could not find function "rcurves" This code was last updated in 2009, so I am wondering if it is part of an old package

– fishy_stats
Nov 27 '18 at 2:56







I would like to say thank you very much for helping me with this. I really appreciate it. That being said it is now throwing a new error code:Error in rcurves(type, meshsizes, rel, pars, plotlens) : could not find function "rcurves" This code was last updated in 2009, so I am wondering if it is part of an old package

– fishy_stats
Nov 27 '18 at 2:56















@fishy_stats: You need all the functions in stat.auckland.ac.nz/~millar/selectware/R/gillnets/…. Either load them as you did with gillfits(), or use source() as I edited into your question.

– AkselA
Nov 27 '18 at 10:14





@fishy_stats: You need all the functions in stat.auckland.ac.nz/~millar/selectware/R/gillnets/…. Either load them as you did with gillfits(), or use source() as I edited into your question.

– AkselA
Nov 27 '18 at 10:14













Oh my god it works. It really works! Thank you so much, you have no idea how happy I am. I am so incredibly grateful for your help. I've only been coding for about a month, thank you so much for your patience and help.

– fishy_stats
Nov 27 '18 at 15:33





Oh my god it works. It really works! Thank you so much, you have no idea how happy I am. I am so incredibly grateful for your help. I've only been coding for about a month, thank you so much for your patience and help.

– fishy_stats
Nov 27 '18 at 15:33




















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53464484%2fgillnets-gillnetfit-error-non-numeric-argument-invalid-type-list-for-variabl%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







這個網誌中的熱門文章

Post-Redirect-Get with Spring WebFlux and Thymeleaf

Xamarin.form Move up view when keyboard appear

JBPM : POST request for execute process go wrong