Skip to content

Palakurthi_LeBlanc _submission#2

Open
bpalakur wants to merge 6 commits into
araiho:masterfrom
bpalakur:master
Open

Palakurthi_LeBlanc _submission#2
bpalakur wants to merge 6 commits into
araiho:masterfrom
bpalakur:master

Conversation

@bpalakur

Copy link
Copy Markdown

No description provided.

@araiho araiho left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good job! 4/4 but next time work on for loops to make the code less confusing and more efficient. and for the project it'll be important that it's very clear which code is meant to answer the questions. This submission has a few answers for the same question which is confusing.

Comment thread ChallengePart1.R

#Repeat the same with different values of r

ddSim<-function(t,y,p){

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You do not need to define a same function more than once in a script

Comment thread ChallengePart1.R
times=1:100
modelSim=ode(y=N0,times=times,func=ddSim,parms=params)
modelOutput33=data.frame(time=modelSim[,1],N=modelSim[,2])

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can get pretty confusing. Next time try a for loop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants