Skip to content

palakurthi-leblanc submission#3

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

palakurthi-leblanc submission#3
bpalakur wants to merge 12 commits into
araiho:masterfrom
bpalakur:master

Conversation

@bpalakur

@bpalakur bpalakur commented Nov 2, 2017

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.

3.8/4 good job but it was hard for me to tell what I was supposed to be grading because there were multiple files for the same answer. Make sure to only have one set of answers to each question.

Comment thread tutorial9_3.R
value2=96.4776
v=value1-value2
p=0
>>>>>>> 9cf11ca599d407d6eb4bd775a40442e4c1891c8c

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.

make sure you delete the merge conflict marks

Comment thread ChallengePart1.R
@@ -0,0 +1,66 @@
rm(list=ls())

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.

I'm confused if I should be looking at this or the other scripts? Make sure to keep your answers in the same file and trade that back and forth instead of creating separate files. Version control is meant to keep track of the same set of files not multiple sets of files doing the same thing. Does that make sense?

Comment thread tutorial9.R
fit=optim(par=initialGuess,fn=nllike,x=WT,y=V456D)
# value=0

nllike<-function(p,x,y){

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.

Your functions are a little confusing to me because they all have the same name. Make sure to name functions differently and to have informative names.

Comment thread tutorial9.R

initialGuess=c(1,1,1,1)
fit=optim(par=initialGuess,fn=nllike,x=WT,y=I213N)
nll2=73.96622

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.

hardcoding numbers like this is error prone because if you rerun your analysis you will need to change these hardcoded numbers and you may forget causing errors in your final output. use something like fit[1] - fit[2] next time.

Comment thread tutorial9_3.R
@@ -0,0 +1,51 @@
<<<<<<< HEAD

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.

Make sure to remove merge conflict text! Your script should be able to run all the way through without any errors and this would certainty cause an error.

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