Skip to content

Instantly share code, notes, and snippets.

View Hychhayrith's full-sized avatar
🎯
Focusing

Hy Chhayrith Hychhayrith

🎯
Focusing
View GitHub Profile
@Hychhayrith
Hychhayrith / habitHealthRelativity.r
Last active March 28, 2021 14:21
Habit Health Relativity
library(readxl)
# import dataset
ds <- read_excel("HHR.xlsx")
library(magrittr)
colnames(ds)
library(dplyr)
# linear model
ds$exercise_freq <- as.factor(ds$exercise_freq)
import React, {Component} from 'react';
import { StyleSheet, Text, View, Alert, TouchableHighlight } from 'react-native';
export default class TouchableButton extends Component {
_onPress() {
Alert.alert("The button is pressed");
}
// Note: Long press is available for Touchable Button