Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Current known broken links #8

Open
Maschette opened this issue Jan 7, 2019 · 3 comments
Open

Current known broken links #8

Maschette opened this issue Jan 7, 2019 · 3 comments
Labels

Comments

@Maschette
Copy link
Collaborator

Figures where the image doesn't appear in learningstatisticswithr.com/book:
3.2 3.3 3.4 3.5 3.6
4.1 4.2 4.3 4.4 4.5 4.6 4.7 4.8 4.9 4.10
6.5 6.6 6.13 6.18

in chapter 6 broken links: we discussed in Section ?? is shown in Figure ??. The R command that I used to draw it is this:

I’ll use the tabulate() function to do this (which will be discussed properly in Section ??, since it creates a simple numeric vector:

To do this, we need to alter set the las parameter, which I discussed briefly in Section ??. What I’ll do is tell R

I have checked up to chapter 7 and will add others as I see them.

@Maschette Maschette added the bug label Jan 7, 2019
@ekothe
Copy link
Collaborator

ekothe commented Jan 7, 2019

Many of these are figures that should be generated using live code but where I couldn't locate the source. I went through made images from the PDF (eek). Personally I think making them live coded would be better (since they won't have image compression issues in different formats and also allow people to see code examples if they want to dig into the back end).

@djnavarro might source for these somewhere but I think some of them should be pretty easy just to build from scratch and there is potentially an argument to redoing some (or all) of them in ggplot if we want to go down that route anyway.

Here are the missing links in a task list format so we can keep track more easily.

Rather than add a new comment I have added the rest to your list, this is all the ones I easily found, there are some reference links broken (i saw at least one) but I haven't listed them yet. -Dale

Figures:
Chapter 3

  • 3.2
  • 3.3
  • 3.4
  • 3.5
  • 3.6

Chapter 4

  • 4.1
  • 4.2
  • 4.3
  • 4.4
  • 4.5
  • 4.6
  • 4.7
  • 4.8
  • 4.9
  • 4.10

Chapter 6

  • 6.5
  • 6.6
  • 6.13
  • 6.18
    plots with no captions which explains some of the broken text links.
  • Histogram between 6.12 and 6.13
  • boxplot between 6.13 and 6.14
  • boxplot between 6.14 and 6.15
  • Scatterplot between 6.19 and 6.20
  • Pairs plot after 6. 20

Chapter 9
After figure 9.15 none of the plots have figure captions

Chapter 10

  • 10.1
  • 10.2
  • 10.3
  • there are three 10.4s
  • 10.5
  • 10.6
  • There are four 10.10 captions (they are a panel)
  • 10.11
  • 10.12
  • 10.13

Chapter 13

  • figure between 13.4-5 caption: (#fig:ttesthyp_onesample)Graphical illustration of the null and

  • 13.5

  • 13.8

  • Two figures after 13.19 with no captions

  • 13.20

  • [ ]

Tables

Chapter 10

  • the table in '10.3.1 Sampling distribution of the mean' has no caption

Chapter 13

  • No table caption in 13.8 Effect size
    broken image links under the text:
  • datum is larger, we place a check mark in the table:
  • What you end up with is a table that looks like this:

Chapter 14

  • no table caption in 14.2.1 Two formulas for the variance of Y
  • 14.2.5 A worked example
  • 14.9 Checking the normality assumption has 3 plots with no captions and the code has broken links to other figures which should probably be in the captions.

Chapter 15

  • 15.6
  • 15.7
  • 15.8
  • 15.9
  • 15.2

Chapter 16

  • 16.1
  • 16.2
  • 16.3
  • 16.4
  • 16.5
  • 16.6
  • 16.7
  • 16.8
  • 2 figures in 16.4.2 Normality of residuals with no captions

Chapter 17

  • 17.1
  • [ ]

Text:
Chapter 4

  • that happened in Section ?? when

Chapter 5

  • simple table like the one in Table ??
  • That said, the rough guide in Table ?? is pretty
  • Anscombe’s Quartet” (??? Anscombe1973),

Chapter 6

  • which I discuss briefly in Section ?? though not in a lot of detail.
  • In Section ?? we talked about a group of graphical parameters
  • several of the options we discussed in Section ?? is shown in Figure ??.
  • What R draws is shown in Figure ??, the most basic boxplot possible
  • This is summarised in the annotated plot in Figure ??.
  • boxplots and outliers in the Section ??,
  • Consider the boxplot in Figure ??:
  • style to the one in Figure ??,
  • This command produces the scatterplot in Figure ??, [[Figure 6.19]]
  • The output of the pairs() command is shown in Figure ??.
  • tabulate() function to do this (which will be discussed properly in Section ??,
  • las parameter, which I discussed briefly in Section ??.

Chapter 7

  • Hadley Wickham (??? for details see Wickham2007)

Chapter 9

  • draw a nice bar graph (see Section 6.7) to visualise this distribution, as shown in Figure ??.
  • (see Section ?? for a discussion of continuous versus discrete).
  • This idea is illustrated in Figure ??.
  • you should see something similar to Figure ??.
  • pretty similar to the chi-square plot in Figure ??.
  • something that looks very similar to the t distribution in Figure ??.
  • This is illustrated in Figure ??, which plots the histgram of the observations [[histogram typo]]

Chapter 10

  • population as the probability distribution depicted in Figure ??.
  • 10 times I obtain the results shown in Table ??,
  • data set are the sample means listed in Table ??,
  • Figure ?? plots the histogram of these sample means (i.e., the
  • black line than the population distribution in Figure ??.
  • very close to normal (Figure ??,

Chapter 11

  • in Table ??. You’d think that this

Chapter 16

  • these four possibilities is plotted in Figure ??.
  • The four patterns of data shown in Figure ?? are all quite realistic:
  • 2 x 2 ANOVA are shown in Figure ??.
  • Figure ?? depicts several different patterns that,
  • We’ll talk about some analyses that you can run in Sections 16.7 and ??.
  • For instance, in the crossover interaction shown in Figure ??,
  • broken formula under: Finally, taking the ratio of these two gives us our F statistic:

@Maschette
Copy link
Collaborator Author

References
Chapter 3.12

  • We talked a bit about the logic of how R works and in particular how to type commands into the R console (Section @ref(#firstcommand),

Chapter 5

  • reasons that will make sense when we return to this topic in Chapter@refch:estimation I’ll
  • If the relationship between them is positive (in the sense shown in Figure@reffig:corr) then
  • I’ll expand a little more on this point later, in Section@refsec:interpretingcorrelations. But before
  • how to do it properly in Section@refsec:subsetdataframe. But it would be nice

Chapter 6

  • Figure 6.1 caption: This image uses the data from the HistData package @[Friendly2011],
  • histograms shown in Figure @ref(fig:hist1a; hist1b; hist1c) could stand to be improved.
  • This is illustrated in Figure @ref(fig:boxplot2a. Since the default
  • “The grammar of graphics” @[Wilkinson2006].

Chapter 10

  • Yet, in Section @ref(pointestimates I stressed the fact that we don’t actually

Chapter 12

  • to use the language we introduced in Chapter @ref(hypothesistesting the chi-squared
  • function later on (in Section @ref(chisq.test),
  • which I’ll talk about in Section @ref(chisq.test, but first I want to use

Chapter 14

  • distribution in Chapter @ref(probability, the
  • As discussed in Chapter @ref(hypothesistesting, what we really ought
  • numbers into an ANOVA table like the one in Table@reftab:anovatable. For
  • as we’ll see in Chapter @ref(anova2 this is actually a misleading answer!

Chapter 17

  • we analysed these data back in Chapter@refch:chisquare.
  • Back in Chapter@refch:ttest I suggested you could analyse this kind of data using

@Maschette
Copy link
Collaborator Author

Maschette commented Jul 30, 2020

I have been going through the bookdown and there are a lot of broken image links where the code is looking for a png but they don't exist. often eps do though.
There are however a few images missing based off the file names.
wilcox1.eps, wilcox2.eps

For the minute so I could export an epub I have commented them out.

The other issue is there are a few instances where there are multi-panel figures where each panel is a separate file. I haven't worked out which are which and made sure it is loading all the images rather than just the one in the existing file paths.

Shortly I will send a pull request with the updated paths and the epub version. I will leave it to someone else to add the download option to the bookdown as bookdown YAML scares me....
There are tips here: https://bookdown.org/yihui/bookdown/html.html#gitbook-style

I'll just add the style formatting on the generic ebook is pretty average but it seems to work on my phone at least.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants