This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div> | |
<!-- buttons to make request --> | |
<!-- view to see the reponse --> | |
</div> | |
</template> | |
<script> | |
import axios from 'axios'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# CONTRUCTING GROUPED FREQUENCY DISTRIBUTION TABLES | |
#Data | |
heights <- c(67,67,64,64,74,61,68,71,69,61,65,64,62,63,59,70,66,66,63,59,64,67,70,65,66,66,56,65,67,69,64,67,68,67,67,65,74,64,62,68,65,65,65,66,67,68,74) | |
# 1. arrage in ascending order | |
a<-sort(heights) | |
length(a) | |
# 2. find unit of measurement ( smallest difference betwen any two distinct values) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(ggplot2) | |
swirl | |
#create data frame | |
Category <- c("A", "B", "C", "D") | |
Amount <- c(25,40,27,8) | |
My_data <-data.frame(Category, Amount) | |
data <- data.frame("category" = c('A', 'B', 'C', 'D'), | |
"amount" = c(25, 40, 27, 8)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Author Name: Joseph Ridge | |
# Objective : Starting our on R | |
#Write a program that displays all the odd numbers between 0 and 100. The program | |
#should also display the sum of the odd numbers. | |
# x <- (1:100) | |
#print(x) | |
#for (i in 1:100 ){ | |
# modValue <- i%%3 # modulus value | |
#if(modValue== 0 ){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div v-for="(member, index) in filteredList" :key="index" class=""> | |
<div | |
class="border transition ease-in-out duration-500 hover:cursor-pointer hover:shadow hover:shadow-lg px-4 mx-8 my-2 py-4 rounded" | |
> | |
<div class="flex mt-2 mb-3"> | |
<img | |
:src="member.imageUrl" | |
alt="" | |
srcset="" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Data Model Class | |
*/ | |
class Article { | |
private String mTitle; | |
private String mBody; | |
/* | |
* PArameterized constructor | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
public String toString() { | |
return mTitle; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Program entry point for JVM | |
class ArticleApplication { | |
public static void main(String args[]) // static method | |
{ | |
/* | |
* We create an instance of the Article class | |
* print it out | |
*/ | |
Article firstArticle = | |
new Article( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Data Model Class | |
*/ | |
class Article { | |
private String mTitle; | |
private String mBody; | |
/* | |
* Parameterized constructor | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template lang=""> | |
<div> | |
<div id="mapid"></div> | |
</div> | |
</template> | |
<script> | |
import "leaflet/dist/leaflet.css"; | |
import L from "leaflet"; | |
export default { |
NewerOlder