blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 327 | content_id stringlengths 40 40 | detected_licenses listlengths 0 91 | license_type stringclasses 2
values | repo_name stringlengths 5 134 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 46
values | visit_date timestamp[us]date 2016-08-02 22:44:29 2023-09-06 08:39:28 | revision_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | committer_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | github_id int64 19.4k 671M ⌀ | star_events_count int64 0 40k | fork_events_count int64 0 32.4k | gha_license_id stringclasses 14
values | gha_event_created_at timestamp[us]date 2012-06-21 16:39:19 2023-09-14 21:52:42 ⌀ | gha_created_at timestamp[us]date 2008-05-25 01:21:32 2023-06-28 13:19:12 ⌀ | gha_language stringclasses 60
values | src_encoding stringclasses 24
values | language stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 7 9.18M | extension stringclasses 20
values | filename stringlengths 1 141 | content stringlengths 7 9.18M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0aef2b35d4a1424486b9b714c71bca69bacfd31c | 850a5e7537ecd8a3fdda83199819bdfec3ea7a66 | /examples/make_atlas.R | d9fe3fed7986e9cbf32e54921617ad3b866fffdb | [
"MIT"
] | permissive | elipousson/maplayer | 709cf32944aa628820d62ade3d2802d01ddb9b9d | 1267b6f1ec5551321457381f131412706993de7a | refs/heads/main | 2023-08-31T10:25:04.096427 | 2023-08-25T17:33:29 | 2023-08-25T17:33:29 | 496,240,757 | 5 | 0 | null | null | null | null | UTF-8 | R | false | false | 634 | r | make_atlas.R | nc <- sf::read_sf(system.file("shape/nc.shp", package = "sf"))
plots <- lapply(
dplyr::nest_by(nc, .by = NAME)[["data"]][1:4],
function(x) {
make_location_map(
basemap = ggplot(),
layer = layer_location(
data = x,
fill = "yellow",
alpha = 0.5
),
bg_layer = layer_... |
242fd81b7295a245c8453f5164f1b3702f0b14db | feda9a14b44cc3024e3ee6d27f48f4eee433780c | /man/two_clusters_data.Rd | 7acfd08fa40d9e80ed8fd3f7b19ace986e10d0b9 | [
"MIT"
] | permissive | jlmelville/snedata | d45265f719fa8ced5bf6e70a198e052e0cf6e427 | c8cfdbf172b8581237eb6e733e23fe8bd1ed21c7 | refs/heads/master | 2022-11-22T21:29:22.938991 | 2022-11-10T16:55:38 | 2022-11-10T16:55:38 | 59,433,805 | 10 | 1 | null | null | null | null | UTF-8 | R | false | true | 1,852 | rd | two_clusters_data.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/misread-tsne.R
\name{two_clusters_data}
\alias{two_clusters_data}
\title{Two Equal Size Clusters}
\usage{
two_clusters_data(n, dim = 50)
}
\arguments{
\item{n}{Number of points per gaussian.}
\item{dim}{Dimension of the gaussians. You may pa... |
3f33df570e531ee1e339433743a774a16003b49f | a03da6a1edc7b1a1cf4b0829f5ece771f584df95 | /man/predict.polyGC.Rd | a89ec2995fc59b80b4fb87995a0b83fab71a9f23 | [] | no_license | homerhanumat/tigerstats | 4fbcc3609f46f6046a033d17165f7838dbd77e1a | 17067f7e5ec6b6cf712b628a4dbf5131c691ae22 | refs/heads/master | 2021-07-06T06:24:07.716196 | 2020-09-22T15:24:01 | 2020-09-22T15:24:01 | 15,921,287 | 14 | 7 | null | null | null | null | UTF-8 | R | false | true | 760 | rd | predict.polyGC.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/polyfitGC.R
\name{predict.polyGC}
\alias{predict.polyGC}
\title{Prediction Function for GC Polynomial Regression}
\usage{
\S3method{predict}{polyGC}(object,x,level=NULL,...)
}
\arguments{
\item{object}{An object of class polyGC}
\item{x}{val... |
6ca6c50ba4429f199eb300709160bba60480ce4e | 31cf2367ee215eee5d6242ce9c4933974b25058c | /ScriptLMAnalyse.R | f37fb87f99728d10756f128b354dfbf851281998 | [] | no_license | cordeiroph/weather-prediction | e321ab49de4818c7806b7a2925cca0f13bdbc173 | 0d50a9f9ec0c3a60c452fb575e26c020407bb87f | refs/heads/master | 2020-04-10T01:58:00.542525 | 2018-12-19T20:30:45 | 2018-12-19T20:30:45 | 160,730,721 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,110 | r | ScriptLMAnalyse.R | library(ggplot2)
library(gridExtra)
library(ggcorrplot)
library(MASS)
library(nortest)
#setwd("/Users/phrc/Documents/Projects/R projects/TemperaturePrediction")
dfMaster <- read.csv("Assignment 2.csv")
df <-dfMaster
df$No <- NULL
df$cbwd <- NULL
df$year <- NULL
df$month <- NULL
df$day <- NULL
df$hour <- NULL
print(... |
12a16829d5e7acff0d4d54cbc6e00a19cec90cc5 | 54a110d0d9ce6feb77e3ffddd2ea415d4bc04366 | /mcmc_inspection.R | fd2f054b8c88072f691a4e0179783bde14d7bf6e | [] | no_license | aamine1/FoodSafety | 4ff20942c0f7a4ac25e918b900763010b6ad72b7 | b667ae1ac7ff26b7b9be90bcce23f3c7d5dee2c5 | refs/heads/master | 2021-01-13T08:25:23.830575 | 2016-10-25T05:12:57 | 2016-10-25T05:12:57 | 71,860,944 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,981 | r | mcmc_inspection.R | #install.packages('caTools')
#install.packages('ROCR')
library(caTools)
library(ROCR)
source('~/loglikelihood_inspection.R')
#define auxiliary function
Scaled_BetaPDF <- function(y, a, b, p, q){
return ((y-p)^(a-1) * (q - y)^(b-1)) / ((q - p)^(a+b-1) * beta(a,b))
}
#Load file
raw_features = read... |
4f68085fdb50e72bd7c5713a3251f3b09540d75c | e848c54fdcadb59ae339503e64a8008e833c4257 | /260_Models 1 and 2 logistic regression.R | 8d9db9c6b0af9c79d7dfbfbfc0195cdd0c9a1aa4 | [] | no_license | pgsmith2000/BRFSS | 0ccc6cbc8e40839c6f7073221178c97d2da93ea0 | c29270826b3008b1211ad8af738502db447a9bdd | refs/heads/master | 2020-08-28T03:30:08.259481 | 2019-11-03T17:27:22 | 2019-11-03T17:27:22 | 217,574,848 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,213 | r | 260_Models 1 and 2 logistic regression.R | # read in analytic table
analytic <- read.csv(file="./data/analytic.csv", header=TRUE, sep=",")
# make Model 1
LogModel1 <- glm(ASTHMA4 ~ DRKMONTHLY + DRKWEEKLY,
data=analytic, family = "binomial")
summary(LogModel1)
library (devtools)
library (broom)
Tidy_LogModel1 <- tidy(LogModel1)
... |
db26cea24834f389479c0a7ace67dbc62cff5fc4 | 08a0f46033f64be32b613b8b2e5c2f039dfae358 | /cachematrix.R | da360fa26a5f5ca4af2a40feabcd4376f2e456b2 | [] | no_license | lphan1812/ProgrammingAssignment2 | 528d5758c542be3ba033e665e054138e54ef2461 | b52e2eaf50ea9fe6e74bcff846ad45829570228d | refs/heads/master | 2022-05-24T22:53:57.406598 | 2020-05-01T02:21:23 | 2020-05-01T02:21:23 | 259,794,452 | 0 | 0 | null | 2020-04-29T01:33:02 | 2020-04-29T01:33:01 | null | UTF-8 | R | false | false | 1,607 | r | cachematrix.R | ## Side note: for Mac OS, in order to install "matlib" to use function inv(), I had to
## download XQuartz.
## In this assignment, install.packages("matlib") and library(matlib) was run outside the script
## Explain the function:
## The makeCacheMatrix function creates a special matrix object that can cache its inver... |
3c247ebad2689fbe708199f72f3e518f73a179b7 | 1fea4477ad03f4a63dc06dd4b7721f4918d230ed | /Scripts/FY21Q2_target_achievement.R | e6a9b2314f404bd916a1cc01a5ae7becc95108db | [] | no_license | USAID-OHA-SI/groundhog_day | 077e9cdbf773a4b88bee3039e435b30cd0893827 | d65658432cc8b78c3fa342914586d4cc264a9e13 | refs/heads/main | 2023-08-09T14:15:07.184665 | 2023-08-01T13:02:32 | 2023-08-01T13:02:32 | 251,695,677 | 2 | 0 | null | 2023-06-21T20:20:31 | 2020-03-31T18:28:36 | R | UTF-8 | R | false | false | 7,461 | r | FY21Q2_target_achievement.R | # PROJECT: agitprop
# AUTHOR: A.Chafetz | USAID
# PURPOSE: USAID achievement
# LICENSE: MIT
# DATE: 2021-05-19
# UPDATED:
# NOTE: adapted from agitprop/05_usaid_target_achievement.R
# DEPENDENCIES ------------------------------------------------------------
library(tidyverse)
library(glitr)
libr... |
f2a9ebe083b3c0aa8ebcbad920055bdf3e74566f | db3abdad5df1923a5b8a11c47a25f0850c7bee76 | /R/marginal_plot.R | 5fd75cf884e6207268099cb570fe9a4c1548c06b | [
"MIT"
] | permissive | GRousselet/rogme | db4fb4381e0f73546de4a2807fa7ed37ab034b49 | 650d29393f43b8d82f35eca70fbef5927de8b7a9 | refs/heads/master | 2023-05-26T02:05:32.849792 | 2022-11-07T10:30:43 | 2022-11-07T10:30:43 | 76,552,942 | 71 | 9 | MIT | 2021-02-15T09:37:45 | 2016-12-15T11:12:38 | R | UTF-8 | R | false | false | 11,451 | r | marginal_plot.R | #' Plot one-dimensional scatterplots for 2 groups
#'
#' \code{plot_scat2} produces scatterplots for 2 marginal distributions.
#' The scatterplots are jittered using \code{\link[ggbeeswarm]{geom_quasirandom}}.
#'
#' @param data A data frame in long format. One column is a factor describing the groups;
#' another colum... |
bbc0a88e123e371dd13d1f6b4683094c5cefac6d | 5e3d2312356f2dbf37a35b03dc57f854e3e5374b | /kathryn/bulk_data/q4_input/Evaluate_Performance.R | 6cedf5a6fc6b8e9842230c2aa1c532b27ace4022 | [] | no_license | immunogenomics/eQTL_Kathryn | c09f8bc45a7c927d3db2de0abb3bac8bc6f91d33 | 74da207e38d1da9664930cdac07ffe625bf1eb51 | refs/heads/master | 2023-03-06T21:47:30.641513 | 2019-07-11T15:27:20 | 2019-07-11T15:27:20 | 189,477,434 | 0 | 1 | null | 2019-07-11T15:27:28 | 2019-05-30T20:23:43 | R | UTF-8 | R | false | false | 6,157 | r | Evaluate_Performance.R | args = commandArgs(trailingOnly=TRUE)
#List of Functions
library(glmnet)
library(ROCR)
library(GenomicRanges)
#### Load_and_Train_Model_AUC_CVglmnet_LabeledData ####
Load_and_Train_Model_AUC_CVglmnet_LabeledData <- function(classifier_all, TP_training_regions, TN_training_regions, specificity_cutoff){
train <- cl... |
9cdd64a0258f74c6ab6e40bc3b4e997e0dbb44cc | 2a48e87db094e9e8dfb9cb1797463b008792634b | /cachematrix.R | 328fa9099e700cd0d7a55c58225241c5bcb33c72 | [] | no_license | dtrounine/ProgrammingAssignment2 | 4560506165e678e4c7db02e5abd9b97538d683bf | 1893040b69a456cda64ed9a9e2b17067f75d3d91 | refs/heads/master | 2020-04-08T16:19:11.613501 | 2016-02-21T22:36:19 | 2016-02-21T22:36:19 | 52,230,356 | 0 | 0 | null | 2016-02-21T22:02:20 | 2016-02-21T22:02:20 | null | UTF-8 | R | false | false | 1,579 | r | cachematrix.R | ## makeCacheMatrix and cacheSolve functions are used in conjunction
## when you need to find the inverse of a matrix and cache the result
## so that you can recall the result without calculating it again.
##
## Usage:
##
## First create a special 'matrix' from usual matrix using makeCacheMatrix function:
##
## cac... |
5e071fb238909fae8c71db9e0a3157d4d530fbc8 | 4d100f4d85c618640fb14d7a63e65f0b60e181c7 | /R/utility.R | 3efe9f94476ce1d79a5ed3b1837fd8ea144a3e6b | [] | no_license | THLfi/thlGraphs | a30d5e83be92bfc8bbdb9784259fd66975824bc0 | ade48bb0f1cf3f61d33a09b81539004fc1f7f01b | refs/heads/master | 2022-05-26T04:09:53.206753 | 2022-04-14T13:11:55 | 2022-04-14T13:11:55 | 205,375,117 | 1 | 2 | null | 2019-09-06T07:10:29 | 2019-08-30T12:10:24 | R | UTF-8 | R | false | false | 441 | r | utility.R |
#' Get path to installed resources
resourcePath <- function() {
path <- system.file('resources/', package = 'thlGraphs')
if(!grepl("/$", path))
path <- paste0(path, "/")
if(.Platform$OS.type == "windows") {
path <- shortPathName(path)
path <- gsub("\\\\", "/", path)
}
path
}
#' Get path to d... |
54049386f20ef36e4eeadd45d55523b7d654064f | 49847a92812e9c56d4024530bfb8dbb570346082 | /bike-sharing-plots.R | 2b77d3158bdbd22597afdc2782ebeb776e7eadc4 | [
"MIT"
] | permissive | Love-you-data/bike-sharing-R | 456f8027650ce7265256af038507b450b9de299e | 76a3494351a71bb8227a4ec0042034f612b09321 | refs/heads/master | 2022-03-24T19:19:16.053923 | 2019-12-28T22:40:55 | 2019-12-28T22:40:55 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 18,373 | r | bike-sharing-plots.R | # -- Plots ---------------
# Kevin F Cullen
# Run `bike-sharing-setup.R` first.
# That's where the library() calls and CSV reads live.
source('bike-sharing-setup.R')
theme_set(theme_light())
# All the vars for plotting. ----------------
# Using train == 1 because we need `count`
bikeplot.df <- subset(bikeall.df, t... |
6834ca5fa8fe0e7c9feec32336d07bd214226cfa | 872259f0a278381964b2d9e90d814a0b2fdceb19 | /old_code/functions.R | b15a2dddc716a7c405d5c6b554e562724de01bf8 | [] | no_license | pascalxia/sd_orientation_github | c8471cb29d64f3906d584ead96abd995b011ebdb | f87b06c457b6b247a288765f445ed002b4a185cc | refs/heads/master | 2021-01-13T06:58:48.815866 | 2017-02-27T03:05:34 | 2017-02-27T03:05:34 | 81,380,398 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 8,929 | r | functions.R | AngularDiff = function(a, b){
diff = a-b
diff = diff %% 360
inds = which(diff>180)
diff[inds] = diff[inds] - 360
return(diff)
}
OrientDiff = function(a, b){
diff = a-b
diff = diff %% 180
inds = which(diff>90)
diff[inds] = diff[inds] - 180
return(diff)
}
GetOrientation = function(angle){
orientat... |
60e822e4a227d55bf349bdf3b414e10ff59fab73 | 3b936bab003c7d8ed6c29ab1959f2ca7f592e364 | /load.data.R | 593d22738c80e5279c1fa2356c974fc8f0e2b7d0 | [] | no_license | david-duverle/regularisation-path-following | 4da6181f5d8acf63b0e357c45dbd961cd1c6429f | d47e568724b5fda938c0a3fc2519947c858d5e56 | refs/heads/master | 2021-01-01T17:43:30.558309 | 2013-10-18T01:08:54 | 2013-10-18T01:08:54 | 10,049,135 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,218 | r | load.data.R | source("itemset.coxpath.R");
# first load data using one of the example below, then run itemset.coxpath() or run.cv()
### Lymphoma:
load.data.lymphoma.2002 <- function(location = 'data/lymphoma.2002/', filter.na = F, average.gene.exp = T) {
survival = read.csv(paste(location, "survival.csv", sep=''), header = T)
... |
3d60959ec7501bab0849112d09f8b66c22714a3a | dc3642ea21337063e725441e3a6a719aa9906484 | /DevInit/IATI/R/iati-geo-test.R | 38ae5f13cb661e044ed266990974a4691fc3da81 | [] | no_license | akmiller01/alexm-util | 9bbcf613384fe9eefd49e26b0c841819b6c0e1a5 | 440198b9811dcc62c3eb531db95abef8dbd2cbc7 | refs/heads/master | 2021-01-18T01:51:53.120742 | 2020-09-03T15:55:13 | 2020-09-03T15:55:13 | 23,363,946 | 0 | 7 | null | null | null | null | UTF-8 | R | false | false | 574 | r | iati-geo-test.R | list.of.packages <- c("sp","rgdal","leaflet","data.table","ggplot2","scales","rgeos","maptools","reshape2")
new.packages <- list.of.packages[!(list.of.packages %in% installed.packages()[,"Package"])]
if(length(new.packages)) install.packages(new.packages)
lapply(list.of.packages, require, character.only=T)
wd = "/home... |
2c2b654c12be50cd73ec4fa790f6eea9316d075d | 79f5edebf760abb8ccc4e58f246586ad71f5eb6c | /man/add_attention_check.Rd | 99c6075785ed591eb39228af0adca3cbb7beedd2 | [
"MIT"
] | permissive | rwash/surveys | 3b09bd12633ed5322b35224cc79d90cc5b2443d7 | 4cded70f3aabd097f2f1e9ccb75a1c9d1639f40f | refs/heads/master | 2023-04-29T05:50:11.471493 | 2023-04-20T13:41:56 | 2023-04-20T13:41:56 | 31,321,921 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 677 | rd | add_attention_check.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/question_types.R
\name{add_attention_check}
\alias{add_attention_check}
\title{Attention Check questions}
\usage{
add_attention_check(q_name, valid)
}
\arguments{
\item{q_name}{The column name of the attention check question}
\item{valid}{Wh... |
05cb69be500fe50d4ff5b40c334b4a6d1fcf0aa5 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/dexter/tests/testthat/test_data_selection.R | db84b12d3092b0e90a9e8e77ebc68a61324de4ce | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | R | false | false | 10,492 | r | test_data_selection.R | context('test data selection')
library(dplyr)
library(DBI)
# to do: test what happens if integers or factors are used as booklet/perdon/item id's
expect_no_error = function(object, info=NULL) expect_error(object, regexp=NA, info=info)
# equivalent
expect_equal_respData = function(a,b, info='equal re... |
ca6fb17fc15ffc95e53945cb4538b1257bf94b69 | fa5f321090b639cba2fe209e65fd86f91ab7c646 | /One Way Anova.R | 439936ddb8ff7b1294ccd73355aaff756dab728c | [] | no_license | Rothgargeert/Statistics | 18552d87c04f6ecaa8c5cb2a793008b1c36b88e5 | 97a9b667548eb3fbaebfa2774a67791dc7cd5f88 | refs/heads/master | 2022-12-22T11:39:29.503898 | 2020-09-27T21:54:26 | 2020-09-27T21:54:26 | 298,381,495 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 710 | r | One Way Anova.R | y1 = c(18.2, 20.1, 17.6, 16.8, 18.8, 19.7, 19.1)
y2 = c(17.4, 18.7, 19.1, 16.4, 15.9, 18.4, 17.7)
y3 = c(15.2, 18.8, 17.7, 16.5, 15.9, 17.1, 16.7)
scores = data.frame(y1, y2, y3)
scores
boxplot(scores)
scores=stack(scores)
names(scores)
scores
oneway.test(values ~ ind, data=scores, var.equal = T)
grades=c(18... |
a676f94f5af6888c954e887e208de6371490506c | 92cf9455c7a46a4a35d747bf7b42124a1d2054ee | /archive/predict_quality.r | 72d7ebfcd0f9d499afcd911e6e6b8b160318d14d | [] | no_license | JavierQC/spatcontrol | 551cb820f397dfcb0461d9fbf7306aeb32adf90a | a3e77845d355b2dee396623b976e114b9a89c96e | refs/heads/master | 2020-12-31T06:32:10.711253 | 2015-02-24T13:09:18 | 2015-02-24T13:09:18 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,201 | r | predict_quality.r | ## use estimates from visualize_sampler.r and other analyses before in full_sampler.r
## to evaluate the quality of the prediction
# in case reloading
library("LaplacesDemon")
library("binom")
# library("truncnorm")
# library("realtimeadapt")
source("morans_functions.r")
source("spam_complement.r")
source("DeltaSampl... |
db776263cb6c2992ea979143118f39f258bc63da | 1d80ea56e9759f87ef9819ed92a76526691a5c3b | /man/eta_squared.Rd | 079cd62270d4435d369724059c0f93ec6e3f2d9a | [] | no_license | cran/effectsize | 5ab4be6e6b9c7f56d74667e52162c2ca65976516 | e8baef181cc221dae96f60b638ed49d116384041 | refs/heads/master | 2023-08-16T21:23:58.750452 | 2023-08-09T18:40:02 | 2023-08-09T19:30:51 | 236,590,396 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 14,330 | rd | eta_squared.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/eta_squared-main.R, R/eta_squared_posterior.R
\name{eta_squared}
\alias{eta_squared}
\alias{omega_squared}
\alias{epsilon_squared}
\alias{cohens_f}
\alias{cohens_f_squared}
\alias{eta_squared_posterior}
\title{\eqn{\eta^2} and Other ... |
ecfd407e3a8209324ca878b980548f29cabca4ce | 792db68cb166df96f92b841bb0a86c4bd1d536d2 | /Practica1_Tipos_de_Datos.R | 845b79323fe24186e86ded64e7aea607de8a668a | [] | no_license | AllanZamb/ProcesamientoR | 74ac7524d8b8e9563827c3b5e8d7d25ae1c01d61 | 3a5e29b0c7fbc6a35ca71846e89caaa1b008dcd7 | refs/heads/main | 2023-03-06T22:20:01.317589 | 2021-02-06T04:48:10 | 2021-02-06T04:48:10 | 316,684,351 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,766 | r | Practica1_Tipos_de_Datos.R | ################################################################################
######################## PRACTICA 1 ############################################
################################################################################
#5 Tipos de variables (atómicas)
#Tipo de dato Char
variable_char ... |
2f8f741673b461e2a705ed2e91d0fafa4d5f5923 | f00aaebc35b9ef286144e4196b6030e99bf90eac | /RepData_Assignment1.R | 0053bba1dc687d03d25aa20f741edc1ae209c320 | [] | no_license | bgourley001/RepData_PeerAssessment1 | 1fc9a631dad5d112636bb7c1356b808f2be2f0be | 2f8851702ffdbbabeafaf51c5b06314f818b5493 | refs/heads/master | 2021-01-17T22:39:31.082155 | 2015-09-20T14:15:07 | 2015-09-20T14:15:07 | 42,353,669 | 0 | 0 | null | 2015-09-12T10:46:24 | 2015-09-12T10:46:23 | null | UTF-8 | R | false | false | 5,742 | r | RepData_Assignment1.R | #RepData_Assignment1
#local working directory : I:/Coursera/ReproducibleResearch/Assignment1/RepData_PeerAssessment1
#load required libraries
library(dplyr)
library(ggplot2)
############################################################################################
# Loading and preprocessing the raw data
#########... |
a7a7d128c23857318fca2c67efd6fc62140911be | 2ad8752dbe37a0c086225179a928b6e6f8eac9f6 | /man/hsoutput_mature.Rd | a9734aa371120d3f9c9a12e0748aaee3ec9b7ec7 | [] | no_license | robschick/pcodData | 3a443291e13d5f44ea5fc05d318e36b99599e4c4 | 01464f458b3f002e38540a8fcff196940148f51f | refs/heads/master | 2020-05-19T19:00:54.942975 | 2014-09-26T14:52:41 | 2014-09-26T14:52:41 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 432 | rd | hsoutput_mature.Rd | % Generated by roxygen2 (4.0.1.99): do not edit by hand
\docType{data}
\name{hsoutput_mature}
\alias{hsoutput_mature}
\title{Making the parameter data frame for Adults}
\format{Data frames with columns
\describe{
\item{hsoutput_mature}{2 element list containing:}
}}
\source{
Interim PCOD Report
}
\usage{
hsoutput_matur... |
bfc3784ce3d20dff70b8eadd6c1ea7c75f8b0ef0 | 7d2e9fd024e7c2a7c3ab76f48a85289bc5c03bf7 | /man/choose_directory.Rd | eee6f36432ec2dbfa9803439b340b0cc7560f65d | [
"Zlib"
] | permissive | joshrud/phenoptrReports | a9a83cee7e0e88890e50c9ce21463f1205384aae | 011d22b60907891b50fe809d6b0d46f8dcaf0d5c | refs/heads/master | 2023-06-17T20:52:53.385375 | 2021-06-14T17:57:00 | 2021-06-14T17:57:00 | 383,900,401 | 0 | 0 | Zlib | 2021-07-07T19:07:05 | 2021-07-07T19:07:05 | null | UTF-8 | R | false | true | 495 | rd | choose_directory.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utilities.R
\name{choose_directory}
\alias{choose_directory}
\title{Cross-platform choose directory function.}
\usage{
choose_directory(caption = "Select folder", default = "")
}
\arguments{
\item{caption}{Caption for the choose directory dia... |
0ea7f53e0412357285e2d42057177b160754e7e1 | c680baed6d12f912c36566950c6a5fa17a050c8b | /man/plot.SpherEllipse.Rd | c219d6f41113787700d528c22049a30b74ee6f3f | [
"MIT"
] | permissive | butwhywhy/amsstats | 81b1e93547d1c3ba83a7c6c40cd55c91ceeb7c95 | 7dbfdeb130c6a4d9ca7477413867e790c761f4ed | refs/heads/master | 2021-01-25T08:59:57.880965 | 2014-11-25T23:20:20 | 2014-11-25T23:20:20 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 828 | rd | plot.SpherEllipse.Rd | % Generated by roxygen2 (4.0.1): do not edit by hand
\name{plot.SpherEllipse}
\alias{plot.SpherEllipse}
\title{Plot spherical ellipse}
\usage{
\method{plot}{SpherEllipse}(x, npoints = 200, add = FALSE,
line.col = "red", ...)
}
\arguments{
\item{x}{An SpherEllipse object}
\item{npoints}{The number of points to be plo... |
3ad8d1594b9fddf8c995d55da9b5b8b09e479aa7 | bd44a15f665ac668840b56a9f5d381320ff1099c | /R scripts/Beta diversity distances.R | 4196206fc1a0398d208ce4705cd47571caef238a | [] | no_license | Lina-Maria/Cross-over-diet-study | 70458ec4b576209bea12b478a01163d50b8f742c | bef6af2ce458b41952333cd65881fef6a4eca1e5 | refs/heads/main | 2023-04-17T23:04:36.971299 | 2021-04-29T09:47:38 | 2021-04-29T09:47:38 | 362,365,003 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,593 | r | Beta diversity distances.R | ## Load packages
library("vegan")
physeq
#phyloseq-class experiment-level object
#otu_table() OTU Table: [ 361 taxa and 177 samples ]
#sample_data() Sample Data: [ 177 samples by 21 sample variables ]
#tax_table() Taxonomy Table: [ 361 taxa by 6 taxonomic ranks ]
# Correct order for plot
testphy... |
92ec0fd05a60e08f89b134c174453a7bbfe9e771 | 04b415c17895e4a59aaaef9e9766d1f78514d884 | /week4/exp4/r_script_data/exp_4.r | a4b62c41d11eda7c55cbca52ba7da30a57f3bacb | [] | no_license | kaiiam/Spiekeroog_biogeo | ffdb7267a254d73e47b5e9b184c71ca8498f0b45 | d12c7f11567eb9dbe6bd7c582d9987cd43553976 | refs/heads/master | 2021-11-10T11:27:57.369944 | 2017-10-11T08:07:52 | 2017-10-11T08:07:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,133 | r | exp_4.r | library(dplyr)
library(ggplot2)
setwd("/home/kai/Desktop/grad_school/marmic/lab_rotations/rotation_3/Spiekeroog_biogeo/week4/exp4/r_script_data")
mydata = read.csv("exp_4_data.csv")
#add column for time in hours
mydata <- mutate(mydata, time.hours = time.minutes / 60)
#viewing the data
names(mydata)
head(select(myd... |
72373cc4e867dcd6c419121d64a8f656dee2d03d | ac0b9658e132785845bbdd41430972639ad08e01 | /src/data-preparation/data-preparation.R | 0398875a21a8bee532d28d9666bf1f8fa7fd90b1 | [] | no_license | Albirizzu/dPrep-Team-Project | d295c6013295a2164c6c4742c03764e516636335 | 747f9b9e25217c683fc6b0ae7a7d274eda62926e | refs/heads/main | 2023-07-28T21:12:08.576934 | 2021-09-30T08:33:33 | 2021-09-30T08:33:33 | 406,716,276 | 0 | 0 | null | 2021-09-15T16:28:46 | 2021-09-15T10:28:53 | null | UTF-8 | R | false | false | 1,867 | r | data-preparation.R | # Loading and inspecting data
install.packages("RCurl")
library (RCurl)
Venice_cvs <- getURL("https://docs.google.com/spreadsheets/d/1HYUZRLB7-KCr5jwXQnl3OH4KSReK1HO9LmKbU7f3V5c/edit#gid=402527890")
Venice_data <- read.csv (text = Venice_cvs)
View(Venice_data)
summary(Venice_data)
# Data cleaning and transformation
... |
037816f5f8ad538c066d0dfc473f34a06ea11137 | 2f8eadc3086c263afdf2784e229f7e80a7dcf49e | /RMark/man/RDSalamander.Rd | 9967d3dce2006c9cf10d01773ced967f9a9e1919 | [] | no_license | wchallenger/RMark | 3edb66cbc924fbc37feaa53d22d99e8ac83ee47a | 636a3a7a6c5ab5292c3a249a1b41dab580dda8ba | refs/heads/master | 2021-01-17T22:35:11.482847 | 2012-01-27T17:16:51 | 2012-01-27T17:16:51 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,354 | rd | RDSalamander.Rd | \docType{data}
\name{RDSalamander}
\alias{RDSalamander}
\title{Robust design salamander occupancy data}
\format{A data frame with 40 observations (sites) on the following 2
variables. \describe{ \item{ch}{a character vector containing the presence
(1) and absence (0) with 2 primary occasions with 48 and 31 visit... |
13784a876bd5c6fcf33675e8bb9c4834f0a30d80 | f30cc1c33978ca5a708a7e0a493403ea88550160 | /man/unmask.Rd | 48310ab9379231774684ac709599d5495470e38a | [] | no_license | natverse/nat | 044384a04a17fd0c9d895e14979ce43e43a283ba | 1d161fa463086a2d03e7db3d2a55cf4d653dcc1b | refs/heads/master | 2023-08-30T21:34:36.623787 | 2023-08-25T07:23:44 | 2023-08-26T19:02:50 | 15,578,625 | 35 | 10 | null | 2023-01-28T19:03:03 | 2014-01-02T07:54:01 | R | UTF-8 | R | false | true | 2,084 | rd | unmask.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/im3d.R
\name{unmask}
\alias{unmask}
\title{Make im3d image array containing values at locations defined by a mask}
\usage{
unmask(
x,
mask,
default = NA,
attributes. = attributes(mask),
copyAttributes = TRUE
)
}
\arguments{
\item{x}... |
116c108cd51c9fa614e5f5aaeef1e1d9159580bf | 84240a9971b57cacae701280f4d3d07469ff6783 | /R/PISA Scores by Country.R | 65b8a57b20ff89f5718a0acc6556e268252ddd05 | [] | no_license | jbryer/EPSY530Summer2014 | 2b6a63687bf53a24109a39496d8f73c3301c88f2 | 6cac8fb69c0ca2cf3503fff046ac3b91e6b75516 | refs/heads/master | 2020-06-04T13:43:57.818214 | 2014-06-23T14:47:30 | 2014-06-23T14:47:30 | 15,768,590 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 247 | r | PISA Scores by Country.R | require(psych)
str(pisa)
table(pisa$CNT)
tab <- describeBy(pisa$math, pisa$CNT, mat=TRUE, skew=FALSE)
View(tab)
head(tab)
ggplot(tab, aes(x=group1, y=mean)) + geom_point() +
coord_flip() +
scale_x_discrete(limits=tab[order(tab$mean),]$group)
|
38ef256c24ea39e69cd690eb0f57fe5a103ab800 | 46bc7ea33ea9e68f8df89c029fbad8d1f64b0022 | /age-vs-mean-word-length.r | 99df18baf5437b8e549cfd5101e5af07737321fe | [] | no_license | LeandroLovisolo/ITH-TP1 | 74089463e544deb63f9b1fa904e43324f24961e0 | b83537b412622ba6b648658d1960d2e476ff2142 | refs/heads/master | 2021-01-25T05:11:19.694864 | 2012-11-07T23:43:04 | 2012-11-07T23:43:04 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 290 | r | age-vs-mean-word-length.r | #!/usr/bin/env Rscript
data = read.csv("statistics/age-vs-mean-word-length.csv")
age = data[,1]
mean_word_length = data[,2]
cor.test(age, mean_word_length)
pdf("plots/age-vs-mean-word-length.pdf")
plot(age, mean_word_length, xlab="Age", ylab="Mean Word Length")
|
bdface9f3dd1a5b724bd611b139d6ccc408cc908 | 1af7c5ac10271caca700e1c08bedbf7d0a654ecb | /calc.boiling.T.R | 6eab168931bd64dbc7a1924df5be4bb3b85fccc7 | [] | no_license | seihan/vlecalc | 2548e84e1c959fb7c316fa4acecefc9353119997 | 53f1b6251733f77b16a5fe0ef4ca2a263e3f68ab | refs/heads/master | 2021-06-08T07:10:56.052893 | 2019-04-25T08:47:28 | 2019-04-25T08:47:28 | 57,040,317 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 180 | r | calc.boiling.T.R | calc.boiling.T <- function (Substance, P){
Substance <- sub.check(Substance)
temperature <- Antoine.T(Substance[1,2], Substance[1,3], Substance[1,4], P)
return(temperature)
} |
5c71eb588ed413ba534e5484f98b20e64e5d7cdb | cbe44f0dca20bba077801c4b14cf8c64d5b7d352 | /R/stage-014-technically-correct-weather-single-dataframe.R | 1f9cc51823ff0ba79823cdf40b97a7deda7ca8b1 | [] | no_license | s1888637/weathr | 1ced821f4bec8bf39cb38123960d9b59d3cc80d0 | 3adfd7fd3149ee2b8a2f32577d6ed5695b7450b4 | refs/heads/master | 2020-05-29T19:49:21.974074 | 2019-06-05T19:15:26 | 2019-06-05T19:15:26 | 189,339,729 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,936 | r | stage-014-technically-correct-weather-single-dataframe.R | library(readr)
library(tidyr)
####################################################
# #
# EXPORTED FUNCTION #
# #
####################################################
#' stage_014
#' @export
s... |
7909095daa475fb013613a0027b3fc6238caeb55 | abe81c69f28a487d9d638e88bc82a180659eb511 | /main.R | d3b28767863081d77230212bd462b9f07048d737 | [] | no_license | fkoh111/fetcher | d84d61ff97f149343b6c0cf3a55dc0987f5df603 | 580fa1f201bf698f92c7e0831c1456528987a841 | refs/heads/master | 2021-09-10T15:57:08.303763 | 2018-03-28T23:07:43 | 2018-03-28T23:07:43 | 115,722,651 | 0 | 0 | null | 2018-03-04T11:31:49 | 2017-12-29T12:58:30 | R | UTF-8 | R | false | false | 4,494 | r | main.R |
fetcher <- function(user, verbose = TRUE, path = NULL){
# Fetches Twitter followers data from accounts having more than 90.000
# followers whilst dealing with rate limits in an automated manner.
#
# Args:
# user: takes a Twitter username or a user id.
# path: takes a path to a chosen output folder for temporary file... |
dd4b2f85f2e9784f049cb97eb50299edd4d8f7ee | 72279a412260a94bdf5ae70db4cea2e153689331 | /ForageFishModel/Misc/LifeHistoryTraits.R | a659747457f0ccf22a5e0cb052a3ccd5a5585627 | [] | no_license | koehnl/Seabird_ForageFish_model | 21b599eef6e5c4d143c2e21f2bf41148434eb691 | 54a105bf03eda27e4b6214208e7a3bd733de5207 | refs/heads/main | 2023-03-21T18:01:37.217260 | 2021-03-14T23:07:08 | 2021-03-14T23:07:08 | 344,362,258 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 867 | r | LifeHistoryTraits.R | library(rfishbase)
library(ggplot2)
library(plyr)
library(dplyr)
# maturity
# length_weight
# length_frequency
# reproduction
length_freq(species_list = "Sardina pilchardus",limit = 200)
lw <- length_weight(species_list = "Sardina pilchardus",limit = 200)
plot(0:30,lw$a[1]*(0:30)^lw$b[1],type="l",
col = rainbow(... |
53077b6aae16f0016a61ba6b277f0629c7717b38 | 658168cca6aab960412edf481a5049113ce888ed | /section_9.R | 34063a4d2103a68209fbf5927870a93411b440ae | [] | no_license | equinn1/MTH420_Spring2019 | c93ab6f8085aaeddabf12c8bdf3fca13e95845d2 | 36b35817cdc194ad8512a15319fce244d365b2ff | refs/heads/master | 2020-04-16T09:04:44.877623 | 2019-03-11T16:58:24 | 2019-03-11T16:58:24 | 165,450,162 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 7,406 | r | section_9.R | rm(list=ls())
library(rethinking)
## R code 9.1
num_weeks <- 1e5
positions <- rep(0,num_weeks)
current <- 10
for ( i in 1:num_weeks ) {
# record current position
positions[i] <- current
# flip coin to generate proposal
proposal <- current + sample( c(-1,1) , size=1 )
# now make sure he loops around the ar... |
b1f1f47a82578313c48cb9af07a3c162d45a5ee0 | c32028bf0a547b050c48250d8b024b4b1f344f19 | /annotFunctions.R | 3d4867585f5e40c5c3309f1de4b3249553a52a06 | [] | no_license | markdunning/build-annotation-packages | dd45f852ae9a5a5a70eb8cba7dfb9030c0150d1f | e6dbd0c7113c56af1b2e212528461884c56bdea6 | refs/heads/master | 2016-09-05T18:27:24.125648 | 2014-10-13T08:29:43 | 2014-10-13T08:29:43 | 14,106,917 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,066 | r | annotFunctions.R | AddNewBimap = function(file, name, Index, prefix){
cmd = paste(prefix, toupper(name), " <- createSimpleBimap(\"ExtraInfo\", \"", Index, "\",","\"", name, "\"",", datacache, \"", toupper(name), "\",", "\"",prefix, ".db\")\n",sep="")
cat(cmd, file= file, append=TRUE)
cat("\n", file= file, append=TRUE)
}
insert... |
5831da9b28354421235d27752e7a2bcdfc9ef9fa | 9aafde089eb3d8bba05aec912e61fbd9fb84bd49 | /codeml_files/newick_trees_processed/8156_0/rinput.R | 4d4ed9b37460569c19b2a1e77ac0dca39173afe5 | [] | no_license | DaniBoo/cyanobacteria_project | 6a816bb0ccf285842b61bfd3612c176f5877a1fb | be08ff723284b0c38f9c758d3e250c664bbfbf3b | refs/heads/master | 2021-01-25T05:28:00.686474 | 2013-03-23T15:09:39 | 2013-03-23T15:09:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 135 | r | rinput.R | library(ape)
testtree <- read.tree("8156_0.txt")
unrooted_tr <- unroot(testtree)
write.tree(unrooted_tr, file="8156_0_unrooted.txt") |
c7fcf05ccd882b651ffb091afd9d880d6101891b | b87fb6524eff9b18c8561879b683da1569ccb6c5 | /Project_2_Forecast_Sales/mymain.R | 7468196ccf96fd947fd2f17cfdb8abdf62142c83 | [] | no_license | HongfeiLi365/Statistical-Learning-Projects | 90df77b5df667f582792a49630b45d1b0f0fff69 | 19d1857a6fca4305a32cc03ca9b8490b69aaf9e2 | refs/heads/master | 2022-04-14T08:56:21.891167 | 2020-04-12T01:27:55 | 2020-04-12T01:27:55 | 254,976,460 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,011 | r | mymain.R | library(forecast)
library(lubridate)
#==================== functions ========================
# --------------implement missing value-----------------
addmiss=function(train){
exi_record<-table(train$Dept,train$Store)
exi<-which(exi_record!=0, arr.ind=TRUE, useNames = FALSE)
exi_s<-unique(train$Store)
for (i... |
bfff7ad13003bba118d42e68045f883d87e83657 | d20eb97ae85f9d05905de61ff6b89dd2c21eeeb9 | /tests/testthat/test.SystemMetadata.R | 24e2d5b505e4a75c7c0f4dc4cc19966afde1372e | [
"Apache-2.0"
] | permissive | ropensci/datapack | 2967656b8e6342f84f9f0c8cf157dc54e8276c91 | 30d3be8b618f2c52d25c356e97680000feb101c9 | refs/heads/main | 2022-06-17T20:32:21.421341 | 2022-06-09T21:03:40 | 2022-06-09T21:03:40 | 23,672,990 | 35 | 13 | null | 2022-06-08T19:06:46 | 2014-09-04T17:53:33 | R | UTF-8 | R | false | false | 10,910 | r | test.SystemMetadata.R | sysmeta_test <- system.file("testfiles/sysmeta.xml", package="datapack")
sysmeta_test2 <- system.file("testfiles/sysmeta-v2.xml", package="datapack")
sysmeta_repfalse <- system.file("testfiles/sysmeta-v2-repfalse.xml", package="datapack")
sysmeta_repfalse_zero_reps <- system.file("testfiles/sysmeta-v2-repfalse-zero-rep... |
f5e37ec94fd13fa79bfbf7d205250dbadec70c70 | 192dd0acad8c23498f5463c0ecec5fec08ab644b | /Course 4/Week 1/Proyect/Plot3.R | fd2c6caf86a09245d309c46c482e8c82a794d67d | [] | no_license | tafuenza/R-Course | adf8606a0fcfa4206813076cd9597d0c7d5af7ea | 6bc7a0f41f206d13fa6a5aee49bcaf184900d128 | refs/heads/master | 2020-09-21T09:37:34.025642 | 2020-06-05T20:38:16 | 2020-06-05T20:38:16 | 224,723,819 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 943 | r | Plot3.R | {data <- read.csv("household_power_consumption.txt", sep = ";", colClasses = c("character","character", "numeric", "numeric","numeric","numeric","numeric","numeric","numeric"), na = "?")
hpc <- data
hpc$datetime <- paste(hpc$Date,hpc$Time)
hpc$datetime <- as.POSIXct(hpc$datetime, format = "%d/%m/%Y %H:%M:%S")
hpc <- hp... |
6e177fc45d212346d1e71891d05ac12790ff245c | c44f4c0b63dac61a27fb2bad060cf97023eba256 | /R/plots.R | f19c67a57903f437bff984d0dd939b691275ec41 | [
"MIT"
] | permissive | migstats/radshiba | c06c5b0b92de5efd29302fdd61dfb7b0c850fd85 | ee33df023a919552dea8204a6ab7d0345188b96f | refs/heads/master | 2020-04-15T05:50:57.696323 | 2019-11-06T17:06:25 | 2019-11-06T17:06:25 | 164,439,177 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 294 | r | plots.R | #' Simple density plot function
#'
#' @param column Name of the column
#' @param alpha Alpha parameter for ggplot
#'
#' @export
dens <- function(column, alpha = NA){
ggplot2::ggplot(data.frame(a = column), aes(x = a)) +
ggplot2::geom_density(alpha = alpha) +
ggplot2::theme_light()
}
|
d1f83dbf489c08421e02c701025c1945c6c0da19 | 642de25bfc8f2d645253a6fa1717a859d6a78142 | /data-raw/R/lemis_cleaning_functions.R | b86e8504d23e494b1b6c1cca99ec3bc50c7a3596 | [
"MIT"
] | permissive | ecohealthalliance/lemis | cbe17b9f58db22847926ffb5c1f37261ebccdc38 | b41d2a2efc69996743face410d6f70102bbc87bf | refs/heads/master | 2023-07-26T07:38:47.083130 | 2023-07-17T17:18:43 | 2023-07-17T17:18:43 | 123,156,000 | 13 | 0 | NOASSERTION | 2019-09-23T17:25:20 | 2018-02-27T16:23:15 | R | UTF-8 | R | false | false | 2,276 | r | lemis_cleaning_functions.R |
compareNA <- function(x1, x2) {
# This function returns TRUE wherever elements are the same, including NAs,
# and FALSE everywhere else
same <- (x1 == x2) | (is.na(x1) & is.na(x2))
same[is.na(same)] <- FALSE
return(same)
}
# Function to clean the intermediate LEMIS dataset fields given valid codes
get_c... |
3f2cd485f7af27ce29fbc1ddf7a338b5e2f4acf7 | 4f192390c49aaa98685335c4280ddd5fb14d279d | /app.R | 6c4efb2d96cb574a0d3e90cf8661b2fe0a322e02 | [] | no_license | samLong3217/info200finalProject | d4db3125ca3522d311cf9312985a200f59957441 | 8d88a67d68f84112c3947b7be4dfa4191c9cb68d | refs/heads/master | 2020-04-28T03:00:12.243506 | 2019-03-13T19:37:33 | 2019-03-13T19:37:33 | 174,919,553 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 234 | r | app.R | library("shiny")
library("ggplot2")
library("tidyr")
library("reshape2")
library("stringr")
library("maps")
library("RColorBrewer")
library("rsconnect")
source("my_ui.R")
source("my_server.R")
shinyApp(ui = my_ui, server = my_server) |
38ae50f6fbba86ce48b0514fa7035e2d515a1c14 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/dst/examples/shape.Rd.R | a5a02021d7dbf934427ca9bcb0b3f41b6915cc80 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 219 | r | shape.Rd.R | library(dst)
### Name: shape
### Title: Obtain dimensions of an array or length of a vector with a
### single command
### Aliases: shape aplShape
### ** Examples
shape(array(c(1:6), c(2,3)))
shape(c("a", "b"))
|
c776efe791dd931145476081108b5abe003e29c5 | ffd9931bdb081b5fe4f5ebc1208d81af99185c31 | /cachematrix.R | dc785f15c01c6706a06161c80b69043458d54b4c | [] | no_license | walcob/ProgrammingAssignment2 | b0f9410c55e39369d96f9c43c8c929d21c08d5ce | 23fa729d857af3f4f4d1b9928079725a680439d8 | refs/heads/master | 2021-08-08T07:39:33.825908 | 2017-11-09T22:09:22 | 2017-11-09T22:09:22 | 110,169,380 | 0 | 0 | null | 2017-11-09T21:42:22 | 2017-11-09T21:42:21 | null | UTF-8 | R | false | false | 1,154 | r | cachematrix.R | # This program takes a matrix as input and caches its inverse
# makeCacheMatrix stores the matrix as x and its inverse as inverse
# The get and set functions return and set the value of x, respectively
# getInverse and setInverse do the same for the inverse of the matrix
makeCacheMatrix <- function(x = matrix()) {
... |
d124ff99aa80249d26e3d80edf02fea90c8316b8 | bdcbc978d8635e19eedd67f8fb0b2867cd3cde95 | /man/cross_validation_logistic_auc.Rd | a4b0595626a2ff646bdb264102f96faefe68fc8c | [] | no_license | SMAC-Group/fpl | 4d542391c1d97d2a4444497fb227a5095b5dd471 | 1372025e3aa4661f5f010d885734b39dbe972256 | refs/heads/main | 2023-08-31T11:49:10.258414 | 2023-08-22T06:52:35 | 2023-08-22T06:52:35 | 330,690,039 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 602 | rd | cross_validation_logistic_auc.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RcppExports.R
\name{cross_validation_logistic_auc}
\alias{cross_validation_logistic_auc}
\title{Cross-validation for logistic regression with AUC}
\usage{
cross_validation_logistic_auc(X, y, seed, K = 10L, M = 10L)
}
\arguments{
\item{X}{a n ... |
927f123ec9e701aacf3a1b8d68193ccbd5605c7c | f5071dae06aa2e84a6514b3642b6890405bdf38c | /Code/Ejercicio5/Duncan.R | c62a30e1a2d817fedd5589319cc5aeaf272ecaf8 | [] | no_license | CristianPachacama/DisenioExperimental | 2be6075550474a39eea9a24898672912fe45a706 | 9b4b937a4234c1b46ba2f1e844342b3e69feda70 | refs/heads/master | 2020-04-12T09:16:52.522685 | 2018-12-19T07:36:18 | 2018-12-19T07:36:18 | 162,397,365 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 261 | r | Duncan.R | # Test de Duncan
source("Code/Ejercicio5/Anovas.R",local = TRUE)
p_valor=Anv$`Pr(>F)`[1]
if(p_valor<0.05){
verif = "rechaza"
dun = duncan.test(aov(modelo),trt = 'Molde')
dun2 = duncan.test(aov(modelo),trt = 'Catalizador')
}else{
verif = "no_rechaza"
}
|
be3e5246ca5842bde7d58310c60d3c086e747625 | efd4b12511648b1be471a367897b8bec545e3029 | /R/MOE.R | 47a9b0623766945375c9f6c3a2610e00c9a74711 | [] | no_license | freephys/RND | 9fdd595658c10498ec8b4f55d9ce7f05197cbf8f | f9287319b1b6c105c22b2f15ec0acd7e0268cc37 | refs/heads/master | 2020-03-07T11:54:14.878301 | 2017-01-10T23:14:55 | 2017-01-10T23:14:55 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,197 | r | MOE.R | MOE <-
function(market.calls, call.strikes, market.puts, put.strikes, call.weights = 1, put.weights = 1, lambda = 1, s0, r , te, y, file.name = "myfile")
{
###
### perform a basic check!
###
strikes = intersect(call.strikes, put.strikes)
if (length(strikes) < 10) stop("You must have at lea... |
e2d012583137496900b586514a9f7b6774af624b | 358c57a5a40607272997d8428390fb1a4b11b815 | /R/BivariateAssoc.R | 0f04015ff7107d5322f4b7ed6efa34ad1de34bbc | [] | no_license | nicolas-robette/moreparty | 6ae430db14c807b78077807b2fe6d8cc419d52b3 | ee447af5def57b964e523e108020b40e048b0df7 | refs/heads/master | 2023-08-10T18:41:29.628127 | 2023-07-20T22:28:49 | 2023-07-20T22:28:49 | 214,511,417 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,310 | r | BivariateAssoc.R | #' @importFrom stats as.formula chisq.test complete.cases cor lm
#' @export
BivariateAssoc <- function(Y,X,xx=TRUE) {
X <- as.data.frame(X)
xnames <- names(X)
xformats <- sapply(X,class)
yformat <- class(Y)
df <- cbind.data.frame(Y,X)
formule <- as.formula(paste('Y ~',paste(xnames,collapse='+')))
c... |
cb350f48880a3f109756ee0116a1f1f4cb514bb8 | 31b2e5ac58074082f4a63ab6ff94130c611cac51 | /man/proxistat-package.Rd | 7f5279cebd9158d091e9ce7f080a2de20b65c2ca | [] | no_license | ejanalysis/proxistat | 648bd956f350de27d06926a53ac10ce6ff3adf1b | 0fc0644bc649266a0d993307ab02ffaf1c99038c | refs/heads/master | 2023-06-08T00:22:45.596783 | 2023-05-31T02:07:27 | 2023-05-31T02:07:27 | 32,954,460 | 3 | 1 | null | null | null | null | UTF-8 | R | false | true | 3,724 | rd | proxistat-package.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/proxistat-package.R
\docType{package}
\name{proxistat-package}
\alias{proxistat-package}
\title{Find Distances between lat lon Points or Create Proximity Scores.}
\description{
This package has functions helping to calculate distances between... |
24b0fc89a8ba30ea7c7e21927741a46e5d5a8b44 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/TESS/R/tess.plot.output.R | 97ad365755bb2be0463a67b3dd9f92b2fdb3a99b | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | R | false | false | 7,020 | r | tess.plot.output.R | ################################################################################
#
# tess.plot.output.R
#
# Copyright (c) 2012- Michael R May
#
# This file is part of TESS.
# See the NOTICE file distributed with this work for additional
# information regarding copyright ownership and licensing.
#
# TESS is free softwar... |
9c5c1cb69d34cfc096384b5d8d8ab503bacbb102 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/XLConnect/examples/xlcFreeMemory.Rd.R | 540b86d34a52120d5ac42f31e1cd45978b639e84 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 180 | r | xlcFreeMemory.Rd.R | library(XLConnect)
### Name: xlcFreeMemory
### Title: Freeing Java Virtual Machine memory
### Aliases: xlcFreeMemory
### Keywords: utilities
### ** Examples
xlcFreeMemory()
|
32a9848625cd286567ba4e14475a97472af034a3 | 1dfea429b4ff19cd0673f5766a1bbac5904bba99 | /intro/lectures/week-10/10B-ancova.R | 3a79cf0e5236e684d1878907ee8e68b4e88f9a4c | [
"CC-BY-3.0",
"CC-BY-4.0"
] | permissive | andrewpbray/andrewpbray.github.io | e84dbf361dc7dfea45028bab64822be6b686b8e1 | aa930618a6f2aef8adc6dc0c1f2e58acf163273a | refs/heads/master | 2020-05-16T23:04:17.310343 | 2019-09-05T17:42:55 | 2019-09-05T17:42:55 | 23,562,269 | 0 | 5 | null | null | null | null | UTF-8 | R | false | false | 2,785 | r | 10B-ancova.R | ## ----setup, include=FALSE------------------------------------------------
library(knitr)
options(digits=3)
knitr::opts_chunk$set(echo = TRUE)
library(dplyr)
library(ggplot2)
library(oilabs)
library(openintro)
## ----getdata, echo = FALSE, message=FALSE--------------------------------
library(DAAG)
data(allbacks)
boo... |
b0dbb85bfc97727665ee5151a5202c242640d83b | dac4a8f2b14dbb92dd07e9ca9642410ae407a2f2 | /man/TransEntro.Rd | d972e5db44ae4244434e7185dfe5a1646e1d4271 | [] | no_license | dstgithub/GrpString | 0710f0b5d1e8a90ee1e94e5a2f6facb19bc48c97 | 45b4da9cc59c71ddb8b53d7b6753665b7ff960fe | refs/heads/master | 2021-01-12T03:26:45.555515 | 2017-11-15T21:40:25 | 2017-11-15T21:40:25 | 78,210,123 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,171 | rd | TransEntro.Rd | \name{TransEntro}
\alias{TransEntro}
\title{
Transition entropy of a group of strings
}
\description{
TransEntro computes the overall transition entropy of all the strings in a group.
}
\usage{
TransEntro(strings.vec)
}
\arguments{
\item{strings.vec}{
String Vector.
}
}
\value{
Returns a single n... |
3a64c53477fdda642cbfd5f8c9103aab44daa0ed | 1256464f6234f9a9ff380a4b4739142201655f36 | /man-roxygen/params_y.R | 2905fe31f696843569be32238707a3ecfbab611c | [] | no_license | hclimente/martini | 6dd8a6c13454e739171d82d51b82a133a22b3ee0 | 544b8dd6762f5ede704a9471b940dba258ede8ed | refs/heads/master | 2023-02-01T00:05:37.682562 | 2023-01-11T08:20:52 | 2023-01-11T08:20:52 | 87,456,798 | 4 | 2 | null | 2023-01-11T08:20:54 | 2017-04-06T17:31:13 | R | UTF-8 | R | false | false | 49 | r | params_y.R | #' @param y Vector of length n with the outcomes
|
7954dcd1a687a6664db96deaaeb606831d840269 | 905cc85395d13d94f24cd7aa4ec75bfd58fcb3f2 | /fog/get_random_feature.R | 6292894944ef9c97888a9eee93dc194c764948c7 | [] | no_license | iangow/bgt | 6a097475bceafbda6b0f4d84c169ea6885a51122 | 723ee89b98d0af20901c925fafab6eadf58be187 | refs/heads/master | 2023-06-04T18:35:57.250129 | 2023-05-16T18:04:49 | 2023-05-16T18:05:05 | 32,786,841 | 2 | 4 | null | null | null | null | UTF-8 | R | false | false | 1,460 | r | get_random_feature.R | library(dplyr)
library(RPostgreSQL)
pg <- dbConnect(PostgreSQL())
long_words <- tbl(pg, sql("SELECT * FROM bgt.long_words"))
set.seed(2016)
n_letters <- 3
get_regex <- function() {
the_letters <- sample(letters, n_letters, replace = FALSE)
the_regex <- paste0("^[", paste(the_letters, collapse=""), "]")
p... |
6fde116efcfef7edaf9d733b46b03125cb6d86a4 | 2b6e33c18ae217c5cfe90f8572aaeb7722aea5c0 | /problems/week-03-problem.R | 61136b4e4c6679180fec94194d0d138a15553a45 | [] | no_license | aifoss/edx-statistics-using-r | 8264804e6e748790f98fe87656c637d5041be3f7 | 82a270ad95dfc05f28f932ea970596bac15645a3 | refs/heads/master | 2021-05-11T21:05:09.974445 | 2018-01-14T19:24:02 | 2018-01-14T19:24:02 | 117,459,358 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,948 | r | week-03-problem.R | ################################################################################
## Source: edX
## Series: Foundations of Data Analysis
## Course: 1 Statistics Using R
## Week: Week 3
## Topic: Bivariate Distributions
## File: week-03-problem.R
## Date: 2016-02-21
#######################################################... |
38b850218a960d19a6e60a9d6f7480b66be943fd | fd26c120974a4666962ee6edef1724e5a8c60fe2 | /demo/Mu-traj-demo.R | a8fb1af7184f7f56b9bd50552fb11509199f7704 | [
"MIT"
] | permissive | htso/EM-Initialization-Algorithms | 70f6f57af0457f8502ca2d971d67dacaf8298892 | c5a31eddb1cc8e9e0b228b390451b2b5ea165049 | refs/heads/master | 2022-04-04T09:18:03.983031 | 2020-01-30T22:07:19 | 2020-01-30T22:07:19 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,437 | r | Mu-traj-demo.R | library(Hext)
library(InitExp)
data(simdat2fullcov)
dat.nm ="Fullcov"
simdat = simdat2.3
x = list(x=as.matrix(simdat), TT=TT)
class(x) = "Hext.data"
mtype = rep(5, NCOL(simdat))
p = c(0, 0, 0, 0, length(mtype))
Nruns = 5
K = 3
M = 5
maxit = 20
tol = 1e-01
var.reduct=0.5
spherical=TRUE
wdf=4
D = 0
system.time(mu.path... |
3f399983e450cad8ae98526de0760bf0cabbce30 | b2f61fde194bfcb362b2266da124138efd27d867 | /code/dcnf-ankit-optimized/Results/QBFLIB-2018/A1/Database/Kronegger-Pfandler-Pichler/dungeon/dungeon_i30-m15-u4-v0.pddl_planlen=25/dungeon_i30-m15-u4-v0.pddl_planlen=25.R | 19a87e05373d6885de7488e0a9b74a45cbdac264 | [] | no_license | arey0pushpa/dcnf-autarky | e95fddba85c035e8b229f5fe9ac540b692a4d5c0 | a6c9a52236af11d7f7e165a4b25b32c538da1c98 | refs/heads/master | 2021-06-09T00:56:32.937250 | 2021-02-19T15:15:23 | 2021-02-19T15:15:23 | 136,440,042 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 91 | r | dungeon_i30-m15-u4-v0.pddl_planlen=25.R | 63aab2e608c46c9813a64c9bfc9eac5a dungeon_i30-m15-u4-v0.pddl_planlen=25.qdimacs 27298 383102 |
a52da20ab24fe4effbd14fa8d31f74ee3fa1b976 | 01d4032c47ad24fbe7b3d31d760938fd0ab872c7 | /Training_R/MSE.R | adcae98a089af2bf1674158ef2fdcee5a971457f | [] | no_license | Filippini-Fiorentini/base_FF | df93a8b51d210e5bbeef4e03335d1161c0994f97 | 8655dbe038c36a866186279351924d20ecd39488 | refs/heads/master | 2020-03-08T16:44:52.374067 | 2019-06-27T09:07:56 | 2019-06-27T09:07:56 | 128,248,424 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 109 | r | MSE.R | MSE = function (y_pred,y_vec)
{
train_err = sqrt(sum((y_vec - y_pred)^2)/length(y_vec))
return(train_err)
} |
e764c2dd80748767e1bf79a42776dfbf12663c10 | 25bd099ac1e6dfebe39967b1d4ec041671dff997 | /final_project/run_analysis.R | fa3e09c240d63328581fcc8a5871aaa925f393e6 | [] | no_license | mattdturner/Coursera_Getting_and_Cleaning_Data | aa209cc15405ea1384cb611fedfc795164dde532 | 22d7366aa45a4a891e73ccee21700dffb9a344ef | refs/heads/master | 2020-12-24T06:41:37.745226 | 2016-07-20T05:10:33 | 2016-07-20T05:10:33 | 63,751,956 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,893 | r | run_analysis.R | # Getting and Cleaning Data
# Final Project
#
# Author: Matt Turner
# Date created: July 19, 2016
# Set the working directory to the project root
setwd("/Users/matthewturner/Desktop/School/Coursera/Getting_And_Cleaning_Data/final_project/")
# Load libraries
library(reshape2)
# Download the data and save into the dat... |
726fa67fb24244f6c086f837e7f4715f6260f0ec | 828f885e708e688126547cedbf41644a00662579 | /EXAMPLE DATA FRAME IN R.R | 5adfdaedf304ab07edf90285c4093e5b3cc12dc5 | [] | no_license | ElrondHubbard/squibbs | 5b41d62d2ca1586dedac2247d67dd93c8f56d881 | 063a8fef5bc14d96f880ed17285b4218714e51a7 | refs/heads/master | 2021-01-19T19:21:39.847693 | 2018-12-12T04:12:19 | 2018-12-12T04:12:19 | 83,724,465 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,116 | r | EXAMPLE DATA FRAME IN R.R | df <- data.frame(key=c('1', '2', '3', '4', '5'),
name1=c('black','black','black','red','red'),
type1=c('chair','chair','sofa','sofa','plate'),
num1=c(4,5,12,4,3),
name2=c('black', 'red', 'black', 'green', 'blue'),
type2=c('chair',... |
33ba078978b515a50be6acd687b7a3960c7a4666 | 76dbc1754d4fac81e75fc054858ba91f99b55b2d | /man/optimFit.Rd | 66e4b2c1d58671353b89311280a6ebbec94a08d6 | [] | no_license | dfeehan/mortfit | e51ac12507385bd9024e8109aa1a3eaea2895fb5 | 8dfd82e93fde1bf408dbe59eb004cc8694603f88 | refs/heads/master | 2021-01-18T00:00:39.351697 | 2020-11-08T16:23:12 | 2020-11-08T16:23:12 | 18,040,328 | 2 | 1 | null | null | null | null | UTF-8 | R | false | true | 311 | rd | optimFit.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fitmethod-optim.R
\docType{data}
\name{optimFit}
\alias{optimFit}
\title{fitMethod object for fitting via optim}
\format{fitMethod object}
\usage{
optimFit
}
\description{
fitMethod object for fitting via optim
}
\keyword{datasets}
|
bdcc71d2a043cdb516f7c6a4e5097a8da469422b | f35ab111a58687227e9516ccf9dfa3f9b3e2776e | /data-example.R | a18231456bfb134aaef7015a06bbdd62f8d3243b | [
"MIT"
] | permissive | sachsmc/twomediatorbounds | 07c5d97387ff29962ddb2ff7bf475393d8a46b9d | 0fdae48042429d5e0d940a42e45b710544158da7 | refs/heads/main | 2023-03-23T12:49:18.998633 | 2021-03-16T17:11:31 | 2021-03-16T17:11:31 | 348,327,901 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,117 | r | data-example.R | library(mediation)
library(ggplot2)
library(patchwork)
library(exact2x2)
data(jobs)
names(jobs)
boundsdata<-data.frame(trt = jobs$treat)
boundsdata$outcome <- 1.0 * (jobs$work1 == "psyemp")
boundsdata$M1 <- 1.0 * (jobs$depress2 > 2)
boundsdata$M2 <- jobs$job_dich
by(boundsdata, boundsdata$trt, summary)
con.probs <-... |
f851e22f924deffd494e26f15d2bbdeb89b646f0 | 049b6e37472c3d460bb30911cd7d470d563c612d | /tests/testthat/test-wrapper_get_ti_methods.R | 203c39424978bc1879b358ae67f83caa75c772f9 | [] | no_license | ManuSetty/dynmethods | 9919f4b1dc30c8c75db325b4ddcd4e9ada5e488b | 337d13b7a6f8cac63efdeb0d06d80cd2710d173d | refs/heads/master | 2020-03-21T11:34:35.406210 | 2018-06-24T20:25:50 | 2018-06-24T20:25:50 | 138,512,485 | 1 | 0 | null | 2018-06-24T20:16:12 | 2018-06-24T20:16:11 | null | UTF-8 | R | false | false | 1,105 | r | test-wrapper_get_ti_methods.R | context("Testing get_ti_methods")
if (Sys.getenv("TRAVIS") != "true") {
test_that("Descriptions can be retrieved", {
tib <- dynwrap::get_ti_methods(packages="dynmethods")
expect_that(tib, is_a("tbl"))
lis <- dynwrap::get_ti_methods(as_tibble=FALSE, packages="dynmethods")
expect_that(lis, is_a("list"... |
534518e73cba1f640a63a57448ebff7eb4076f40 | d25fe860092775b50e9714228c170e3e90f3454b | /run_analysis.R | 4d6950922cdafdab932b547695d503ba87e0599f | [] | no_license | mddan/data_cleaning_course_project | 8203797eb9dc0f3b5c1be3f4844eadc236e52d8d | ded800ef8cf12e2eccaf14c6185ee33d48f22e66 | refs/heads/master | 2021-01-22T03:12:57.261036 | 2017-09-03T22:05:44 | 2017-09-03T22:05:44 | 102,258,849 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,405 | r | run_analysis.R |
##Create new data folder, download assignment data and extract files to the relevant directory:
if(!file.exists("./data")){dir.create("./data")}
fileUrl <- "https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip"
download.file(fileUrl, destfile = "./data/Data.zip")
unzip(zipfile=... |
7ecdb6529a366703d300c886c82940e053241924 | 1fc02d5293e23639d667acc9c228b761478206e2 | /tests/testthat/test_LORDstar.R | 6a3f7f02890b5e0a3b802de75a9d855f531b0465 | [] | no_license | dsrobertson/onlineFDR | caf7fa9d6f52531170b3d5caa505a15c87d6db11 | 2e5a3eaf9cf85d2c04a587ad3dd8783f66435159 | refs/heads/master | 2023-04-29T11:25:12.532739 | 2023-04-12T10:30:23 | 2023-04-12T10:30:23 | 129,420,795 | 14 | 4 | null | 2023-04-12T10:33:39 | 2018-04-13T15:27:02 | R | UTF-8 | R | false | false | 3,095 | r | test_LORDstar.R | test.pval <- c(1e-07, 3e-04, 0.1, 5e-04)
test.decision.times <- seq_len(4)
test.decision.times2 <- rep(4,4)
test.lags <- rep(0,4)
test.lags2 <- rep(4,4)
test.batch.sizes <- rep(1,4)
test.batch.sizes <- 4
test.df <- data.frame(id = seq_len(4), pval = test.pval, decision.times = test.decision.times)
test.df2 <- data.fram... |
af40f32265a4cbc89885f3b71bc148ef6c9e509f | 607b31d18cd361c331135771e4ce2d796dfc16c4 | /man/runVEP.Rd | 177fe694d795895a6412001be5681d1965425901 | [] | no_license | mmm84766/slimR | 66f44045ab4ac1ebeaa13a8644ca379e6ca172f9 | 6c9d268576c11af27c5b98a5cad5a08ed6cd7253 | refs/heads/master | 2020-03-22T15:44:52.494556 | 2017-08-29T13:56:12 | 2017-08-30T09:17:45 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 905 | rd | runVEP.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/getVariationData.R
\name{runVEP}
\alias{runVEP}
\title{runVEP}
\usage{
runVEP(vepPATH = "/home/buyar/.local/bin/variant_effect_predictor.pl",
inputFileName, outputFileName = "VEPresults.tsv", overwrite = FALSE,
nodeN = 4)
}
\arguments{
\i... |
319f27eba540a67ef559669cf37a7397aa76a5d3 | 57cd918dd9c3a75e993682ece752714a79eb6dcf | /R/plot_hazard.R | d0c584bc3b2c646e7bf822f4f12e247ad9527e4d | [] | no_license | cran/vsd | 1495e4d3db0772192ff17f34d48c97ab5eff83a2 | d4410efb7857458321b53c0b297e44f78b08c355 | refs/heads/master | 2023-05-05T14:35:41.557493 | 2021-05-11T08:40:02 | 2021-05-11T08:40:02 | 366,436,976 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,562 | r | plot_hazard.R | # Generates hazard plot
plot_hazard <- function(surv, strata = NULL, size, ...) {
plots <- list()
if (is.null(strata)) {
# make a simple muhaz graphic
hazard <- muhaz::muhaz(surv$time, surv$status)
hazard_df <-
data.frame(
x = hazard$est.grid,
y = hazard$haz.est,
strata = ... |
0ae291cce86bbe80554076ed5347b7441e45f168 | bf071ab91a8293b10fb763bc4b8a69be85c54a81 | /test.R | 6bfaa734916b75d20ecf10fed6688830cf201a33 | [] | no_license | SuhruthY/RepData_PeerAssessment1 | 0de3f16ed2fe7e3213c5ad329ffc97c487054f87 | eb7c752f5a6bc03431fe7eab562308e602bf9b5f | refs/heads/master | 2023-01-07T22:51:52.340205 | 2020-11-10T12:06:13 | 2020-11-10T12:06:13 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,974 | r | test.R | library(dplyr)
library(ggplot2)
activity_data <- read.csv("activity.csv")
head(activity_data)
databydate <- activity_data %>%
select(date, steps) %>%
group_by(date) %>%
summarise(tsteps=sum(steps)) %>%
filter(!is.na(tsteps))
hist(databydate$tsteps, xlab="Total daily steps",
main="Frequency of... |
124c9840fde4c4d072a74eef65c04fa160e6c39f | b94dd703bc872656f020682956efa65b0f132bb6 | /Module - 3/Assignment 11.R | d0c0b78d368c27fbabd5a93f540bf17e3e2a35af | [] | no_license | nitinsingh27/DataScience-With-R | 5ba07d613d79f34b833dbf63327bca8c4ffc53a0 | 8d3f02a424aa1a34ffbfcf640c5bced3870c4c6d | refs/heads/main | 2023-06-11T19:21:08.895755 | 2021-07-12T14:46:30 | 2021-07-12T14:46:30 | 385,279,389 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,852 | r | Assignment 11.R | setwd("C:/Users/enerc/OneDrive/Desktop/data science/sessions/r_training")
getwd()
placement <- read.csv("Placement.csv",stringsAsFactors = T)
View(placement)
library(ggplot2)
# 1. Create a histogram for 'ssc_p' column:
# a. Assign as color 'azure' to the histogram.
# b. Set number of bins to 50.
# ... |
a3e5e07a55915b41ebfb3db9c679300a092f39e0 | 63c611251d99c2c9ff21d5b1ae08237e2d2385d6 | /Yelp_business_extraction.R | dc9a37852c47dee390fd22a5e6814a2c4716155e | [] | no_license | dknorr7/Dknorr | 81ea19f332f3d8658bd6ce1d8e20bfec59f1432b | dc023f4d948ee3692c69a3482351e3db12a21d16 | refs/heads/master | 2021-11-09T04:51:59.646427 | 2021-10-22T16:18:25 | 2021-10-22T16:18:25 | 32,331,560 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,038 | r | Yelp_business_extraction.R | library(pacman)
p_load(httr, tidyverse, ggplot2, remotes, yelp, yelpr, leaflet)
###Function to append results of yelp list, workaround from 50 result limit to original function
mykey <- "tXnlgw5ByJu6k5vzMKm82HiUUfgrYy7-xFG3BYon-BNFI__QxG2l-_z6q4V0_PgEaxLARajKHbjoXeF24wVNPUakSPeS9jhfuBGf5pSuaedJlT1uu8qUPNzT68R... |
2ba31f03e7b1fd013477bc712ddc4a9ff6c4a760 | b0c09959df30b73d953fa98b8bb6c10810fa080d | /man/plot_svf_vs_model.Rd | f406c2fb58b47f897b4862aa7258c7e036c1ba2b | [] | no_license | k-hench/fftidy | f325ed1aaefb9d0af395ef21acef387849f6a1f1 | a8c2cd364f1597de8612188bbe73cccd7d539d37 | refs/heads/master | 2023-03-15T11:02:11.998683 | 2021-03-05T16:37:54 | 2021-03-05T16:37:54 | 300,317,485 | 0 | 2 | null | null | null | null | UTF-8 | R | false | true | 416 | rd | plot_svf_vs_model.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ctmm_functions.R
\name{plot_svf_vs_model}
\alias{plot_svf_vs_model}
\title{function to compare variogram with a model fit (initial close up and total data range)}
\usage{
plot_svf_vs_model(variogram, mod, colors = clr_set_base, ...)
}
\descri... |
f2d27bb4663a6b5427827e62fd89c1d540558289 | ada9e72402a645606e60b939e64aedf10e6e8a4d | /slave_demographics.r | 6b231b3112d0b5557dd33098d7e85712465512d7 | [] | no_license | scollini/Final_project | 64abb5095fdd0e905f61f4c2317ed16f032bc025 | 2983affcce34d0a9402f37141970ea9901abde32 | refs/heads/master | 2020-05-19T14:22:24.026447 | 2016-01-27T00:13:51 | 2016-01-27T00:13:51 | 27,410,212 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,154 | r | slave_demographics.r | #Charts- I would like to show as many meaningful visualizations as possible for this project.
#This means including charts for various demographics: total population, children,
#mothers, gender, owner, and skills on each farm.
#I would also like to show these visuals on the 1793 map of Mount Vernon, either through
#... |
bceb2dce2ddbf39b983b6d163e18a7d2f70c0c1a | b3d595bd828e130d4bf05a2cd48ecf2dabc1591d | /BE_IT/CL-7/Part B - MLA/Assignment 8/Assignment 8.R | 2296821ce619cffb7dafd5b21fc63fc053051332 | [] | no_license | ImSahilShaikh/BE_IT_Assignments | efb741a166968acdb0e171e96422461309dd8ab1 | ee7f2a4a62b6df571f66cd73e8f7207d942d4982 | refs/heads/master | 2023-05-04T20:08:47.820384 | 2021-05-30T05:21:39 | 2021-05-30T05:21:39 | 171,018,974 | 3 | 5 | null | 2020-10-01T11:13:33 | 2019-02-16T15:31:55 | HTML | UTF-8 | R | false | false | 1,943 | r | Assignment 8.R | #Name : Sahil Shaikh
#Roll no: 43365
#Problem Statement: Principal Component Analysis-Finding Principal Components, Variance and Standard Deviation calculations of principal components.(Using R)
#importing dataset
df = read.csv("C:\\Users\\ImSahil\\OneDrive\\Desktop\\BE_IT_Assignments\\BE_IT\\CL-7\\Part B - MLA\\Assig... |
33a281b7493790481ba970381de0c0276cc602c3 | f9483bcbd9a14a2afe2b3b95c5591addac313e68 | /man/nsink_build.Rd | 8b5324288971285008fd1c4c9c37d3bc803a67cc | [
"MIT"
] | permissive | jhollist/nsink | 4851e82a06d251c1c3e1fae74d11665abd116451 | 8a61adaf5fa2b3d3bbfd122d6c1399661e126a1f | refs/heads/main | 2023-05-13T19:57:52.497188 | 2023-04-27T19:32:34 | 2023-04-27T19:32:34 | 190,607,176 | 5 | 1 | NOASSERTION | 2021-03-02T21:41:24 | 2019-06-06T15:40:51 | R | UTF-8 | R | false | true | 2,659 | rd | nsink_build.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/nsink_build.R
\name{nsink_build}
\alias{nsink_build}
\title{Build out required datasets for N-Sink}
\usage{
nsink_build(
huc,
projection,
output_dir = normalizePath("nsink_output", winslash = "/", mustWork = FALSE),
data_dir = normali... |
45ec7342345f6165a0789b65cae208975fb33fc6 | 4c0394633c8ceb95fc525a3594211636b1c1981b | /man/unnest.Rd | cbb6a55fef3cf6318c50330af077d89ca70bca23 | [
"MIT"
] | permissive | markfairbanks/tidytable | 8401b92a412fdd8b37ff7d4fa54ee6e9b0939cdc | 205c8432bcb3e14e7ac7daba1f4916d95a4aba78 | refs/heads/main | 2023-09-02T10:46:35.003118 | 2023-08-31T19:16:36 | 2023-08-31T19:16:36 | 221,988,616 | 357 | 33 | NOASSERTION | 2023-09-12T20:07:14 | 2019-11-15T19:20:49 | R | UTF-8 | R | false | true | 1,284 | rd | unnest.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/unnest.R
\name{unnest}
\alias{unnest}
\title{Unnest list-columns}
\usage{
unnest(
.df,
...,
keep_empty = FALSE,
.drop = TRUE,
names_sep = NULL,
names_repair = "unique"
)
}
\arguments{
\item{.df}{A data.table}
\item{...}{Columns t... |
240fdf4e6e79be14b9376069aa09f10310f4df76 | c03d2e18fb313ef2725be141b2d8242180fa0ffa | /cachematrix.R | 86cd98c29050bcda9ac4dee72bf99230508a859b | [] | no_license | Gpalominos/ProgrammingAssignment2 | 9e6f95244ea02b7401c7227a60afbf0881053066 | 096ff0699f3fd3f351548f2fa8a4b0ef097063a7 | refs/heads/master | 2021-01-14T11:17:19.111829 | 2015-05-22T02:04:05 | 2015-05-22T02:04:05 | 36,038,287 | 0 | 1 | null | 2015-05-21T21:29:40 | 2015-05-21T21:29:39 | null | ISO-8859-10 | R | false | false | 1,114 | r | cachematrix.R | ## These function try to use cache information to evoid recalculating inverse matrix operation
## The fist function create a list using a matrix with capability of call and store information
## the second one, inverse a matrix if it hasnīt done before.
## makeCacheMatriz function create a list with four functions usin... |
f9837d8f711695d5fd10211f0e78e81b67c9e299 | ac2263cddbcc4803dc7abbae04b439c11d120f9c | /B-spline ME with Bayesian Updating.R | 25935efa5b24f6d6770274ff2d9df7512613ad17 | [] | no_license | salmanjahani/B-Spline-Based-Mixed-Effect-Model-with-Bayesian-Updating | b6d77f610284f18f63743160be30a257f21946e4 | 91802d334c89ca6e663ecf896c41d45af05cd508 | refs/heads/main | 2023-01-01T22:51:28.939394 | 2020-10-20T06:09:54 | 2020-10-20T06:09:54 | 305,607,073 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,804 | r | B-spline ME with Bayesian Updating.R | #' Code for B-Spline Based Mixed Effects Model With Bayesian Updating
#' Simulation
list.of.packages <- c("Matrix","nlme","rootSolve","splines")
new.packages <- list.of.packages[!(list.of.packages %in% installed.packages()[,"Package"])]
if(length(new.packages)) install.packages(new.packages)
# Load the packages... |
4570049c6f71ab1ce9d03627decef557cc8982ab | bca9666a50085b37eb161286ab3f3c0d9e9c3396 | /ModularDataView.R | f5f028f35162706f7c0576916715fc756850b127 | [] | no_license | kdgosik/ShinyModules | c29d9cb8f9c1935718fa723e6c8d31f0d1fb6e33 | 851e52ef044576ed18854b7a4241a8f0df47c62d | refs/heads/master | 2021-01-19T21:31:55.248226 | 2017-08-17T16:40:08 | 2017-08-17T16:40:08 | 88,658,833 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,576 | r | ModularDataView.R | require(DT)
# MODULE UI
DataViewUI <- function(id) {
ns <- NS(id)
DT::dataTableOutput(ns("table1"), width = "100%")
}
# MODULE Server
DataViewServer <- function(input, output, session, data, data_out_name) {
output$table1 <- renderDataTable({
DT::datatable( data()
, rownames... |
24029e7eee0875afc5a53cc2e5aeceb041836c27 | abbcbc15352d486b89cece62d1b7ff4fbe36bf05 | /man/drive_auth_config.Rd | 83aa08513131b2df3f6b0f1b51b7182f2625da04 | [] | no_license | zuiaishuijiangui/googledrive | a58ce250be6af36901a729a5f0eaf7a25b09c554 | c05ee9f12f554c8453c13d13c163ab7b8016b488 | refs/heads/master | 2020-04-05T12:06:28.858799 | 2018-11-09T12:52:13 | 2018-11-09T12:52:13 | 156,858,854 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,453 | rd | drive_auth_config.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/drive_auth.R
\name{drive_auth_config}
\alias{drive_auth_config}
\title{View or set auth config}
\usage{
drive_auth_config(app = NULL, path = NULL, api_key = NULL)
}
\arguments{
\item{app}{OAuth app. Defaults to a tidyverse app that ships with... |
3a1a57665861d2d98ec94d54cffe27821d21bb19 | 002929791137054e4f3557cd1411a65ef7cad74b | /tests/testthat/test_checkChangedColsLst.R | e70726edf0dc4837deea9e43e31df4cd78f83a10 | [
"MIT"
] | permissive | jhagberg/nprcgenekeepr | 42b453e3d7b25607b5f39fe70cd2f47bda1e4b82 | 41a57f65f7084eccd8f73be75da431f094688c7b | refs/heads/master | 2023-03-04T07:57:40.896714 | 2023-02-27T09:43:07 | 2023-02-27T09:43:07 | 301,739,629 | 0 | 0 | NOASSERTION | 2023-02-27T09:43:08 | 2020-10-06T13:40:28 | null | UTF-8 | R | false | false | 1,206 | r | test_checkChangedColsLst.R | #' Copyright(c) 2017-2020 R. Mark Sharp
#' This file is part of nprcgenekeepr
context("checkChangedColsLst")
library(nprcgenekeepr)
library(lubridate)
pedOne <- data.frame(ego_id = c("s1", "d1", "s2", "d2", "o1", "o2", "o3",
"o4"),
`si re` = c(NA, NA, NA, NA, "s1", "s1"... |
0405ff199de24d69bdd33cdf9b3426b4296b0d69 | b6dcad580c1010d2eb8bbcd9a71eea98b12f1316 | /plot4.R | 1bedced8754199516380eaea23565cb530471940 | [] | no_license | Dave9/ExData_Plotting1 | 3ac2bf8ac230a5f37788fb9a5f0368d114a812fa | aee3339b890bb5d65d266b3d7a23b1913886a75b | refs/heads/master | 2020-12-14T07:34:43.520234 | 2016-03-07T01:12:41 | 2016-03-07T01:12:41 | 53,238,580 | 0 | 0 | null | 2016-03-06T05:01:18 | 2016-03-06T05:01:17 | null | UTF-8 | R | false | false | 2,169 | r | plot4.R | plot3 <- function() {
# Course Project Assignment #1 for Exploratory Data Analysis
# Plot #4 - Display 4 plots on the screen device and in a PNG file
#
# Using the Individual household electric power consumption Data Set and
# base plotting system, create plot4.R which produces plot4.png
... |
3cb28568f0efe05922dd305419b541a19c4ff134 | 95e1ac9ffeabf821f2ca809103240de470f40f85 | /man/getM.Rd | 3312f78e18c367ad0164a2056d259c8d357a3d90 | [] | no_license | arappold/docopulae | 6c7798475d75a459d192ff0a49a73fb40b12a902 | c7fa4da59637a2b8c26353b750a9f6cf6f8336d7 | refs/heads/master | 2020-12-29T02:31:56.954467 | 2018-10-26T10:05:53 | 2018-10-26T10:05:53 | 36,495,029 | 0 | 1 | null | null | null | null | UTF-8 | R | false | true | 486 | rd | getM.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/main.R
\name{getM}
\alias{getM}
\title{Get Fisher Information}
\usage{
getM(mod, des)
}
\arguments{
\item{mod}{a model.}
\item{des}{a design.}
}
\value{
\code{getM} returns a named matrix, the Fisher information.
}
\description{
\code{getM} ... |
530927d17c9407a97348764673c3715c863214ea | 4f46f3b0377a558f488bd2c035b2f5f09cce1e31 | /specalyzer-pkg/R/plot-vegindex-selection.R | b17b872c7fe56f431265234ee0ae474583f487c3 | [
"MIT"
] | permissive | alkc/specalyzer | d34ee95fc37188a0caeafc865d504adf239248bb | 2b7278d8020f2c4193ff9ce2f5ded66e7857f5be | refs/heads/master | 2021-07-09T21:27:37.300561 | 2021-04-15T21:07:44 | 2021-04-15T21:07:44 | 123,193,976 | 3 | 3 | null | null | null | null | UTF-8 | R | false | false | 2,967 | r | plot-vegindex-selection.R | #' @export
plot_vegindex_selection <- function(speclib_data, attribute,
attribute_type = c("continuous", "categorical")) {
# TODO: Add code for checking inputs
attribute_name <- attribute
attribute_vector <- get_attr_column(speclib_data, attribute)
vi_table <- calculate_all_... |
cb6b0c2b984c5e2626113f35b35e744a0c5b5bc3 | b22f245c479058ef8c3aff8ba24634efc7883ee7 | /cachematrix.R | afa2acfd30ef2f1f50c9d4f410c13fd9050da60d | [] | no_license | mailtoamol/R_Assignments | 0653dad5ac35560851868db6a4212144257191cc | 51783ae7b194a8a10786de03191d83452187340d | refs/heads/master | 2021-01-25T00:15:55.708801 | 2015-08-14T08:33:01 | 2015-08-14T08:33:01 | 40,647,970 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,144 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
## Write a short comment describing this function
makeCacheMatrix <- function(x = matrix()) {
matriX <- NULL
##Get the metriX passed as an argument to makeCacheMatrix function
getX <- function(){
x
}
##Get the value of me... |
af1a814b95e02ea463304eb8791cb55a4c5e1c1e | 1c5c79128576c2db64687e51f9c9cd8f8d14078c | /codes/2019_2020/20191021i28_schematy.R | 9c6081a332ecbd2353de3fde35a9616e8864d683 | [
"CC0-1.0"
] | permissive | lwawrowski/metoda-reprezentacyjna | 0076cf053d5b73b5460a929087bda1774c8fd88b | 4d9273ec03238d28d5faed52a0a88a5632c3c857 | refs/heads/master | 2021-06-01T22:28:53.083992 | 2021-02-24T08:44:15 | 2021-02-24T08:44:15 | 150,848,060 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,535 | r | 20191021i28_schematy.R | library(tidyverse)
library(readxl)
# wczytanie danych
obwody <- read_xlsx("data/obwody_glosowania.xlsx")
# uporządkowanie nazw kolumn
obwody <- janitor::clean_names(obwody)
# wybór obwodów losowania z Poznania
obwody_poznan <- obwody %>%
filter(powiat == "Poznań", mieszkancy != 0)
# losowanie proste
# losowanie ... |
74e0f132174701f607574725610fb9ea93d0ea62 | 2b106b4488e294b561de4cdd8492d5341229d6d4 | /man/ranger.Rd | 9de6ff00ccaa26b34cfcb9cd3ec6e538944a1dbb | [
"Apache-2.0"
] | permissive | ysnghr/fastai | 120067fcf5902b3e895b1db5cd72d3b53f886682 | b3953ad3fd925347362d1c536777e935578e3dba | refs/heads/master | 2022-12-15T17:04:53.154509 | 2020-09-09T18:39:31 | 2020-09-09T18:39:31 | 292,399,169 | 0 | 0 | Apache-2.0 | 2020-09-09T18:34:06 | 2020-09-02T21:32:58 | R | UTF-8 | R | false | true | 490 | rd | ranger.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/optimizers.R
\name{ranger}
\alias{ranger}
\title{ranger}
\usage{
ranger(
p,
lr,
mom = 0.95,
wd = 0.01,
eps = 1e-06,
sqr_mom = 0.99,
beta = 0,
decouple_wd = TRUE
)
}
\arguments{
\item{p}{p}
\item{lr}{lr}
\item{mom}{mom}
\ite... |
30a807e75548eaf313ae80e267414f793246f0e3 | 2c69da29d60c8bd420c4a1b17d76705d415556bd | /Test_APSIMOptim/APSIMRUN.R | 86ac024e861837b03bb2fae508b42931216e9cd0 | [] | no_license | para2x/APSIMOptim | caeb466a7096b4593c9a2dc28ce874e49d11f4bb | 76adc93eba6954eb5ef4e4777f5a14394b8d6b1a | refs/heads/master | 2021-08-08T16:13:57.640419 | 2017-11-10T16:54:32 | 2017-11-10T16:54:32 | 82,089,521 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 600 | r | APSIMRUN.R | library(APSIMOptim)
setwd("C:/Users/Para2x/Dropbox/Hamze Dokoohaki/Journal papers/Biochar module evaluation/R/APSIMOptimi_Package/Test_APSIMOptim")
############
apsimWd <- paste0(getwd())
apsimExe <- "C:/Program Files (x86)/Apsim77-r3632/Model/Apsim.exe"
apsimFile<- "BioMaize.apsim"
apsimVarL <- list("Soil/Water/DUL... |
8f755a1eb5619ba2dcd52cbaa7e6b6da1346b6df | a7ae7af44ba62843dba1e7619701a985de8d0a57 | /4. R Shiny/UCDP Violence Dashboard/ucdp-master/server.R | 60fa5595669bcfbc2d07dd9d01388890756e309e | [] | no_license | JavierParada/Code-examples | 8fa83e5919c06069ee33dc743b6b6642a9ca4011 | f99c547851a477e97660f1c7fa95661a07d173f5 | refs/heads/main | 2023-02-25T08:01:49.685266 | 2021-01-28T14:00:33 | 2021-01-28T14:00:33 | 316,000,639 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,143 | r | server.R | library(shiny)
library(dplyr)
library(leaflet)
library(DT)
shinyServer(function(input, output) {
# Import Data and clean it
bb_data <- read.csv("data/ged201.csv", stringsAsFactors = FALSE )
bb_data <- data.frame(bb_data)
bb_data$Latitude <- as.numeric(bb_data$latitude)
bb_data$Longitude <- as.numeric... |
144c5f8b8a156d660f332f4e188a55b0a780cc49 | 36ed081ddc26e031f41d5230f07e86578ee6f7f6 | /Membuat Fungsi (Latihan).R | a078946117a7e8c723ed02f6cd06fc419b8096f5 | [] | no_license | dededianpratiwi/Sintaks-R-Pengantar-Statistika-Keuangan | 04db2c2f0d3b1207ef287121bf1a8a2d02387428 | 682bf9b1d20658e768e5c7e8dd44523608d936ea | refs/heads/master | 2020-03-19T14:21:38.826727 | 2018-06-08T13:16:45 | 2018-06-08T13:16:45 | 136,618,836 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,692 | r | Membuat Fungsi (Latihan).R | ##Pengantar Statistika Keuangan 13 Maret 2018##
setwd("D:\\Kuliah\\Semester 6\\Pengantar Statistika Keuangan\\Syntax R") #membuat direktori file
#membuat fungsi
luassegitiga <- function(a, t){
luas = 0.5*a*t
return(luas)} #Return: perintah untuk mendefinisikan output fungsi tersebut}
#nama fungsi tidak da... |
86126516112010906295664a194b2a7e56547948 | 51fdd67d355df9ed4378bc86e432386edd31d4ca | /man/tableau_seq_gradient_pal.Rd | 49e356833eafd19c476db088ad026d2d491dece0 | [] | no_license | bobbbbbi/Data-Visualisation-with-ggplot2-ggthemes | f434c6dede486849236ddc26d6a31a3ee093ffe9 | 6ff7f1589b6199bf4c11ffde12b5fed9ceee4fce | refs/heads/master | 2020-06-19T08:08:40.380067 | 2017-05-01T00:02:28 | 2017-05-01T00:02:28 | 94,182,518 | 3 | 0 | null | null | null | null | UTF-8 | R | false | true | 962 | rd | tableau_seq_gradient_pal.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tableau.R
\name{tableau_seq_gradient_pal}
\alias{tableau_seq_gradient_pal}
\title{Tableau sequential colour gradient palettes (continuous)}
\usage{
tableau_seq_gradient_pal(palette = "Red", space = "Lab")
}
\arguments{
\item{palette}{Palette ... |
69f2b4b55af85deeaba9c044c2622d3469ce54b2 | d1740495f09bf08dd75a1596e9d7a372a2e2089d | /Stats Project/Time_Series.R | a7d00987466e7fa5d72d908fd59f696221e8a2a9 | [] | no_license | chetan1b29/portfolio | 827e8483d0f177d94037a181f7e0a306434915cb | cbd886558a07341d83b3345855daca30e77bdfad | refs/heads/main | 2023-04-27T08:33:13.414684 | 2021-05-26T20:36:05 | 2021-05-26T20:36:05 | 334,973,728 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,266 | r | Time_Series.R | library(fpp2)
library(car)
library(seasonal)
overSeas.df <- read.csv('D:/Chetan-PC/Stats CA2/OverseasTrips.csv')
names(overSeas.df)<- c('quarter', 'trips')
overSeas.ts <- ts(overSeas.df$trips,start=c(2012,1), frequency = 4)
str(overSeas.ts)
print(overSeas.ts)
autoplot(overSeas.ts)
ggseasonplot(overSeas.ts, year.labels ... |
42ad26c3e595eaca0bff069da52eef65a3ba3bf7 | 4275edb6be11534eb2f8e78d0eca9f82dfbcccfa | /reading in LAI.R | 88c4a44ff8544e7b5f16e79fee80be53b7350a7f | [] | no_license | davidjpmoore/Calloc_generalscripts | 12d60a2a186290c94f02013422b2ac54e1890cde | 2fe317d4e9807864c145fb06d36c4e047424a159 | refs/heads/master | 2021-01-18T11:29:03.569660 | 2016-02-11T21:37:51 | 2016-02-11T21:37:51 | 34,355,631 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,882 | r | reading in LAI.R | #reading in Andrew Richardson's LAI data
LAI <- read.csv("~/Downloads/LAI%20for%20ELI.csv")
View(LAI)
summary(LAI)
#converting Year into character value
LAI$chYear<-as.character(LAI$Year)
summary(chYear)
levels(chYear) #doesn't work to give range
#formatting year.decimals as r-friendly dates
library(lubridate)
Date <... |
15c8f029b098853fa824f6fede8d20f39d4ce70a | b99736b647a549de854a29b439a52d96d11f8a2f | /data.R | ec2b9939c084589a3cc70179c8100706a5f76e4d | [] | no_license | ices-taf/2015_had-iceg | 173064ea9518a5f76deca7e865a8df32ff2449a7 | df9c2ffb7306e82748052d58ed7160366d0d0447 | refs/heads/master | 2021-01-21T12:20:33.858943 | 2019-05-14T13:05:08 | 2019-05-14T13:05:08 | 91,788,709 | 0 | 1 | null | 2018-12-21T21:12:21 | 2017-05-19T09:17:13 | R | UTF-8 | R | false | false | 586 | r | data.R | ## Preprocess data, write TAF data tables
## Before: catageysa.dat (bootstrap/data)
## After: catage.csv, maturity.csv, survey_smb.csv, survey_smh.csv, wcatch.csv,
## wstock.csv (data)
library(icesTAF)
source("utilities.R")
mkdir("data")
## Extract tables
data <- extractData("bootstrap/data/catageysa.dat")... |
c8eeb90ef3053dfbe9ba9b42e00bd9bcb9b0e74c | 7afbb148ec11b3105aaead6bdd900f847e49eb18 | /tests/testthat/test-ratio.R | ba5aac5ce5e9fab45204e36ead13cb5238bd6a1d | [
"MIT"
] | permissive | tidymodels/recipes | 88135cc131b4ff538a670d956cf6622fa8440639 | eb12d1818397ad8780fdfd13ea14d0839fbb44bd | refs/heads/main | 2023-08-15T18:12:46.038289 | 2023-08-11T12:32:05 | 2023-08-11T12:32:05 | 76,614,863 | 383 | 123 | NOASSERTION | 2023-08-26T13:43:51 | 2016-12-16T02:40:24 | R | UTF-8 | R | false | false | 5,766 | r | test-ratio.R | library(testthat)
library(recipes)
n <- 20
ex_dat <- data.frame(
x1 = -1:8,
x2 = 1,
x3 = c(1:9, NA),
x4 = 11:20,
x5 = letters[1:10]
)
rec <- recipe(~ x1 + x2 + x3 + x4 + x5, data = ex_dat)
test_that("1:many", {
rec1 <- rec %>%
step_ratio(x1, denom = denom_vars(all_numeric()), id = "")
exp_un_1 <- ... |
3351e95d0efc16a22dfbb4e7d87f701eef4903f0 | 3d03079f7b15ad478109cb4b30e44d0a446be4f7 | /server.R | 16a926945cce9a2e6663cc11bac3047874a878d8 | [
"MIT"
] | permissive | wwzjustin/Verizon-Port-in-Number-File-Generator | 14dbd0cf2a1a54fee283e8628a9d506bcb0732c9 | af49b41c8f10ba0d729cd338af77888de14f3b63 | refs/heads/master | 2021-01-11T22:19:05.582799 | 2020-07-05T17:15:22 | 2020-07-05T17:15:22 | 78,946,445 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,827 | r | server.R |
# This is the server logic for a Shiny web application.
# You can find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com
#
library(plyr)
library(data.table)
library(shiny)
shinyServer(function(input, output) {
# input$file1 will be NULL initially. After the user selects a... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.